posix sh + awk for manipulating data?
posix sh + awk for manipulating data?
It makes me mad to see the current state sway is in, I even bought an AMD GPU for nothing.
I really don’t know lol
Increasing the max_map_count is needed for some Steam games, iirc Arch is now dong this by default.
iirc the dirty_bytes settings prevent the system from hanging if there is too much disk IO
And setting transparent_hugepages to madvise was something I did when archlinux had this bug in the kernel: https://old.reddit.com/r/archlinux/comments/1atueo0/higher_ram_usage_since_kernel_67_and_the_solution/
It was eventually fixed but I later ran into the issue again and I decided to keep it on madvise.
Here is what I ended up using for my sysctl conf, iirc I got some of these from popos default config:
vm.swappiness = 180
vm.page-cluster = 0
vm.watermark_boost_factor = 0
vm.watermark_scale_factor = 125
vm.dirty_bytes = 268435456
vm.dirty_background_bytes = 134217728
vm.max_map_count = 2147483642
vm.dirtytime_expire_seconds = 1800
vm.transparent_hugepages = madvise
nvm I just noticed that the issue is that I had the gcompat package installed in alpine, which fixes that issue you just had, I don’t know if chimera has something similar to it.
That’s interesting that it doesn’t work, iirc the biggest difference of chimera is that it uses musl like alpine does.
Can you extract the appimage with --appimage-extract
flag and run the AppRun that’s inside of it directly? Or that also fails?
Isn’t lite-xl in your distro repo?
You likely saw this already, but if you haven’t: https://www.reddit.com/r/Fedora/comments/mzun99/new_zram_tuning_benchmarks/
I use lite-xl, it has been very good, but I’m not a Go developer though.
They also release an appimage and I just did a quick test on a alpine container and it works, so it should work on Chimera as well.
would you suggest XDG or creating Symlinks?
You can do both, and both are easy.
The user-dirs.dirs
file contains something like this:
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_VIDEOS_DIR="$HOME/Videos"
For example if you mount the disk in /media/dirname
, it would be something like this, I’m giving it a external-drive
name in this example:
XDG_DESKTOP_DIR="/media/external-drive/Desktop"
XDG_DOCUMENTS_DIR="/media/external-drive/Documents"
XDG_DOWNLOAD_DIR="/media/external-drive/Downloads"
XDG_MUSIC_DIR="/media/external-drive/Music"
XDG_PICTURES_DIR="/media/external-drive/Pictures"
XDG_PUBLICSHARE_DIR="/media/external-drive/Public"
XDG_TEMPLATES_DIR="/media/external-drive/Templates"
XDG_VIDEOS_DIR="/media/external-drive/Videos"
And for the symlinks, if the drive already has the Desktop
, Documents
, etc directories. It is as simple as this:
ln -s /media/external-drive/* $HOME
That will symlink all the files in the drive to your $HOME
I suggest you do both because you might run into a program that doesn’t follow XDG user directories.
If you want my answer, this video sums it up pretty good: https://www.youtube.com/watch?v=x9qCqRTEVz0
More recently fedora pulled this move which causes headaches to everyone: https://gitlab.com/gnuwget/wget2/-/issues/661
To this day I notice that there is some skepticism with Btrfs, and I think it is because fedora also pushed it early.
Btrfs snapshots made me stop using ext4 all together.
Folders? you mean directories 👀
Mount the disk (if you ask me at /media/nameofdir
) and configure ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
(99% of that time that would be the .config dir in your home lol) and define each XDG_***_DIR=
to the respective directory in the path of the mounted disk, no need to make symlinks, though you might need to because there is likely many apps that don’t follow xdg specs.
I would really appreciate a GUI way
I know gnome-disks has a GUI way to change the mount options, I don’t know how good it is though.
Introducing openSUSA
A month ago or so to be able to use zramen without root password.
I have /tmp in my fstab with these mount options.
tmpfs /tmp tmpfs rw,noatime,size=20G 0 0
And the rest of the setup is done in my zprofile
It’s empty lol, it’s a directory on tmpfs that i use to build programs and similar stuff to not be hammering my ssd with unnecessary writes.
I have $XDG_CACHE_HOME
in tmp as well and I moved the mesa sharer caches to $XDG_STATE_HOME
as that’s really the only thing so far I’ve needed to preserve.
thunar (and the smaller window is the xfce4-terminal).
I’m pretty sure
sbin
originally meant static binaries and not system binaries lol