Add autostart desktop file.
This commit is contained in:
@ -3,7 +3,20 @@ SUBDIRS = icons themes keyboards
|
|||||||
desktopdir = $(datadir)/applications
|
desktopdir = $(datadir)/applications
|
||||||
desktop_in_files = eekboard.desktop.in
|
desktop_in_files = eekboard.desktop.in
|
||||||
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
||||||
|
|
||||||
|
if ENABLE_ATSPI
|
||||||
|
autostartdir = $(sysconfdir)/xdg/autostart
|
||||||
|
autostart_in_files = eekboard-autostart.desktop.in
|
||||||
|
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
|
||||||
|
endif
|
||||||
|
|
||||||
@INTLTOOL_DESKTOP_RULE@
|
@INTLTOOL_DESKTOP_RULE@
|
||||||
|
|
||||||
CLEANFILES = $(desktop_DATA)
|
CLEANFILES = $(desktop_DATA)
|
||||||
EXTRA_DIST = $(desktop_in_files)
|
EXTRA_DIST = $(desktop_in_files)
|
||||||
|
|
||||||
|
if ENABLE_ATSPI
|
||||||
|
CLEANFILES += $(autostart_DATA)
|
||||||
|
EXTRA_DIST += $(autostart_in_files)
|
||||||
|
endif
|
||||||
|
|
||||||
|
|||||||
6
data/eekboard-autostart.desktop.in
Normal file
6
data/eekboard-autostart.desktop.in
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Eekboard
|
||||||
|
Exec=eekboard -f
|
||||||
|
Type=Application
|
||||||
|
AutostartCondition=GSettings org.gnome.desktop.a11y.applications screen-keyboard-enabled
|
||||||
|
X-GNOME-AutoRestart=true
|
||||||
Reference in New Issue
Block a user