nickbnf / glogg

A fast, advanced log explorer.
http://glogg.bonnefon.org/
GNU General Public License v3.0
1.17k stars 368 forks source link

[feature suggestion] Auto-start with desktop restart #205

Open yurivict opened 6 years ago

yurivict commented 6 years ago

I believe, one way to do this is to create the .desktop file in ~/.config/autostart/. qTox, for example, does it this way.

However, window managers have the propensity to auto-start such applications several times during restart.

You can create the desktop file ~/.config/autostart/glogg.desktop

[Desktop Entry]
Type=Application
Name=glogg
Exec="/usr/local/bin/glogg" "--autostart"

and, using DBus, ensure that it isn't started several times.

variar commented 6 years ago

Glogg already uses dbus or socket ipc to avoid launching several instances. This is default when invoking glogg without arguments.

nickbnf commented 6 years ago

Is there anything more to do within glogg?