separate local/share/applications & etc/xdg/autostart

This commit is contained in:
Aminda Suomalainen 2024-04-20 11:59:43 +03:00
parent ffc4c53615
commit bec7f8bbaa
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
12 changed files with 38 additions and 23 deletions

3
conf/.gitignore vendored
View File

@ -1,2 +1,3 @@
librewolf.overrides.cfg librewolf.overrides.cfg.js
wireplumber wireplumber
autostart

1
conf/autostart Symbolic link
View File

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

1
etc/xdg/.gitignore vendored
View File

@ -1 +0,0 @@
autostart

View File

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

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

@ -0,0 +1 @@
org.telegram.desktop

View File

@ -0,0 +1,3 @@
# Autostart files for graphical desktop environments
This mostly caters for my family.

View File

@ -1,5 +1,5 @@
[Desktop Entry] [Desktop Entry]
Name=PulseEffects Name=EasyEffects
Exec=/usr/bin/flatpak run com.github.wwmm.easyeffects --gapplication-service Exec=/usr/bin/flatpak run com.github.wwmm.easyeffects --gapplication-service
Type=Application Type=Application
Icon=com.github.wwmm.easyeffects Icon=com.github.wwmm.easyeffects

View File

@ -0,0 +1 @@
/var/lib/flatpak/exports/bin/org.telegram.desktop

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Type=Application
Exec=wlsunset -l 60.46742 -L 26.94508 -t 1000
Name=wlsunset @ Kotka
Icon=wlsunset

View File

@ -1,21 +1,36 @@
# `.desktop` entries # Custom app menu entries
These can be used for many things such as These can be used for either `~/.local/share/applications` or
`/usr/local/share/applications` which are read by graphical desktop
environments for their app menus and default applications selections.
- `~/.local/share/applications` (graphical desktop environments populate app Additionally `~/.config/autostart` or `/etc/xdg/autostart` could symlink here
menu from here) so graphical desktop environments started the apps on login.
- `~/.config/autostart` (graphical desktop environments read user autostarts
here) <!-- editorconfig-checker-disable -->
- `/usr/local/share/applications` (global version of above) <!-- prettier-ignore-start -->
- `/etc/xdg/autostart` (global version of the above)
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [`a-*.desktop`](#a-desktop)
- [Refreshing the menus](#refreshing-the-menus)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->
## `a-*.desktop` ## `a-*.desktop`
These files are companions to my script repos `bash/usr-local-bin/*` belonging These files are companions to my script repos `bash/usr-local-bin/*` belonging
to `/usr/local/share/applications` and are named so to to `/usr/local/share/applications` and are named so to
avoid masking package manager. They have clearly different names such as using avoid masking package manager. They have clearly different names such as using
all caps. To refresh them: all caps.
## Refreshing the menus
```bash ```bash
update-desktop-database -v ~/.local/share/applications
sudo update-desktop-database -v /usr/local/share/applications sudo update-desktop-database -v /usr/local/share/applications
``` ```

View File

@ -1,5 +0,0 @@
[Desktop Entry]
Name=JAMI
Exec=flatpak run --env=TZ=UTC net.jami.Jami
Icon=net.jami.Jami
Type=Application

View File

@ -1,5 +0,0 @@
[Desktop Entry]
Name=TELEGRAM
Exec=/usr/local/bin/telegram-desktop
Icon=telegram
Type=Application