The Linux Thread - The Autist's OS of Choice

  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account
dd if=infile of=outfile status=progress bs=4M oflag=sync

Add oflag=sync and DD will sync every 4M block. You can change 4M to whatever to change the sync frequency.
It’s going to be more efficient to sync after rather than through dd, that way you use more of your cache and flood the ssd with writes better.
 
use more of your cache and flood the ssd with writes better
bs=[lowest buffer size of the two drives] and you can match the sync to your optimal stride length. Might end up being more optimal than leaving the method undefined.

Edit: finally got mounting microsd via Termux figured out. sudo --su-run-options=--mount-master mount -t ext4 /dev/block/mmcblk1p1 /mnt/ext you need this --mount-master magic flag in your su execution. This had been pissing me off for hours. Finally found that option reading this ( https://github.com/mpartel/bindfs/issues/124#issuecomment-1368201418 ) Had to tell someone. Maybe this shows up in a search. Peculiar Termux corner cases... But hey, now I can use RetroArch to access ROMs on a MicroSD on a junker old phone that will now be my (old)retrogaming phone.
 
Last edited:
is it possible now to have a somewhat stable Arch based system running Xlibre and Cinnamon? and would that be Arch directly or like Manjaro or Artix?
Update less than once a week, don't use testing repos, use pacman frontend like yay so that you will get news alerts if manual intervention is required.
Arch being unstable is a meme, install on my main PC is 3 years old, I also have a fully working copy which was installed 8 years ago.
 
is it possible now to have a somewhat stable Arch based system running Xlibre and Cinnamon? and would that be Arch directly or like Manjaro or Artix?
Depends on your definition on "stable" I suspect. The reason for forking Xlibre was to get a raft of changes in, and it's probably safe to bet at least one of them will go sideways, so I assume it's going to be a little while before it's absolutely solid.
I'd be inclined to go with a downstream distro like Artix since it has an extra set of eyes on it, but that may just be me.
I'd also be inclined to avoid Manjaro because they still occasionally shit the bed, and I don't find it endearing anymore.
 
Depends on your definition on "stable" I suspect. The reason for forking Xlibre was to get a raft of changes in, and it's probably safe to bet at least one of them will go sideways, so I assume it's going to be a little while before it's absolutely solid.
I'd be inclined to go with a downstream distro like Artix since it has an extra set of eyes on it, but that may just be me.
I'd also be inclined to avoid Manjaro because they still occasionally shit the bed, and I don't find it endearing anymore.
There's no systemd so which version should I try? I'd just be running things like brave browser and inkscape on it
 
There's no systemd so which version should I try? I'd just be running things like brave browser and inkscape on it

OpenRC is the closest thing to a saner systemd command line-wise, while Runit (my preference) would be closer to the classic sysvinit init, if you want the most basic init system option Artix provides.
 
is there any 3rd party GUI update system that's recommended for Artix? and yay or Pikaur?
 
Last edited:
is there any 3rd party GUI update system that's recommended for Artix? and yay or Pikaur?
No yay or pikaur, but it looks like they've pulled pamac over from Manjaro.
Which probably works quite well if it's not plugged into a Manjaro repo.
(Salty? Me?)
 
last I knew. they did have a cli aur helper for artix. Its been a little while since I've run it though. I think the normal ones work as well, but they won't check to make sure a package won't break because systemd isn't there. or something along those lines. I can't remember what the artix specific aur helper I used before was. I could have sworn there was one though.

And yeah. what the other person said about xlibre I would agree with. It's not going to be stable right now. If you want stable at the moment. You can just use arch with xorg. Running xlibre at the moment even if it's being checked by the artix people I imagine at some point you are going to run into some issue over the next few months.

That said. It does seem to be working well now. I would just expect things to be a bit rocky at some point. in the future.
 
last I knew. they did have a cli aur helper for artix. Its been a little while since I've run it though. I think the normal ones work as well, but they won't check to make sure a package won't break because systemd isn't there. or something along those lines. I can't remember what the artix specific aur helper I used before was. I could have sworn there was one though.

And yeah. what the other person said about xlibre I would agree with. It's not going to be stable right now. If you want stable at the moment. You can just use arch with xorg. Running xlibre at the moment even if it's being checked by the artix people I imagine at some point you are going to run into some issue over the next few months.

That said. It does seem to be working well now. I would just expect things to be a bit rocky at some point. in the future.
it's been working surprisingly well. at least to the point where any problems i experienced might just because i'm running an unfamiliar distro.
 
What the hell is going on with Audacity? After nearly 2 decades of use I finally gave up and switched over to the Tenacity fork because Audacity is turning into a bloated mess. Tenacity feels like the old Audacity, it's quick w/ no bullshit. Audacity was a simple "does a thing well" type of software, but of course we can't have that with the usual suspects coming in to shit on every open source project in existence. The only reason I have some hope for a rebound of Audacity is because it's cross-platform that is used widely by Mac and Windows users, and I am just more optimistic that they won't tolerate this shit like Linux users usually do. They also fucked up the forum too, it used to be a simple board and now it's one of those ugly quasi-reddit boards that's a nightmare to navigate. In just a few years they fucked the entire project up.

Isn't that one Breadtuber involved w/ Audacity now? The Music Software guy? Apparently he "manages it". Unsurprising if so. Call me retarded for not switching over the moment they added telemetry, I guess.
 
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'
oh yeah. I kept forgetting. I was going to post some of mine. Just a few, I use. I have a good bit more.

Bash:
alias rebuild='make clean && make && sudo make install'
alias update-grub='grub-mkconfig -o /boot/grub/grub.cfg'
alias quik-dl='yt-dlp -f "best[ext=mp4]"'
alias svim='sudo nvim'
alias wget='wget --hsts-file=~/.local/share/wget-hsts'
alias reboot='loginctl reboot'
alias ll='ls -lahF --color=auto'

I don't really have anything super interesting in my aliases. A lot of them are just things to cut down a bit on typing. Like if there is a file I edit a lot. I will make an alias to open it in my editor with the full path to the file. So i can just put the alias to edit the file from anywhere on my system. Things like that. For scripts I get a bit more creative.
 
Dox .bashrc aliases
Technically it's in kdeconnect rather than .bashrc, but I do have loginctl lock-session && xset dpms force off filed under "splat".
(Also dull stuff like sleep and reboot, but this one is vaguely useful). I did have the the same thing tied to a nice clunky switch on my hotas, but Manjaro apparently had other plans.

Edit: incidentally there's a a useful (to me, at least) do-dad called "blueproximity" in AUR that will ping your phone/smartwatch over Bluetooth and lock the screen if you've wandered off, then unlock it again when you wander back. Possibly a bit ricey, but I like it.
 
Last edited:
What the hell is going on with Audacity? After nearly 2 decades of use I finally gave up and switched over to the Tenacity fork because Audacity is turning into a bloated mess. Tenacity feels like the old Audacity, it's quick w/ no bullshit. Audacity was a simple "does a thing well" type of software, but of course we can't have that with the usual suspects coming in to shit on every open source project in existence. The only reason I have some hope for a rebound of Audacity is because it's cross-platform that is used widely by Mac and Windows users, and I am just more optimistic that they won't tolerate this shit like Linux users usually do. They also fucked up the forum too, it used to be a simple board and now it's one of those ugly quasi-reddit boards that's a nightmare to navigate. In just a few years they fucked the entire project up.

Isn't that one Breadtuber involved w/ Audacity now? The Music Software guy? Apparently he "manages it". Unsurprising if so. Call me retarded for not switching over the moment they added telemetry, I guess.
I just keep an old install of Audacity 2.4.2 and use that. Probably the only piece of software I don't constantly updoot.
 
If memory serves, the dev(s) behind audacity were hired by some music outfit a couple of years ago, so whilst it's still technically open source, it's now open source but with expectations of dividends.
Cue the forks.
I can't get mad about this per se, because devs need to eat too, but that's why there's been some non-optimal choices made of late.
Hey ho.
*Enshitification Intensifies*
 
If memory serves, the dev(s) behind audacity were hired by some music outfit a couple of years ago, so whilst it's still technically open source, it's now open source but with expectations of dividends.
Cue the forks.
I can't get mad about this per se, because devs need to eat too, but that's why there's been some non-optimal choices made of late.
Hey ho.
*Enshitification Intensifies*
Is this like an OpenOffice.Org situation where the company control makes it shittier or an Emby situation where the fork just can't keep up with a team who can make maintaining the code their daytime job?

Although I suppose the fact that they completely dropped all of their work in order to re-fork the latest version of Audacity is telling.
 
Last edited:
What the hell is going on with Audacity? After nearly 2 decades of use I finally gave up and switched over to the Tenacity fork because Audacity is turning into a bloated mess. Tenacity feels like the old Audacity, it's quick w/ no bullshit. Audacity was a simple "does a thing well" type of software, but of course we can't have that with the usual suspects coming in to shit on every open source project in existence. The only reason I have some hope for a rebound of Audacity is because it's cross-platform that is used widely by Mac and Windows users, and I am just more optimistic that they won't tolerate this shit like Linux users usually do. They also fucked up the forum too, it used to be a simple board and now it's one of those ugly quasi-reddit boards that's a nightmare to navigate. In just a few years they fucked the entire project up.

Isn't that one Breadtuber involved w/ Audacity now? The Music Software guy? Apparently he "manages it". Unsurprising if so. Call me retarded for not switching over the moment they added telemetry, I guess.
Tenacity has the contributor's covenant CoC so it's hardly much better than audacity, I think it's still pozzed. Sneedacity is based (its CoC is a parody) but has stalled at the state it was in 3 years ago with no development happening after that.
 
What the hell is going on with Audacity? After nearly 2 decades of use I finally gave up and switched over to the Tenacity fork because Audacity is turning into a bloated mess. Tenacity feels like the old Audacity, it's quick w/ no bullshit. Audacity was a simple "does a thing well" type of software, but of course we can't have that with the usual suspects coming in to shit on every open source project in existence. The only reason I have some hope for a rebound of Audacity is because it's cross-platform that is used widely by Mac and Windows users, and I am just more optimistic that they won't tolerate this shit like Linux users usually do. They also fucked up the forum too, it used to be a simple board and now it's one of those ugly quasi-reddit boards that's a nightmare to navigate. In just a few years they fucked the entire project up.

Isn't that one Breadtuber involved w/ Audacity now? The Music Software guy? Apparently he "manages it". Unsurprising if so. Call me retarded for not switching over the moment they added telemetry, I guess.
The way Tantacrul and his collaborators raped the development of Audacity is extremely upsetting, especially so because they clearly do not actually want Audacity. The entire point of Audacity, at least in my view, is that it's a simple, sample-based audio editing application. No complicated VSTs and real-time effects, you just operate directly on the audio samples, and everything is effectively destructive (up to usage of the undo button). This has its limitations, particularly if you don't want to engage with the plugin thing it has, but it works and is very good at what it does.

But the simple nature of Audacity was deemed by these deranged people to be "outdated" because it isn't a fully-featured generic DAW, which is what they really want, and which isn't something Audacity even aimed to be. All the new shit sucking the life out of the program is framed as "bringing it up to the standards of modern users". It begs the question: why did Audacity need to be sodomized like this instead of making something new? Why hijack the development of software with completely different goals? My first guess would be that the company backing them financially wants some kind of grip on the open source DAW market (note the telemetry) and didn't want to spend time building their own thing. There already is a canonical choice of open source DAW, namely Ardour, although it kind of sucks as I recall, and obviously Audacity is more widely used (or at least I am led to assume that since they didn't rape Ardour instead).

