startup script location

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

startup script location

Post by mimosa »

What is the proper place to put an X-related startup script? In the past I have tended to just add custom lines to .xinitrc, but what is a more correct (and WM/DE-agnostic) way?

The example I'm thinking of is just turning off the tracker pad on my laptop (synclient TouchpadOff=1), but there could be others eventually.
DidierSpaier
Posts: 539
Joined: 20. Jun 2016, 20:15

Re: startup script location

Post by DidierSpaier »

This doesn't actually answer your question, but in this specific case if possible I'd just blacklist the module that drives the touchpad.

For instance here (Lenovo Thinkad W520): "blacklist psmouse". Fortunately my USB mouse still works after that.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: startup script location

Post by laprjns »

“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: startup script location

Post by gapan »

You can put .desktop files in ~/.config/autostart/ and all XDG-compliant DEs/WMs will use them. That is not universal though, as not all WMs are XDG-compliant.
Image
Image
Post Reply