Linux - Reddit – Telegram
Linux - Reddit
755 subscribers
4.18K 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
Simple daemon to handle Media buttons

For me and my WM configuring multimedia keys always have been pain to get to work properly, so I created a simple but effective application which just does that for you. I just wanted to share it with people could be looking for something like this. You can find it here.

https://redd.it/l2qnih
@r_linux
How's HiDPI on linux these days

Alright, so, I've used linux for a long time, but now, for the first time, I've got a hidpi 4K display.

Now, the system's running Windows, and windows can scale apps itself so older apps look alright even if they don't natively support hidpi scaling.

So, since I've never used Linux on a hidpi display, I was wondering: which DE plays best with such scenarios? Do any DE support scaling apps like windows does?

I'm mostly looking for tips and tricks I should know before installing linux and seeing what happens. Also, not quite sure if this is right sub for this.

https://redd.it/l2uv2o
@r_linux
how track OS update progress

Do you guys have an idea how to track OS update progress? Maybe a tool for it? I have an idea of writing a shell noscript or Ansible playbook just curios if there are implemented examples already. Maybe there is monitoring plugin (Cacti, Icinga, LibreNMS)?

Example:

January upgraded 15 servers from CentOS 7.7 to 7.9
February upgraded 46 servers from Debian 9 to 10

https://redd.it/l2qvb8
@r_linux
Linux on Big Iron

Running some basic tests for S3 object creation using some lab resources loaned to us after the main testing was done.


MINIO on a 16 IFL LinuxOne LPAR running Redhat is creating \~1600 64K S3 objects per bucket per second.

Being driven by 10 threads running on a Linux box that are doing S3 calls from Perl.

Looking at the disk (Flash storage) I/O backend I am writing a little over 1Gigabyte per second, thus hitting the line rate limit of the 10Gbit network as there is not significant wait time, only .2% Wait I/O.

Hoping to convince them to let me have another box or two to drive more I/O, preferably another ZLinux LPAR so I can use the LinuxOne frame network instead of 10G and see what the limit is.

https://redd.it/l2zmb8
@r_linux
What is your preferred audio interface?

There's Pulseaudio, sndio and PipeWire. Which one do you prefer and why? Which one do you think is the future of audio? (and video if you're talking about PipeWire)

https://redd.it/l1sknf
@r_linux
w530 thinkpad dual external monitor guide

Made a post a while back complaining about the external monitor support. Found anther cheap monitor on craigslist (5 bucks in walking distance from my apartment!).

Anyway I have a lenovo w530 thinkpad from waaaay back in 2013 that is still my daily driver. When I initially plugged in the monitor no dice, and it appears that the laptop has never worked well with VGA stuff as I tried plugging in my current external monitor (output from mini-DP to hdmi with dongle) as VGA also no dice. My next step would have been to confirm that the monitor/VGA cable worked but I was fairly confident that they were both fine (if you are not and are using this as a guide you NEED to check that they work)

Based on my known good monitor also not working with the VGA output I started ggogling and came across this post https://askubuntu.com/questions/1215784/why-can-t-i-use-the-vga-port-of-my-lenovo-w530-laptop-under-xubuntu-18-04 and the answer by Pizzasok is what fixed it for me.

