diff options
author | Martin Wimpress <code@flexion.org> | 2019-06-06 15:10:32 +0100 |
---|---|---|
committer | Martin Wimpress <code@flexion.org> | 2019-06-06 15:10:32 +0100 |
commit | df5a269d2a36793b301889aaddc9701090311f2c (patch) | |
tree | 26a74e6b23556c6579b8a6ab882d0100132d5215 | |
parent | Add gir1.2-keybinder-3.0 to the instructions. (diff) | |
download | magnus-df5a269d2a36793b301889aaddc9701090311f2c.tar.gz magnus-df5a269d2a36793b301889aaddc9701090311f2c.tar.bz2 magnus-df5a269d2a36793b301889aaddc9701090311f2c.zip |
data: Add magnus-autostart.desktop.
-rw-r--r-- | data/magnus-autostart.desktop | 8 | ||||
-rwxr-xr-x | setup.py | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/data/magnus-autostart.desktop b/data/magnus-autostart.desktop new file mode 100644 index 0000000..2308891 --- /dev/null +++ b/data/magnus-autostart.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Magnus screen magnifier +Exec=magnus +NoDisplay=true +AutostartCondition=AutostartCondition=GSettings org.gnome.desktop.a11y.applications screen-magnifier-enabled +X-MATE-AutoRestart=true +NotShowIn=GNOME; @@ -38,6 +38,7 @@ def datafilelist(installbase, sourcebase): data_files = [ ('{prefix}/share/man/man1'.format(prefix=sys.prefix), glob('data/*.1')), ('{prefix}/share/applications'.format(prefix=sys.prefix), ['data/magnus.desktop',]), + ('{prefix}/etc/xdg/autostart'.format(prefix=sys.prefix), ['data/magnus-autostart.desktop',]), ] #data_files.extend(datafilelist('{prefix}/share/locale'.format(prefix=sys.prefix), 'build/mo')) |