Creating Automatic Tasks

kiran

New Member
Joined
Apr 25, 2017
Messages
4
Reaction score
0
Credits
0
I want to create a task that opens some apps automatically when I log in to my PC every time. How can I accomplish this??
 


Rob

Administrator
Staff member
Joined
Oct 27, 2011
Messages
1,161
Reaction score
2,107
Credits
3,161
Hey there kiran,

Are you looking to start programs when you log into your GUI? Or run some scripts automatically when you log in via terminal/ssh?

Welcome to the forum!

Rob
 
OP
K

kiran

New Member
Joined
Apr 25, 2017
Messages
4
Reaction score
0
Credits
0
Hey there kiran,

Are you looking to start programs when you log into your GUI? Or run some scripts automatically when you log in via terminal/ssh?

Welcome to the forum!

Rob
I want to the task to be started when I switch on the computer, press the power button, enter the password and log-in to my system
 

Rob

Administrator
Staff member
Joined
Oct 27, 2011
Messages
1,161
Reaction score
2,107
Credits
3,161
There are ways to set this up.. upon boot by putting something like this in cron:
Code:
@reboot /path/to/task

If you're logging in via ssh and want something to run automatically, you can put a line in your .bash_profile file in your home directory...

If you're logging in via a GUI like Unity, XFCE, Gnome, etc.. they should each have ways to accomplish this as well.

I'm thinking you mean when you log into your desktop graphical session.. which window manager are you using? For example, the default w/ Ubuntu is Unity (for the time being)
 

Cybercraft

New Member
Joined
Apr 25, 2017
Messages
11
Reaction score
20
Credits
0
For gnome, you must install 'gnome-tweak-tools' and, after relaunch, in gnome-tweak-tools, in tab 'Startup application's, add you scripts/applications (cfr: image in french :( because i'm french)

Capture du 2017-04-27 15-49-23.png
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top