Now they're working on some complete rewrite of the UI for version 4 of Audacity, and I can only imagine it's going to be some clone of an existing DAW. Is this the equivalent of tranny egg cracking but for software?
 
Dox .bashrc aliases
I should probably do another purge again sometime soon, but here are some of my most used(/useful):
Bash:
# Length of string
le() { echo -n "${*}" | wc -c; }

# quick calculations
calc() { python3 -c "from math import *; print(${*})"; }
alias calci='python3 -qic "from math import *;"'

# Quick number base conversions
bin2dec() { python3 -c "print(0b${*})"; }
bin2hex() { python3 -c "print(hex(0b${*})[2:])"; }
dec2bin() { python3 -c "print(bin(${*})[2:])"; }
dec2hex() { python3 -c "print(hex(${*})[2:])"; }
hex2bin() { python3 -c "print(bin(0x${*})[2:])"; }
hex2dec() { python3 -c "print(0x${*})"; }

# one-letter aliases for super frequent commands
alias e='exit'
alias c='clear'
alias a='ip -brief address show'

# vim aliases
alias vi='nvim'
alias vim='nvim'

# Power command shortcuts
alias reboot='sudo reboot'
alias shutdown='sudo shutdown -h now'

# Ignore robots.txt when mirroring websites
alias wget='wget -e robots=off'

