Samueru

joined 10 months ago
[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

It pulls the latest chromium from googleapis.com so it can do everything.

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

This is already done automatically.

AM puts the .desktop files in /usr/local/share/applications

AppMan puts them in ${XDG_DATA_HOME:-~/.local/share}applications

They also get symlinked in PATH, that is you can launch yt-dlp by typing yt-dlp on the terminal as if you had installed it with your distro package manager.

[–] [email protected] 1 points 2 weeks ago

I wonder, is there a tool that lets me script installs?

I’ll want to check if application exists, and if so, update, otherwise, install. That kind of thing.

https://github.com/ivan-hc/AM

Use AppMan to install them in HOME.

[–] [email protected] 1 points 2 weeks ago (6 children)

Check this out: https://github.com/ivan-hc/AM

Use appman and set the install directory to ~/Apps and now you will be able to install appimages/binaries in the ~/Apps dir using a package manager that keeps them up to date and that you can move to any other distro, I have all of this:

Although more recently for binaries I've been using this instead, which pulls from a massive repo of static binaries, though note that dbin needs its own separate directory in HOME to install binaries (you can't use ~/Apps that is).

[–] [email protected] 3 points 3 weeks ago* (last edited 3 weeks ago)

I’m curious, what makes AppImage a good choice for the lazy developer? Is it easier to create?

The appimage is basically just git clone -> make -> make install DESTDIR=/path/to/AppDir -> wget appimagecreationtool and finally appimagecreationtool /path/to/AppDir and that's it you have your appimage.

appimagecreationtool being several tools that can create the appimage from an AppDir, like linuxdeploy, linuxdeploqt, go-appimage, etc

And that on itself isn't complex either, it if basically running ldd on the binary, then copy those libraries into the AppDir and finally run patchelf to patch the paths in the binaries and libraries, suyu uses a deploy script instead of using those tools, which I've recently forked and began expanding.

I don't know how easy it is to make a flatpak or snap, but I do know the dev of zen browser hates dealing with the flatpak and iirc right now the flatpak is outdated as result.

EDIT: Also lite-xl has been making a flatpak for like 2 years and it isn't ready yet.

[–] [email protected] 3 points 3 weeks ago

Glad you like AM.

[–] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

. If you end up with 4.7GB for runtimes, that’s basically nothing these days

Yes but that wasn't the original comment I replied to was about.

163 flatpaks and the runtimes used 8.7GB

163 flatpaks using 8.7 GiB means that the average flatpak is using 54.6 MiB.

That's good the other time I got this linked: https://tesk.page/2023/06/04/response-to-developers-are-lazy-thus-flatpak/#but-flatpaks-are-easier-for-end-users

Which is no good as in that example there was 173 flatpaks using 27.66 GiB, average 160 MiB, while in your case the average flatpak is using 91 MiB.


This is what I have with appimages:

In this case the average appimage is using 69 MiB, though there is one outliner which is the Steam appimage that I have there (470 MiB) which is an entire conty container with its own video drivers and everything, without it the average would be 56 MiB.

I know this doesn't matter these days but once again that wasn't what the original comment was about.

Well we are talking about two gigs, after all. Unless you’re using an embedded system, it’s not a much of a concern if you ask me. But it is more, true

Thanks for the link showing an average flatpak using 54 MiB though, didn't think it was possible lol.


WAIT I just took a deeper look at the link, isn't that guy just showing the runtimes without the applications using 8.7 GiB?

[–] [email protected] 5 points 3 weeks ago (3 children)

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.

[–] [email protected] 6 points 3 weeks ago* (last edited 3 weeks ago) (8 children)

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.

[–] [email protected] 13 points 1 month ago

I'm pretty sure sbin originally meant static binaries and not system binaries lol

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

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?

[–] [email protected] 1 points 1 month ago (1 children)

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?

22
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

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

view more: next ›