The Linux Thread - The Autist's OS of Choice

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
Dox .bashrc aliases

Bash:
function emacs() {
    { command emacs --init-directory="$HOME/.emacs.d/" "$@" > /dev/null 2>&1 & } 2>/dev/null
    disown
}

alias emacsclient='emacsclient -c -a ""'
alias emacst='command emacs -nw --init-directory=$HOME/.emacs.d'

alias glst="eza --git --git-ignore --group-directories-first -T -L 3"
alias gcom='git commit -m '
alias gadd='git add '
alias glog='git log --oneline --graph --decorate'

alias resource='source ~/.bashrc && echo ".bashrc reloaded"'

alias clock='tty-clock -c -C 2 -b -s'
My favorite bash "alias" which is actually a function:
gacp() { git add . ; git commit -m "$*" ; git push ; }
 
OpenSUSE is to SUSE what Fedora is to Red Hat, but SUSE is worse than Red Hat, with OpenSUSE calling conservatives rotten flesh. Fedora is a rolling release distro like Arch and is known for being easy to use (even if they like to push things before they're ready so Red Hat can test them), which is why I recommended it.
I always just assume every Linux distro has shitty politics but I'll look more into fedora.
 
I was tinkering around with a fingerprint reader and a yubikey that I 1000% don't need.

In my curiosity I began messing with the config for SDDM login so I could have it fingerprint unlock/yubikey unlock with the PW as a fallback. I ended up getting it stuck and locked out of my PC by having a bad config in the pam file. I panicked a bit but then realized I could save myself. I used a usb drive with Ubuntu live mode on it to get back to the machine then rooted into the other volume and updated it. Getting back into my main OS. I then got the config right so my stupid yubikey setup works as intended.

A victory for autism occurred this day boys.
 
Right now it's just the Firefox browser (with caching disabled), Terminal, and the System Monitor. Maybe it's "swap" space? But then again I don't see much activity with it.
Maybe try iotop, in normal mode it will give you a nice overview of how much writing is actually happening and in batch mode it will give you a detailed log of who read/wrote when. If it's actually Firefox that is writing shit, maybe try one of the privacy forks like Mullvad or Librewolf.
 
Terminal didn't recognize it. Is this another thing I have to install?

Anyway is this some sort of logging thing? If it were then it should show up in System Monitor, but sometimes there's writes that don't show up in it. It's a steady 1 MB per minute constant writing that isn't changed by disconnecting from the 'net. It is more frustrating than the mysterious 20 MB downloads which turned out to be "Safe Browsing".
 
In my curiosity I began messing with the config for SDDM login so I could have it fingerprint unlock/yubikey unlock with the PW as a fallback. I ended up getting it stuck and locked out of my PC by having a bad config in the pam file
Are you using systemd or another init? Just curious as to see because I've been having issues migrating PAM to mdev.
 
Dox .bashrc aliases
Following in the same spirit:
Bash:
alias tmux='tmux new-session -t '0' || tmux'
alias resource='unalias -a; source ~/.bashrc'

tty-clock
You can do better* by being more UNIX-y:
Bash:
watch --interval 1 --precise --color --no-title --no-wrap "date '+%H : %M : %S' | figlet -f Small"
*The reason this is better is because you can add whatever "widget" you want, easily, by mixing paste(1) into it.
 
  • Informative
Reactions: Anti Snigger
Following in the same spirit:
Bash:
alias tmux='tmux new-session -t '0' || tmux'
alias resource='unalias -a; source ~/.bashrc'


You can do better* by being more UNIX-y:
Bash:
watch --interval 1 --precise --color --no-title --no-wrap "date '+%H : %M : %S' | figlet -f Small"
*The reason this is better is because you can add whatever "widget" you want, easily, by mixing paste(1) into it.
I like tty clock because it’s dead simple, in tilix I usually have it on top of htop off to the side
Also for whatever reason plasma makes the system clock literally 2 point font no matter what the setting so it’s my clock now
 
  • Like
Reactions: agent_donkey
Are you using systemd or another init? Just curious as to see because I've been having issues migrating PAM to mdev.
Systemd.

Something is still wrong with it though as SDDM appears to just not work sometimes? I login with the yubikey most of the time now but sometimes it's just nope. Use the PW, or the fingerprint reader. I suspect it has something to do with the services not starting or starting out of sync with the SDDM itself somehow. But it works okay enough that I don't really care at the moment.
 
  • Like
Reactions: Darkholme's Dungeon
Systemd.

Something is still wrong with it though as SDDM appears to just not work sometimes? I login with the yubikey most of the time now but sometimes it's just nope. Use the PW, or the fingerprint reader. I suspect it has something to do with the services not starting or starting out of sync with the SDDM itself somehow. But it works okay enough that I don't really care at the moment.
 
  • Like
Reactions: TJT
Thanks. So looks like the biggest offender is some kind of logging, with "systemd-jornald" and "rsyslogd"...

There's also "jbd2" doing some constant writing, though not as much. So what's this BS and how do I stop it?

Screenshot from 2025-06-23 05-35-00.webp
(Pic is thumbnail. Censored SSD name after "jbd2" and other personal info further down.)
 
Anyone here compared XLibre to regular X yet? Hard to find any reports on it since most of the news is full of whining about the dev not marching in lockstep and Phoronix is full of people dicklicking RHE as usual.
 
Anyone here compared XLibre to regular X yet? Hard to find any reports on it since most of the news is full of whining about the dev not marching in lockstep and Phoronix is full of people dicklicking RHE as usual.
There's an ebuild for Gentoo and I intend to get to it at some point. Will report back after. Old man just got out of the hospital this weekend so shit's been hella busy.
 
  • Feels
Reactions: Fabio Socialist
Anyone here compared XLibre to regular X yet? Hard to find any reports on it since most of the news is full of whining about the dev not marching in lockstep and Phoronix is full of people dicklicking RHE as usual.
Gentoo has a thread and a port for it right now in testing. Of course it's developed into the "muh right hwite anti vaxx retardation". How far the mighty have fallen.
We are working on making an overlay for Xlibre.
Right now, I advise against using xlibre.
All the commits I made on the Xlibre X11 server were fixes for various regressions, caused mostly by various symbols being unexported.
Unless you want to work on xlibre, I recommend saying on Xorg. Xlibre is far too unstable and has far to many regressions for me to recommend to average users
One of the Romanian users is working on Xlibre too. He did also update tinyx and GTK2. I checked his github profile, he's a mathmatics major so it shouldn't be too bad right?
napalm.webp

:ow:(:_(
STEM to troon pipeline at work here folks
 
Gentoo has a thread and a port for it right now in testing. Of course it's developed into the "muh right hwite anti vaxx retardation". How far the mighty have fallen.

One of the Romanian users is working on Xlibre too. He did also update tinyx and GTK2. I checked his github profile, he's a mathmatics major so it shouldn't be too bad right?
STEM to troon pipeline at work here folks
Lol @ the guy in the thread saying he should have used Codeberg instead, guess he didn't get the memo about Codeberg standing up against right wingers because someone said nigger balls.
 
Lol @ the guy in the thread saying he should have used Codeberg instead, guess he didn't get the memo about Codeberg standing up against right wingers because someone said nigger balls.
Honestly, at this stage host your own Fossil/SVN instance. Then get hacked by loony troons, and when you fight back the FBI arrests you for daring to stop their DDOSing by crashing the botnet controller.
 
Thanks. So looks like the biggest offender is some kind of logging, with "systemd-jornald" and "rsyslogd"...

There's also "jbd2" doing some constant writing, though not as much. So what's this BS and how do I stop it?

View attachment 7545259
(Pic is thumbnail. Censored SSD name after "jbd2" and other personal info further down.)
Things in [square brackets] are kernel threads doing work for the kernel. In this case jbd2 takes filesystem data from the filesystem journal onto the proper place on the disk and handles safe recovery in case of power off. Most kernel threads don't do anything on their own, lvm will take the writes to /dev/mapper and similar and send them to the proper /dev/sd* or /dev/nvm*, same for md and the [md#_raid#] threads.
 
Back