move etc/xdg/autostart to more descriptive location of local/share/applications

This commit is contained in:
Aminda Suomalainen 2024-04-20 11:18:33 +03:00
parent 9bd3a05d5b
commit c9cad77caf
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
22 changed files with 23 additions and 21 deletions

1
etc/xdg/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
autostart

1
etc/xdg/autostart Symbolic link
View File

@ -0,0 +1 @@
../../local/share/applications

View File

@ -1,19 +0,0 @@
# System-wide autostart files
_Note: this directory is also being used as `~/.local/share/applications`
which populates the app menu, my autostart is thankfully not this
populated._
- redshift - app that changes screen temperature along the sun
- telegramdesktop - IM app, based on telegram-desktop package
- com.wire.WireDesktop - Wire flatpak based on the flatpak of the same name
## `a-*.desktop`
These files belong to `/usr/local/share/applications` and are named so to
avoid masking package manager. They have clearly different names such as using
all caps. To refresh them:
```bash
sudo update-desktop-database -v /usr/local/share/applications
```

View File

@ -1 +0,0 @@
../../../submodules/SteamDeckScreenLock/screenlock.desktop

View File

@ -1 +0,0 @@
../../etc/xdg/autostart

View File

@ -0,0 +1,21 @@
# `.desktop` entries
These can be used for many things such as
- `~/.local/share/applications` (graphical desktop environments populate app
menu from here)
- `~/.config/autostart` (graphical desktop environments read user autostarts
here)
- `/usr/local/share/applications` (global version of above)
- `/etc/xdg/autostart` (global version of the above)
## `a-*.desktop`
These files are companions to my script repos `bash/usr-local-bin/*` belonging
to `/usr/local/share/applications` and are named so to
avoid masking package manager. They have clearly different names such as using
all caps. To refresh them:
```bash
sudo update-desktop-database -v /usr/local/share/applications
```