mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 19:29:22 +01:00
move etc/xdg/autostart to more descriptive location of local/share/applications
This commit is contained in:
parent
9bd3a05d5b
commit
c9cad77caf
1
etc/xdg/.gitignore
vendored
Normal file
1
etc/xdg/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
autostart
|
1
etc/xdg/autostart
Symbolic link
1
etc/xdg/autostart
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../local/share/applications
|
@ -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
|
|
||||||
```
|
|
@ -1 +0,0 @@
|
|||||||
../../../submodules/SteamDeckScreenLock/screenlock.desktop
|
|
@ -1 +0,0 @@
|
|||||||
../../etc/xdg/autostart
|
|
21
local/share/applications/README.md
Normal file
21
local/share/applications/README.md
Normal 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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user