Linux - Reddit – Telegram
Linux - Reddit
751 subscribers
4.17K photos
207 videos
39.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Absolut Beginner: How to use CONFIGHZ1000 for a gameserver?

Good morning everybody. I am hosting a gameserver from home and Windows isnt cutting it despite very powerful hardware. After a lot of research it appears the way to go is Linux/ubuntu with a CONFIGHZ1000 Kernel.

While it appears straight forward to install Ubuntu, every documentation about how to use CONFIGHZ1000 seems to require some form of advanced knowledge that is way over my head to comprehend. Like compiling a kernel. Any advice or pointing fingers the right way would be appreciated. Thank you very much!

https://redd.it/ll0rud
@r_linux
Is it me, or is Libre Writer and Mendeley integration terrible?

Am I doing it wrong?

In my experience the Mendeley reference plugin for Libre Writer is absolutely terrible. In-text citations aren't too bad (but God help you if you want to save as .docx to collaborate with colleagues), but building a reference list is completely broken.

Is there a better way or better software for academic writing? At this point I would happily install Word for an easy life. Mendeley referencing not available for Word365, as far as I know.

I have used Latex in the past, and whilst it works for me, collaborating on documents is not really feasible.

Help me /r/linux.

https://redd.it/ll17ak
@r_linux
Any linux newbies in here?

Hey any linux newbies in here. I have had people teach me a long the way and I figured now would be a good time to pay it back with people stuck inside from the pandemic. I do not claim to be an expert or anything just someone who has time on there hands that would like to share what I have learned.

https://redd.it/ll2dpo
@r_linux
Tauon Music Box v6.5.0 released

This is my pet project Tauon Music Box. It's a modern style music player for Linux.

While this isn't a major release, its been a while since Ive shared this project on Reddit. Cumulatively there's been quite a few improvements since! The notable changes:

