Skip to content

Commit

Permalink
add some changes to improve enabling autostart
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Apr 18, 2023
1 parent 6e8bf9e commit 9d37106
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ sudo snap install emote

An unofficial build of Emote is also available in the AUR : https://aur.archlinux.org/packages/emote.

Enable autostart:

```bash
cp -L "/var/lib/flatpak/exports/share/applications/com.tomjwatson.Emote.desktop" ~/.config/autostart/
# Or if it was installed locally:
cp -L "cp ~/.local/share/flatpak/exports/share/applications/com.tomjwatson.Emote.desktop" ~/.config/autostart/
```

## 📖 Guide

### 🚀 Launching
Expand Down
5 changes: 4 additions & 1 deletion flatpak/com.tomjwatson.Emote.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ Name=Emote
Type=Application
GenericName=Emoji picker
Comment=Modern popup emoji picker
Exec=emote
Exec=flatpak run com.tomjwatson.Emote
Categories=Utility;GTK;
Keywords=emoji,smiley,emoticon,icon
Icon=com.tomjwatson.Emote
Terminal=false
StartupNotify=false
X-Flatpak=com.tomjwatson.Emote
X-GNOME-Autostart-enabled=true
2 changes: 2 additions & 0 deletions flatpak/com.tomjwatson.Emote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ finish-args:
- --share=ipc
- --socket=wayland
- --socket=fallback-x11
# Enabling autostart: https://github.com/flatpak/flatpak/issues/118
# - --filesystem=xdg-config/autostart:create
- --device=dri
cleanup:
- /include
Expand Down

0 comments on commit 9d37106

Please sign in to comment.