best business builder

Start Insync On Start Up Arch Linux i3wm

What is Insync?

Insync is software that can be used to sync Google Drive on a Linux system.

Can it run when I start the computer?

Yes!

Let’s get started:

First make sure the setting “Start Insync on login” is ticked in the  Preferences section.

Second, put the following script in $HOME/.config/Insync/ and call it launch.sh

#!/bin/bash

# Sleep the script for 30 seconds to allow the computer to boot
# Then start Insync

sleep 30 && $(insync start)

 

Third, make the script executable:

chmod 755 launch.sh

The last step is to edit your i3 config file. Mine is in the default location:

$HOME/.config/i3/config

Add this line to the config file:

exec_always --no-startup-id $HOME/.config/Insync/launch.sh

 

That’s it! Now the program will launch when i3 Window Manager is started. This works with i3 and i3-gaps.


Got a project that needs expert IT support?

From Linux and Microsoft Server to VMware, networking, and more, our team at CR Tech is here to help.

Get personalized support today and ensure your systems are running at peak performance or make sure that your project turns out to be a successful one!

CONTACT US NOW
one click social media designs