bcedu / VGrive

Google Drive client for linux
GNU General Public License v3.0
313 stars 33 forks source link

Start with OS #56

Open miguelsotobaez opened 4 years ago

miguelsotobaez commented 4 years ago

It will be great if there was an option to start when the system boot.

bcedu commented 4 years ago

Actually I don't know if this should be a feature of VGrive as the own OS should already have an option to add apps to start with the OS. For example, in elementary OS:

startapp1 startapp2

lots0logs commented 4 years ago

There is a standardized way to do this from an application that works for all distros and desktop environments. If the user chooses the option then the app simply needs to place a copy of its .desktop file in $XDG_CONFIG_DIR/autostart (which typically translates to ~/.config/autostart)

bcedu commented 4 years ago

Nice! I didn't know where the conf files were placed. Then i will work on a configuration button to add vgrive to this file

lots0logs commented 4 years ago

Just fyi: https://valadoc.org/glib-2.0/GLib.Environment.get_user_config_dir.html

Ref: https://developer.gnome.org/autostart-spec/