SliTaz SliTaz Forum

You are not logged in.

#1 2015-04-05 17:22:09

Genesis
Member
Registered: 2014-07-03
Posts: 109

Auto started applications using GUI

Hello guys!

This is a newbie question. Please be patient. big_smile

I’m using rolling version of Feb 1st, 2015.

The question is: I’m trying to add an application to the list of auto started applications using GUI. The goal is to make Conky start with a 10s delay.

I read the following Doc page: http://doc.slitaz.org/en:handbook:desktop#applications-started-automatically but I’m unable to find where is the Preferences/Auto Started Applications menu. When I select Preferences/Desktop Session Settings, then Automatically Started Applications tab, there’s no Add button, as described at the Doc Page cited, so I can’t add or modify applications.

If this help you to understand the situation, there’s a screenshot attached below.

Is it possible to add auto started applications using GUI?

Any help will be appreciated. Thanks in advance.

[attachment=37411,1891]

Offline

#2 2015-04-05 19:25:44

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Auto started applications using GUI

Post slitaz-4.0 gtkonly and core flavors use lxde.

This uses .desktop files located in .config/autostart folder.

The user can only enable/disable from gui Applications/Preferences/Desktop Session Settings after  adding a properly configured .desktop file.

This example will configure "Left-hand mouse" when user logs in.

Log on to users account,open terminal.

[c]cp .config/autostart/pcmanfm.desktop .config/autostart/xmodmap.desktop[/c]

[c]leafpad .config/autostart/xmodmap.desktop[/c]

Edit/Save:

[Desktop Entry]

Type=Application

Name=Left hand mouse

Name[fr]=Gestionnaire de bureau PCmanFM

Name[ru]=................ ................ .......... PCManFM

Exec=xmodmap -e "pointer = 3 2 1"

NotShowIn=XFCE;Razor;LXDE;

Logout/in Xsession and mouse button are reversed.

Open Desktop Session Settings and there is a Left hand mouse Application

To delay a program execution you would need two commands with shell construct.

[c]Exec=sh -c "sleep 10 && conky"[/c]

Offline

#3 2015-04-07 00:53:37

Genesis
Member
Registered: 2014-07-03
Posts: 109

Re: Auto started applications using GUI

Thanks @mojo for your valuable informations!

I tested it all and all works fine!

I want to add an information: editing files at ~/.config/autostart/ affects only 1 specific user. To configure the mouse for all users at the same time, one should edit the *.desktop files at /etc/xdg/autostart. (I tested it too)

When I have some free time I'll update FAQ page at Slitaz Doc.

I don't know if we should update the Handbook/Desktop#Applications Started Automatically page at Doc too, to include the new informations of this topic.

----

Topic resolved!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]