* Added tracker file playback support (mod, xm etc)
* Remote control Android app now available (In fact there's two)
* Added support for the self hosted scrobble server Maloja
* Added radio station search browser
* Added ability to play tracks from a Jellyfin server (Its kind of experimental, no promises)
* Entirely rewritten audio backend
* Enabled Flatpak builds for ARM/RPi

You can check it out the main website [tauonmusicbox.rocks](https://tauonmusicbox.rocks/) or see the [Github](https://github.com/Taiko2k/TauonMusicBox) page.

https://redd.it/ll3pcr
@r_linux
[ Fmstrat / winapps ] Can't pass 'bin/winapps check'



Hello,
I can't successfully run the command 'bin/winapps check'. It doesn't run without sudo rights...
Here's the full output (both without and with sudo rights) :

​

`mc2@MERCURE:~/winapps$ bin/winapps check`

`RDPWindows is not running, run:`

`virsh start RDPWindows`

`mc2@MERCURE:~/winapps$ sudo bin/winapps check`

`[14:54:59:234] [7729:7730] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr`

`[14:54:59:234] [7729:7730] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd`

`[14:54:59:234] [7729:7730] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr`

`[14:54:59:234] [7729:7730] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail`

`[14:54:59:234] [7729:7730] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc`

`[14:54:59:553] [7729:7730] [INFO][com.freerdp.gdi] - Local framebuffer format PIXEL_FORMAT_BGRX32`

`[14:54:59:553] [7729:7730] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16`

`[14:54:59:559] [7729:7730] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem`

`[14:54:59:560] [7729:7739] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)`

`[14:54:59:560] [7729:7740] [INFO][com.freerdp.channels.rdpsnd.client] - Loaded fake backend for rdpsnd`

`[14:54:59:560] [7729:7730] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp`

`[14:55:02:762] [7729:7730] [INFO][com.freerdp.client.x11] - Logon Error Info SESSION_ID [LOGON_MSG_SESSION_CONTINUE]`

`[14:55:05:718] [7729:7739] [INFO][com.freerdp.channels.rdpdr.client] - registered device` [`#1`](https://github.com/Fmstrat/winapps/pull/1)`: home (type=8 id=1)`

`[14:55:31:384] [7729:7743] [ERROR][com.freerdp.client.x11] - RAIL exec error: execResult=RAIL_EXEC_E_FAIL NtError=0x2`

`[14:55:31:384] [7729:7730] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0`

`[14:55:31:384] [7729:7730] [INFO][com.freerdp.client.common] - Network disconnect!`

`[14:55:31:384] [7729:7730] [INFO][com.freerdp.client.common] - Attempting reconnect (1 of 20)`

`[14:55:31:928] [7729:7730] [INFO][com.freerdp.core] - ERRINFO_DISCONNECTED_BY_OTHER_CONNECTION (0x00000005):Another user connected to the server, forcing the disconnection of the current connection.`

`[14:55:31:928] [7729:7730] [INFO][com.freerdp.core] - ERRINFO_DISCONNECTED_BY_OTHER_CONNECTION (0x00000005):Another user connected to the server, forcing the disconnection of the current connection.`

`[14:55:36:937] [7729:7730] [INFO][com.freerdp.client.common] - Attempting reconnect (2 of 20)`

`[14:55:36:217] [7729:7783] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)`

`[14:55:36:217] [7729:7784] [INFO][com.freerdp.channels.rdpsnd.client] - Loaded fake backend for rdpsnd`

`[14:55:36:217] [7729:7730] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp`

`[14:55:37:140] [7729:7783] [INFO][com.freerdp.channels.rdpdr.client] - registered device` [`#1`](https://github.com/Fmstrat/winapps/pull/1)`: home (type=8 id=1)`

`[14:55:45:525] [7729:7786] [ERROR][com.freerdp.client.x11] - RAIL exec error: execResult=RAIL_EXEC_E_FAIL NtError=0x2`

`[14:55:45:525] [7729:7730] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0`

`[14:55:45:525] [7729:7730] [INFO][com.freerdp.client.common] - Network disconnect!`

`[14:55:45:525] [7729:7730] [INFO][com.freerdp.client.common] - Attempting reconnect (1 of 20)`

`[14:55:45:062] [7729:7730] [INFO][com.freerdp.core] - ERRINFO_DISCONNECTED_BY_OTHER_CONNECTION (0x00000005):Another user connected to the server, forcing the disconnection of the current connection.`

`[14:55:45:062] [7729:7730] [INFO][com.freerdp.core] - ERRINFO_DISCONNECTED_BY_OTHER_CONNECTION (0x00000005):Another user connected to the server, forcing the disconnection of the current connection.`

`[14:55:50:070] [7729:7730] [INFO][com.freerdp.client.common] - Attempting
reconnect (2 of 20)`

`[14:55:51:289] [7729:7805] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)`

`[14:55:51:289] [7729:7806] [INFO][com.freerdp.channels.rdpsnd.client] - Loaded fake backend for rdpsnd`

`[14:55:51:289] [7729:7730] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp`

`[14:55:51:193] [7729:7805] [INFO][com.freerdp.channels.rdpdr.client] - registered device` [`#1`](https://github.com/Fmstrat/winapps/pull/1)`: home (type=8 id=1)`

`[14:55:57:608] [7729:7730] [INFO][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off their session on the server.`

`mc2@MERCURE:~/winapps$`

https://redd.it/ll4gaq
@r_linux
Max number of open files

Recently I have been reading up on maximum number of websockets a server can support. Naively, I would expect 65,536 (i.e., the max number of file denoscriptors). Posts like [1\][2\] claim they can achieve 600k and >1M concurrent connections. The "trick" they both rely on is increasing the limits on the number of files to very large values.

My question: I cannot find a syscall of open that returns anything larger than an int. How does the OS track open files beyond 65,536? Are these blog posts really creating more than 65,536 fds?

[2\] mentions the limit of 65,536, saying the practical limit is closer to 20k. However, they say this is per IP address. They then go on to discuss that they listen on multiple IP addresses to open up over 1M connections. My intuition is that file denoscriptors are unique across the OS and I am guessing this is the missing link in my understanding. Is it possible to open up more than 65,536 fds? If so, how does the OS resolve collisions that refer to different files? Or is the "trick" that we don't need the files to be different, we just need a lot of handles to the files (i.e., multiple writers to the same buffer)?

Any recommendations to books, blogs, or documentation that can help me wrap my mind around this are greatly appreciated!

Update: int on Linux is guaranteed to be at least 32 bits, which gives on the order of 2B fds. Thanks for all the great responses!

[1\] https://blog.jayway.com/2015/04/13/600k-concurrent-websocket-connections-on-aws-using-node-js/

[2\] https://alexhultman.medium.com/millions-of-active-websockets-with-node-js-7dc575746a01

https://redd.it/ll5etn
@r_linux
How hard is it to make Icon packs?

Yea I'd like to make one in my free time, I've been making pixel art for a few years and i wanted to experiment with some retro themed icons

I noticed you get 16x and 32x in some of them, any pointers on getting started?

https://redd.it/llduan
@r_linux
What Linux should I use?

Hello,

I have recently gotten the Lenovo t60 for free, it has windows 8 rn, but I was wondering which is would fit the laptop the best, like Linux. Is would like it to be fast, but also kinda good looking.

Kind regards,
Jayden

https://redd.it/llf5wg
@r_linux
I made a CLI tool to wrap any website into a single executable AppImage.

https://github.com/sarweshparajuli/appnativefy

sudo npm i -g appnativefy

Star it if you like it, README is in detail.:)

​

https://i.redd.it/1eq2eoaa4yh61.gif

I've made a CLI tool, using Node.JS and Shell noscripting to wrap any website into an executable AppImage format, by making an AppImage there is no further execution required. Just click and run.

Plus, it also changes the scrollbar to minimal black style make it look a little less hideous than the standard one present.

Created AppImages will be built to \~/appnativefy

Currently tested on Gentoo, Ubuntu, KDE Neon, Garuda.

https://redd.it/lljhcl
@r_linux
What relatively simple program would you like to see on Linux?

I'm doing my undergraduate final project next semester, and I'm thinking of doing something that is actually beneficial.

I'm thinking of something on the scale of a project manager or a note taking app (like Evernote, but without all the features).

It shouldn't be too simple, like just a GUI for an already made CLI program, and not too complicated. I have 5 months to work on it.

So what is something you feel is missing on Linux? Or already exist, but you feel that it can be better?

https://redd.it/llisi6
@r_linux
Linux Razer Core X EGPU / GPU Switcher AMD only

I noticed there wasnt a write up for switching AMD GPUs on a Razer Core x.

I wrote a simple noscript to accomplish this with details in the Readme.md

Github link: https://github.com/Ralph-Fonz/eGPU\_Switcher

Follow the steps listed, I also added Gnome application instructions

Make sure to Switch back to integrated gpu before restarting and leaving w/ the laptop*

https://redd.it/lliq90
@r_linux
Script to rename file name/content

Hello all,

My job has made strides for our team to be more efficient at programming. I am a bit familiar with Linux.

I want to create a program where I can upload a file : “0001.jar” , and it would create an xml file called “0001.xml” and a trigger file called “0001.trigger”. After this is done, I want the xml files I have created to have a specific field called <ID>0001<ID>, reflecting the file name.

How should I go about this as a novice programmer?

https://redd.it/llkgx5
@r_linux
[Events] vBeer online Party - Tomorrow 18th Feb at 3PM GMT

Fellow opensource fans, I invite you to **3mdeb's vBeer event** to discuss the open/libre firmware/hardware and other nice embedded things you have in mind! We could

* look through the growing family of opensource coreboot-based distros,
* explore the real possibilities of coreboot BIOS on the modern PCs,
* figure out what can we do to bring back the KGPE-D16 server support to a coreboot master,

\- and much more! There’ll be a lot of interesting talk with a cosy atmosphere and good vibes - so, feel invited and take your beer! ;) [http://live.evenea.com/3mdeb-vbeer](http://live.evenea.com/3mdeb-vbeer) , **Tomorrow** 18th Feb **at 3PM GMT**

https://redd.it/llt9sz
@r_linux
All my achievements in 2 month journey of being Linux Youtuber

This is my 0 to \~1k Subs journey where I provided Lot of goods to community without spamming my channel videos. This is why I Love Reddit. You can get recognized even with 0 followers.

**About Me -**

* I am Suraj Kushwah (aka **BugsWriter**)
* Distro - I hop between Arch & Gentoo (with dwm)
* I love **Linux**\-**libre kernel** and I am a big GNU fan.
* I started a Linux YT channel. Because Technology is getting shit everyday and I believe I have to save the world.

# Here my Past 2 months Achievements -

&#x200B;

* [myyt](https://github.com/Bugswriter/myyt) \- One command to search (with dmenu) and play YouTube videos from terminal. This was my first simple noscript, my purpose was just to teach but, surprisingly this got lot of attention and I got 1.7k total Upvotes on multiple subreddits. This motivated me a lot because I was used to live in dark, I was very good with Linux and computers but it was my hidden talent, because I had really shitty communication skills.

&#x200B;

* [redyt](https://github.com/bugswriter/redyt) \- Simple noscript to download images of top posts of any Sub Reddit and open it with sxiv. I made this just to show people power of terminal and again noscript also got lot of attention (1k+) Upvotes (total).

&#x200B;

* **After this I got shout out from** [Mental Outlaw](https://youtu.be/xogxETRXN4k) for myyt and redyt.. and I was so shocked because I was used to watch him to learn about gentoo.

&#x200B;

* [pirokit](https://github.com/Bugswriter/pirokit) \- Script to search torrents from dmenu and start download them instantly. This got lot of attention on r/piracy and some other Linux subreddits. (1k+ Upvotes)

&#x200B;

* [Unixporn Compilation](https://youtu.be/upCemv2UaLc) \- I believe everyone of you watched this video. I created this for my channel. People on r/unixporn loved this video. (5.5k+ Upvotes)

&#x200B;

* [Wallpaper Downloader](http://0x0.st/-zNM.bin) \- A Script to search and download wallpapers from Wallhaven in bulk. This got lot of attention on r/unixporn. (600+ Upvotes)

&#x200B;

* [Youtube Automation](https://www.reddit.com/r/linux/comments/l5awi1/automating_an_entire_youtube_channel_with/) \- I shared this technique of making compilation video by editing with ffmpeg and uploading it with simple shell magic. This got lot of attention on r/linux (1.6k upvotes)

&#x200B;

* [Tuxi](https://github.com/Bugswriter/tuxi) \- A program which scrape google to give question answer or any question on terminal. Now this one is one of my best. People are keep adding cool stuff to this. Got lot of attention on r/unixporn (2k+ Upvotes Total)

&#x200B;

* **Today I Got another** [**Shout Out**](https://youtu.be/PLwtX_gflAA) **from Mental Outlaw for Tuxi.**

&#x200B;

Besides all this I also shared some really good ideas which convince people why to learn using terminal. Like -

* Sharing files online quickly with dmenu.
* Why you need to learn awk.
* Gilfoyle's remote rig toggling program in BASH
* and some real life example of saving time with terminal.

Getting all these ideas, writing noscripts, recording & editing Video, Communicating with all response I get .. It's a lot of work for a lazy guy like me (after all that's why I write noscripts). But my passion for Linux and all the good response I get truly changed my personality.

With all this, I overcome my fear of speaking English. I remember during my first video I was so nervous in front of mic. Spending hours just to say one paragraph properly.

It's like dream come true. Showing people why to use Linux. Convince them to learn programs like **awk, sed, cut, paste, grep**.

My life is changed .. I hope my 2 month journey will motivate you to share your knowledge and providing goods to community.

I never spam any of my youtube video on any Linux subreddit. I always did text based post or posted demo video. I just share my video link in comments silently which I have to, since Youtube hardly promote good Linux YouTuber and If I don't share how people are going to know about