You want to edit /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf and comment out (with a # at the beginning of the line) Option "IgnoreDisplayDevices" "CRT". As you may notice the 11-nvidia-prime.conffile tells you to not make any changes as they will be erased upon boot. Thankfully this is only a suggestion!

In order to disable gpumanager from updating the file back to defaults we have to modify the /etc/default/grub file. The post linked above says to add nogpumanager to the GRUB_CMDLINE_LINUX_DEFAULT line like so:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nogpumanager"

My existing grub config file already had something about intel in the quotes and it seems likej GRUB still let gpumanager run even tho I added it like so;
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=2 nogpumanager

No idea what that does or how it got there but I removed the intel idle so that it was just quiet splash nogpumanager and the changes made to the nvidia config file were maintained through a reboot so I'm happy with the end result.

Interestingly xrandr has always (and continues to) insisted that there is a VGA-1-1 output. But after completing the changes laid out above the monitor was detected at started displaying content as expected (under VGA0 according to xrandr)

https://redd.it/l1ez4e
@r_linux
Terminator question?

About a year ago I set up a terminator layout that just opens 5 windows with basic CTF commands against a designater IP address.

I was just going to save my config in github from the ~/.config/terminator/config file yet when I read it it for my CTF layout I cannot see the commands. However when I run the terminator -l CTF within my starting bash noscript, it runs perfectly.

Any ideas where I can find the full config which includes the layout or am I just being mad.

​

[[CTF\]\] [[[child0\]\]\] type = Window parent = "" order = 0 position = 2:2 maximised = True fullscreen = False size = 1862, 945 noscript = karti@kali-pt: \~ last_active_term = 58db53fb-a0cd-44e8-9f57-8558ee94d0a6 last_active_window = True [[[child1\]\]\] type = HPaned parent = child0 order = 0 position = 928 ratio = 0.49973074851911686 [[[child2\]\]\] type = VPaned parent = child1 order = 0 position = 470 ratio = 0.5 [[[terminal3\]\]\] type = Terminal parent = child2 order = 0 profile = default uuid = 891acf1b-0892-4d60-a4a5-c57bc77d005f [[[terminal4\]\]\] type = Terminal parent = child2 order = 1 profile = default uuid = 58db53fb-a0cd-44e8-9f57-8558ee94d0a6 [[[child5\]\]\] type = VPaned parent = child1 order = 1 position = 299 ratio = 0.3180851063829787 [[[terminal6\]\]\] type = Terminal parent = child5 order = 0 profile = default uuid = 75b8f5d1-becc-4f25-a03a-219332ac4fbe [[[child7\]\]\] type = VPaned parent = child5 order = 1 position = 310 ratio = 0.484375 [[[terminal8\]\]\] type = Terminal parent = child7 order = 0 profile = default uuid = b14f1f3f-a8ef-411d-b85d-5cdb87b348a4 [[[terminal9\]\]\] type = Terminal parent = child7 order = 1 profile = default uuid = 9c63a962-7cdb-40ae-8c50-17e5fc925426

https://redd.it/l38944
@r_linux
What DE would you recommend?

I'm building a PC for general productivity (coding, some video editing, schoolwork etc). I'm thinking of getting Manjaro because it's rolling release, what DE would you recommend? I generally favor GNOME but I'd like to hear more from KDE, Xfce and other DE fans.

https://redd.it/l37w71
@r_linux
what did windows do better than linux, that people preferred the one over the other?

hello, simple question : as far as i know, linux and windows coexisted at the same time. windows costs money and is closed source, linux isnt. so what was the incentive, the initial incentive for people to prefer win 95 f.e? didnt linux back then have a graphical interface? was it because windows had OFFICE ?

https://redd.it/l18cmv
@r_linux
My frustrating Linux journey

I am a MacOS daily user, and it’s the OS I grew up with. I’ve never liked Windows, and never will.

I have an old 2015 MacBook Air I wasn’t using, and decided to install some variety of Linux on it, part curiosity, part wanting to learn, part having a plan B OS in case Apple ticks me off enough. Important detail: this laptop does not have an Ethernet port, so the only option for internet connectivity is WiFi.

So, I began investigating, got some recommendations, and started learning some. I posted in this sub, and got recommended Ubuntu, Mint, Manjaro, and Fedora.

I tried mint first, and while getting it installed went smoothly, I had issues connecting the machine to WiFi. I know now that it’s because my laptop has a Broadcom WiFi card, for which the FOSS driver situation is a bit dodgy.

After getting some more help, it turns out mint has working drivers already in the default cinnamon ISO, and I just needed to enable it. After doing that, mint worked fine, and I used it a bit, but I just never fell in love with the cinnamon desktop.

So, I decided to hop around. I tried to try out Artix on a whim, but couldn’t even get it to boot from the USB. Figuring there was a good bit I had to learn before I could get that to work, I decided to just try another distro.

So, I decided to try virtualizing Fedora on my main machine. I had virtualized Windows 10 and Mint before, so I knew I could get it working, and I did. But I didn’t realize I didn’t give the Fedora VM enough resources to be “usable” and jumped to the conclusion that gnome wasn’t for me. That’s all my fault, and I see that now.

So, I decided to try manjaro. I forget which DE version I tried 1, but I couldn’t manage to get the WiFi drivers to work at all, so I decided to try another distro.

I decided to try Debian, and, surprise, I had more WiFi driver problems, and wound up borking my machine bad enough that I had to use the disk utility tool baked into the firmware to wipe the partitioned but otherwise blank drive.

After I got my machine working again, and put MacOS back on it to confirm I had unborked it, I decided to try Fedora again, figuring I judged it too quickly.

I got Fedora working, and decided I actually liked gnome, now that it had more than bare minimum resources available. But, once again, couldn’t get WiFi to work. I tried harder to get it to work, but accomplished nothing.

So, I decided to give Ubuntu a try. I went with the classic gnome Ubuntu LTS. After getting it installed, I found that it includes the WiFi driver I need, and got it working! Excited, I was trying it out for a few minutes, then a little pop up showed up, telling me an update was available. I just agreed and clicked update mostly to see how the update process goes on Ubuntu. After a couple minutes of it doing it’s thing and me leaving it be while it does, I get some error message which I didn’t read thoroughly. It told me in a pop up to run a certain terminal command I didn’t read manually to deal with it, so I just blindly did so, and it seemed to fix it, then it had to reboot to complete the update, so I did so.

After rebooting, I went back to checking out ubuntu. At some point, I opened Firefox to grab an image to use as a desktop background (not a fan of any that come included with ubuntu) only to discover I wasn’t connected to the internet. I went to try to turn it on, only to discover the little utility menu (top right, not sure what it’s actually called) looked the same as it did before I enabled the WiFi driver I needed. Figuring that was the problem, I went to reenable it, only to discover it wouldn’t let me, citing it needed an internet connection to reinstall the driver.

So, I figured maybe it could just grab the driver from the usb I had flashed it to, as that’s what I was told to do to get WiFi working on mint. This didn’t work, so I decided maybe a fresh reinstall could get it working again more easily.

I decided I’d try something else before that though, and decided to try popos. Aaaaaaand the WiFi card was once again