mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-23 19:59:21 +01:00
separate local/share/applications & etc/xdg/autostart
This commit is contained in:
parent
ffc4c53615
commit
bec7f8bbaa
3
conf/.gitignore
vendored
3
conf/.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
librewolf.overrides.cfg
|
||||
librewolf.overrides.cfg.js
|
||||
wireplumber
|
||||
autostart
|
||||
|
1
conf/autostart
Symbolic link
1
conf/autostart
Symbolic link
@ -0,0 +1 @@
|
||||
../etc/xdg/autostart
|
1
etc/xdg/.gitignore
vendored
1
etc/xdg/.gitignore
vendored
@ -1 +0,0 @@
|
||||
autostart
|
@ -1 +0,0 @@
|
||||
../../local/share/applications
|
1
etc/xdg/autostart/.gitignore
vendored
Normal file
1
etc/xdg/autostart/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
org.telegram.desktop
|
3
etc/xdg/autostart/README.md
Normal file
3
etc/xdg/autostart/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Autostart files for graphical desktop environments
|
||||
|
||||
This mostly caters for my family.
|
@ -1,5 +1,5 @@
|
||||
[Desktop Entry]
|
||||
Name=PulseEffects
|
||||
Name=EasyEffects
|
||||
Exec=/usr/bin/flatpak run com.github.wwmm.easyeffects --gapplication-service
|
||||
Type=Application
|
||||
Icon=com.github.wwmm.easyeffects
|
1
etc/xdg/autostart/org.telegram.desktop
Symbolic link
1
etc/xdg/autostart/org.telegram.desktop
Symbolic link
@ -0,0 +1 @@
|
||||
/var/lib/flatpak/exports/bin/org.telegram.desktop
|
5
etc/xdg/autostart/wlsunset-kotka.desktop
Normal file
5
etc/xdg/autostart/wlsunset-kotka.desktop
Normal file
@ -0,0 +1,5 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Exec=wlsunset -l 60.46742 -L 26.94508 -t 1000
|
||||
Name=wlsunset @ Kotka
|
||||
Icon=wlsunset
|
@ -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
|
||||
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)
|
||||
Additionally `~/.config/autostart` or `/etc/xdg/autostart` could symlink here
|
||||
so graphical desktop environments started the apps on login.
|
||||
|
||||
<!-- editorconfig-checker-disable -->
|
||||
<!-- prettier-ignore-start -->
|
||||
|
||||
<!-- 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`
|
||||
|
||||
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:
|
||||
all caps.
|
||||
|
||||
## Refreshing the menus
|
||||
|
||||
```bash
|
||||
update-desktop-database -v ~/.local/share/applications
|
||||
sudo update-desktop-database -v /usr/local/share/applications
|
||||
```
|
||||
|
@ -1,5 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=JAMI
|
||||
Exec=flatpak run --env=TZ=UTC net.jami.Jami
|
||||
Icon=net.jami.Jami
|
||||
Type=Application
|
@ -1,5 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=TELEGRAM
|
||||
Exec=/usr/local/bin/telegram-desktop
|
||||
Icon=telegram
|
||||
Type=Application
|
Loading…
Reference in New Issue
Block a user