go-appimage icon indicating copy to clipboard operation
go-appimage copied to clipboard

Do not create ~/Applications folder unconditionally

Open eMPee584 opened this issue 5 years ago • 7 comments

.. because if not used, it just noise.

eMPee584 avatar Nov 23 '20 17:11 eMPee584

Well, I'd like to avoid configurability because it results in complexity. Users are supposed to put AppImages into ~/Applications. Before this directory was automatically created, I kept getting questions all the time "where to put the AppImages"...

probonopd avatar Nov 23 '20 19:11 probonopd

Ok that reasoning is valid – unless you don't like an empty unused Applications folder.. Let me ponder more about this :thinking:

eMPee584 avatar Nov 23 '20 19:11 eMPee584

You could put a file named .hidden into ~ with the content Applications. Result: It is no more visible.

probonopd avatar Nov 23 '20 19:11 probonopd

Yeah I'm considering that.. another hacky workaround :rofl:

eMPee584 avatar Nov 23 '20 19:11 eMPee584

Have you thought about your users are supposed to update apps?

Does your USB sticks have persistence?

probonopd avatar Nov 23 '20 19:11 probonopd

Yes, persistence is mandatory :grin: still thinking about it.. Problem is, the live user's home directory will be created on first boot from /etc/skel and putting n-hundred MiBs of appimages there is :unamused: .. Also, I disabled automatic creation of xdg user dirs ( https://github.com/fsfw-dresden/usb-live-linux/tree/master/features/config_no_autocreation_of_user_dirs/ ) so Downloads and Desktop are the only two directories by default..

eMPee584 avatar Nov 23 '20 19:11 eMPee584

@probonopd How about an optional environment variable that functions like the PATH variable?

By default, for e.g., if APPIMAGE_PATH is unset or empty, create ~/Applications, and also look for AppImages in ~/Applications, ~/Downloads, etc.

kcthrn avatar Feb 07 '21 04:02 kcthrn