# pacman
alias pc='pacman'
alias autoremove='sudo pacman -Rns $(pacman -Qtdq)' # remove unused deps
alias autopurge='paccache -ruk0' # purge cache

# lsblk with some defaults
alias blk='lsblk -o NAME,FSTYPE,FSVER,SIZE,FSUSE%,TYPE,LABEL,MOUNTPOINTS'

# Feh with some defaults
alias feh='feh -g 540x540+960-540 -S filename --scale-down --zoom max'

# exit if text fits within one screen
alias less='less -F'

# blank/unblank TTY
alias b='setterm -blank=force'
alias p='setterm -blank=poke'

# Sort newline-delimited list from stdin
alias sort-list='sort | uniq -c | sort -nr | cut -b 9-'
alias sort-list-count='sort | uniq -c | sort -nr' # show count

# uppercase/lowercase quick text transformation
alias l2u='tr "[:lower:]" "[:upper:]"'
alias u2l='tr "[:upper:]" "[:lower:]"'

# Type out clipboard content
alias at='sleep 3; xdotool type "$(xclip -o -rmlastnl -sel clip)"'

# copy text/image to X11 clipboard
alias cs='xclip -selection clipboard'
alias csi='xclip -sel clip -t image/png' # images

# yt-dlp shortcuts
alias yt-video='yt-dlp -f bestvideo+bestaudio --embed-chapters --embed-metadata --embed-subs --sub-langs all'
alias yt-video-thumb='yt-video --embed-thumbnail'
alias yt-music='yt-dlp --no-video -x -f bestaudio --embed-chapters --embed-metadata --embed-thumbnail --convert-thumb png'
alias yt-music-thumb='yt-music --ppa "ThumbnailsConvertor+ffmpeg_o:-c:v png -vf crop=\"'\''if(gt(ih,iw),iw,ih)'\'':'\''if(gt(iw,ih),ih,iw)'\''\""'

# shortcut to restart Plasma because FDOfags can't write competent software
alias plasma='killall -9 plasmashell; plasmashell --replace &'


Bash:
alias svim='sudo nvim'
Why not use `sudo -e <file>` (and set `editor=/usr/bin/nvim` in /etc/sudoers) instead? No need to run the entirety of neovim, and all your plugins, as root.
You also keep clipboard integration that way, if you have it enabled.
 
Last edited:
Back
Top Bottom