Samueru 2 hours ago • 100%
I tested installing some web browers, kdenlive, yuzu and libreoffice and without knowing I ended up with 3 different runtimes and the total storage usage (with deduplication) was 4.79 GIB.
Meanwhile with 33 appimages that I have (which includes same flatpak apps I mentioned) are using 2.2 GiB.
It doesn't matter if they share if in the end they end up using several times more storage than the appimage equivalent.
Samueru 5 hours ago • 100%
Isn't the gnome runtime alone 2GiB? You know how many appimages that is?
Not to mention you are unlikely to only use one runtime.
Samueru 1 week ago • 100%
I'm pretty sure sbin
originally meant static binaries and not system binaries lol
Samueru 2 weeks ago • 100%
it may have the same problem.
It actually doesn't! it works thank you!
Btw when I have multiple tabs on the vomnibar, if I scroll down the list using the arrow keys it doesn't change to the next page, I instead have to use the mouse wheel to move to the next page, is there a way I can fix that?
Samueru 2 weeks ago • 100%
Is there an easy way to migrate my vimium conf to it?
Also are you sure that it displays the page icon in the active tabs menu?
I know vimium works in firefox, however I ran into this 4 year issue: https://github.com/philc/vimium/issues/3674 Is there an alternative that doesn't have that issue?
Samueru 3 weeks ago • 100%
posix sh + awk for manipulating data?
Samueru 4 weeks ago • 100%
It makes me mad to see the current state sway is in, I even bought an AMD GPU for nothing.
Samueru 1 month ago • 100%
Test adding the preferences page to "excluded URLs" in the settings of vimium.
Samueru 1 month ago • 100%
Vimium.
Samueru 1 month ago • 100%
PWA ffs
Samueru 1 month ago • 100%
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.
Samueru 1 month ago • 100%
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
Samueru 1 month ago • 100%
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.
Samueru 1 month ago • 100%
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?
Samueru 1 month ago • 100%
Manjaro: Lots of criticism from others, ironically ran 2 years without major issues. But I wanted to switch to btrfs and EOS was hyped up to be a better version of a simple Arch installation.
I had a similar story, in fact EOS has a problem that they use dracut by default and is set to overwrite the kernel parameters every time you update the system lol.
I'm very sorry you had to deal with some users from here btw, specially the nixos people.
Samueru 1 month ago • 100%
You likely saw this already, but if you haven't: https://www.reddit.com/r/Fedora/comments/mzun99/new_zram_tuning_benchmarks/
Samueru 2 months ago • 80%
Venezuela has been a target of US diplomatic aggression since they nationalized their oil.
Since 1976? Venezuela's oil was nationalized by Rafael Caldera in that year.
And yes that Rafael Caldera, the guy Chavez tried to overthrow lmao.
Samueru 2 months ago • 100%
Samueru 2 months ago • 75%
Samueru 2 months ago • 100%
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.
Samueru 2 months ago • 100%
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.
Samueru 2 months ago • 100%
Btrfs snapshots made me stop using ext4 all together.
Samueru 2 months ago • 100%
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.
Samueru 2 months ago • 100%
A month ago or so to be able to use zramen without root password.
Samueru 2 months ago • 100%
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.
Samueru 2 months ago • 100%
thunar (and the smaller window is the xfce4-terminal).
Samueru 2 months ago • 100%
zsh is actually easy and it is detailed in the archwiki
You have to set $ZDOTDIR
in /etc/zsh/zshenv
and iirc that was the only location that required root to edit.
For the rest of stuff, here is how I fix steam for example and you can check the rest of my dotfiles for how I configured zsh and all of that.
Although I haven't updated them, I still had a .local
directory back then, it was 1 week ago that I changed .local
for Local
and that let to an issue with distrobox which I made a PR fixing it that's still open though.
Samueru 2 months ago • 100%
ls -A | grep "^\."
I had to make a dummy .dotfile
to test because I don't have hidden files in my home.
Samueru 2 months ago • 94%
Shameless flex
Samueru 2 months ago • 100%
Speaking of doas, is there any advantage of using it when… sudo is still available to be used?
I like that its configuration file is very very simple.
Samueru 3 months ago • 100%
Thank you for posting this @boredsquirrel@slrpnk.net
I will later see if I can convince the gearlever dev to add aisap support, since that app targets flatpak users.
Also during testing Ivan discovered something interesting in fedora, sometimes some of the xdg-user-dirs
variable for some reason were being defined as $HOME/
with a trailing slash instead of $HOME/Scrivania
(desktop) for example, even though they were clearly defined in the conf file of xdg-user-dirs
.
am
has a check in the sandbox script that unsets these variables and makes aisap use their default location when that happens to prevent giving full access to $HOME
, I don't know if flatpak has similar measures in place.
Samueru 3 months ago • 100%
Yeah I meant this: https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
Samueru 3 months ago • 88%
Alpine still keeps /bin and /usr/bin separated.
And iirc the next fedora release will finally unify everything under /usr/bin.
Samueru 3 months ago • 100%
Samueru 3 months ago • 100%
Very interesting tool. So this is for appimages but also binaries?
Anything portable.
Thats not a sandbox, its a nice wrapper for firejail,
aisap uses bwrap it is mentioned in both links I gave you.
appman used to have firejail sandbox but it was dropped in favor of aisap because of that.
Samueru 3 months ago • 100%
Are all Appimages using that, if not what percentage of the ones you know?
Usually if the appimage has a github release with a zsync you have that verification.
And are tools like Gearlever enforcing or using that signature check?
I don't use gearlever, as far as I know gearlever doesn't even let you sandbox the appimage like AM does. I don't think any of those forces signature verification besides AppImageUpdateTool and that's because that's part of the zsync update process.
I'm a i3 user that has been trying to migrate to sway. I use it with these environment variables: ``` export XDG_DATA_HOME="$HOME/.local/share" export XDG_STATE_HOME="$HOME/.local/var/state" export XDG_CONFIG_HOME="$HOME/.local/config" export XDG_CACHE_HOME="$HOME/.local/var/cache" ``` Which gives me a clean home with only `~/.local` for my dotfiles. And issue that I've noticed that I haven't been able to fix is that every time that I start sway, hyprland and also the alpha of cosmic is that I get a new `~/.cache` directory created in my home that contains a `mesa_shader_cache` directory. Btw in the middle of writing this post I just ran into another bug, thunar for some reason decided to steal my key presses from the web browser, and even though I had the browser window focused as I have sway configured to change the border color of the window with focus, thunar was like nope wtf. Thank you all for the help, ended up opening a bug report at sway: https://github.com/swaywm/sway/issues/8191
I have this command on my i3wm configuration, which extends the 3 displays that I have into a single one for games. bindsym $mod+Shift+k exec "xrandr --setmonitor extended auto DP-1,DP-2,DP-3" The only issue that I have is, once I'm done, how do I revert back to having the displays individually? This has been driving me crazy. Searching on internet all that I've managed to find is using xrandr -s 0, which actually just turns off my other displays. And what is worse is that if I then manually turn the displays back on, THEY ARE STILL EXTENDED "xrandr -s 0" does not even reset that lol. So far what I have to do to revert the changes is to log out of my current session. SOLUTION: THE COMMAND IS: xrandr --delmonitor extended
Here is the script, which is a hack that I use with i3wm, I already converted most of it to a single line and it still works: #!/usr/bin/env bash is-leaf-node() { i3-msg -t get_tree | jq 'recurse(.nodes[]?, .floating_nodes[]?) | select(.type == "con" or .type == "floating_con") | select(.focused == true) | .nodes == []';}; parent-type() { i3-msg -t get_tree | jq -r 'recurse(.nodes[]?, .floating_nodes[]?) | select(.nodes[]?.focused == true) | .type' ;}; if [ "$(is-leaf-node)" == "true" ]; then i3-msg focus parent, focus parent; else i3-msg focus child, focus child; fi Here is where I'm stuck: The script needs the #!/usr/bin/env bash to work, it is the only script that I have that needs it. Changing it to #!/usr/bin/env bash; <SCRIPT> does not work, it has have a second line for it to work.
I'm trying to migrate from lightdm to just using startx to start my i3 session. First I had issues with kdeconnect working which were fixed by replacing exec i3 with exec dbus-launch --exit-with-session i3 in the xinitrc. Now even though the apps works it is not following the system theme, I checked qt5ct and it is telling me that QT_QPA_PLATFORMTHEME is not set to qt5ct. But I do have export QT_QPA_PLATFORMTHEME=qt5ct on my ~/.profile it seems the file is not being read but I have no idea on how to fix it.