diff options
-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')) |