You are not logged in.

#1 2018-05-31 19:38

pbrahim
Member
Registered: 2018-05-31
Posts: 5

Auto Startup Command

How can i make this command start up automatically each time i log in ?  :

xgamma -gamma 1.5

Offline

#2 2018-05-31 20:25

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Auto Startup Command

It depends when you need to run it, if it can be run after the desktop has loaded (which it looks like it can) then create a desktop launcher (right click desktop and select Create New -> Link To Application and in the dialog box give it a name (ie set_gamma) and then select the application tab and enter your command in the Command line. Click OK to save. Next move this file to ~/.q4data/Programs/Startup/ and it will run when you start the desktop.

You can use a GUI file manager to do this or type from a terminal (in your home directory)

mv Desktop/set_gamma.desktop .q4data/Programs/Startup/

Offline

#3 2018-05-31 23:29

pbrahim
Member
Registered: 2018-05-31
Posts: 5

Re: Auto Startup Command

i created the required file on the desktop , but i don't know how to move it into the required directory i copy pasted the command you gave me but it keeps giving me 'No such file or directory'

Offline

#4 2018-05-31 23:33

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Auto Startup Command

You need to replace set_gamma.desktop in the command with the name of your own desktop file. Or you can simply use the normal file manager (Konqueror) as that would probably be easier for you.

Offline

#5 2018-05-31 23:44

pbrahim
Member
Registered: 2018-05-31
Posts: 5

Re: Auto Startup Command

Thanks

Last edited by pbrahim (2018-05-31 23:44)

Offline

#6 2018-05-31 23:45

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Auto Startup Command

You're welcome smile

Offline

Board footer

Powered by FluxBB