this post was submitted on 14 Nov 2024
155 points (98.1% liked)
technology
23306 readers
228 users here now
On the road to fully automated luxury gay space communism.
Spreading Linux propaganda since 2020
- Ways to run Microsoft/Adobe and more on Linux
- The Ultimate FOSS Guide For Android
- Great libre software on Windows
- Hey you, the lib still using Chrome. Read this post!
Rules:
- 1. Obviously abide by the sitewide code of conduct. Bigotry will be met with an immediate ban
- 2. This community is about technology. Offtopic is permitted as long as it is kept in the comment sections
- 3. Although this is not /c/libre, FOSS related posting is tolerated, and even welcome in the case of effort posts
- 4. We believe technology should be liberating. As such, avoid promoting proprietary and/or bourgeois technology
- 5. Explanatory posts to correct the potential mistakes a comrade made in a post of their own are allowed, as long as they remain respectful
- 6. No crypto (Bitcoin, NFT, etc.) speculation, unless it is purely informative and not too cringe
- 7. Absolutely no tech bro shit. If you have a good opinion of Silicon Valley billionaires please manifest yourself so we can ban you.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I was trying to create desktop entries, you know, the .desktop files that are read by DEs. The usr folder is write protected so I looked how to do this specifically in immutable distros.
In fact, I realised waaaay too late that the home folder was "~". Afterwards I realised that yes, the desktop entry documentation did refer to this other folder where desktop entries can be placed, but everytime I saw a folder path starting with ~ I assumed it was some convention, like starting a command with $.
I was asking more what program you were trying to make .desktop files of, I should have been clearer, sorry for that.
I thought you were trying to make shortcuts for already installed programs on your desktop. If that were the case, on KDE at least you could just right click a program on the start menu and click to add it to the desktop.
But I totally get your frustration, the two locations for storing configurations should be communicated better for new users of Linux.
As a rule of thumb, most of the time you can always put configurations on your home folder, an example of this is if you need or want to mess with Pipewire configurations (system audio application), where instructions on the internet will tell you to put it somewhere with root access, but in reality you can just put it in a specific place on your home folder too, which is way easier.
And yeah, ~ always points to your user directory, it's another one of those Linux things that are common knowledge, but that new users aren't told about until they stumble upon it and have to search for.
Another way of specifying user directory without using your user name for that occasional application that for some reason doesn't accept ~, is to use /home/$USER/ in case you ever need that.
There are two cases where I needed to manually create a desktop entry, one was Intelliji Idea that starts up by running a bash script, and Godot Engine that has a single executable downloaded directly from the internet.
Thanks you for all the tips that's so cool comrade Mazov!