Linux - Reddit – Telegram
Linux - Reddit
756 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
What does the general Linux community think about distros like Android and Chromium/ChromeOS?

The reason why I'm asking this is that I rarely see Android and Chromium/ChromeOS referred at all when talking more in depth about the history of Linux, etc. They are distros of Linux and if you were to count all devices running linux(Computers and Smartphones) in a graph including computers of all kinds(Desktops, Mobile Computers, Laptops, Servers, etc), Linux may be the most used kernel out there, if not, then only behind by a few percentiles.


Is it that the community just overall sees it as too different and doesn't care much about it, or is that most of the community didn't know it was actually Linux.

https://redd.it/l2ak53
@r_linux
Archbox, an easy to use Arch Linux chroot enviroment with some functionalities to integrate it with your existing Linux installation.

Hi r/linux! I love doing things in GNU/Linux (and i love breaking it). Ever since i start using it, i was surprised how capable and flexible it is compared to other operating system, and then i got to know chroot.

Then, I created Archbox! a Bash noscript that automates (probably) everything you need to do to setup a chroot, opening a shell in chroot, running a web browser in chroot, playing games in chroot, running glibc exclusive softwares in musl Linux distros, and anything you would do in Linux.

Ever since I'm running some niche distros like Void, Solus, I had a problem finding softwares I need in their not-so-large repositories, also I don't like how flatpak and snap works (sandboxing, lower performance, squashfs image for every piece of software, talking to desktop portals, and etc). so i decided to create an Arch Linux chroot enviroment. Why Arch Linux? They have a really, really good repositories, oh and don't mention how big AUR is.

To enter shell, just do :

archbox --enter

To execute commands without entering shell, do :

archbox <command>

You can read the README for more detailed guides :)

>Why chroot? why don't you use <insert infamous container here> instead?

The idea of a container is to isolate it from the host system, sure you could bind mount everything, but why use a container in the first place if you do that? Also there's no overhead by using chroot, and even chroot is available in many insecure linux distros.

>Any known issues?

Here

>How about systemd services? systemd doesn't work in chroot.

You can use Archboxctl to parse a systemd .service file and executes it, if you want to start them on boot, refer to this. You can install a LAMP stack in Archbox with this.

>Can it install the desktop entries too?

Yes, but manually :p, and some icons may be missing, a workaround for this is to use a rich icon pack, I recommend Papirus!

>Does it works in Nix OS?

Yes, but with some hacky workarounds.

And that's it! the GitHub repo is here :

https://github.com/lemniskett/archbox

https://redd.it/l2ojh1
@r_linux
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.

&#x200B;

[[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