Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ahh, sorry for that, add a shell script to /etc/init.d (directory). For example, have a.sh which contains:

#!/bin/bash
xinput disable 10

PS: Thanks @FransiscoD_ for the edit :)

Ahh, sorry for that, add a shell script to /etc/init.d (directory). Autostart (~/.kde/Autostart for KDE). For example, have a.sh which contains:

#!/bin/bash
xinput disable 10

PS: Thanks @FransiscoD_ for the edit :)

EDIT: In that case, open Autostart in System Settings and open the file there.

Ahh, sorry Ok, rewriting. Sorry for that, add the mess-up.

First, write a shell script called MY_SCRIPT.sh using echo:

 echo -e "\#\!/bin/bash\nxinput disable 10" > MY_SCRIPT.sh #copy, paste, run this in the terminal

KDE: GUI

  1. Open Kickoff, and search Autostart.

  2. Click Add Script, and select the script (can be in any folder).

  3. Log out and back in.

KDE: CLI

  1. Open a terminal.

  2. Link or copy the script to Autostart (~/.kde/Autostart ~/.kde/Autostart using ln -s MY_SCRIPT.sh ~/.kde/Autostart/. or cp MY_SCRIPT.sh ~/.kde/Autostart/.

  3. Log out and back in.

GNOME: GUI

Follow this picture/link for KDE). For example, have a.sh which contains:

#!/bin/bash
xinput disable 10

PS: Thanks @FransiscoD_ more info:

https://pragtob.files.wordpress.com/2012/04/startup_apps.png

http://pragtob.wordpress.com/2012/04/17/autostarting-applications-in-linux-mint-debian-edition/

If you're wondering why this is Linux Mint, don't worry, it's almost the same in Fedora 20 :).

Other desktop environments: CLI

  1. Open a terminal.

  2. Link or copy the script to ~/.kde/Autostart using ln -s MY_SCRIPT.sh ~/.config/autostart/. or cp MY_SCRIPT.sh ~/.config/autostart/.

  3. Log out and back in.

Note: this method will work for the edit all desktop environments, including KDE and GNOME.

Why did my old method not work? I think it's because Fedora doesn't use init booting anymore :) Sorry for that :)

EDIT: In that case, open Autostart in System Settings and open the file there.

HTH, James

Ok, rewriting. Sorry for the mess-up.

First, write a script called MY_SCRIPT.sh using echo:

 echo -e "\#\!/bin/bash\nxinput disable 10" 'Atmel Atmel maXTouch Digitizer'" > MY_SCRIPT.sh #copy, paste, run this in the terminal

KDE: GUI

  1. Open Kickoff, and search Autostart.

  2. Click Add Script, and select the script (can be in any folder).

  3. Log out and back in.

KDE: CLI

  1. Open a terminal.

  2. Link or copy the script to ~/.kde/Autostart using ln -s MY_SCRIPT.sh ~/.kde/Autostart/. or cp MY_SCRIPT.sh ~/.kde/Autostart/.

  3. Log out and back in.

GNOME: GUI

Follow this picture/link for more info:

https://pragtob.files.wordpress.com/2012/04/startup_apps.png

http://pragtob.wordpress.com/2012/04/17/autostarting-applications-in-linux-mint-debian-edition/

If you're wondering why this is Linux Mint, don't worry, it's almost the same in Fedora 20 :).

Other desktop environments: CLI

  1. Open a terminal.

  2. Link or copy the script to ~/.kde/Autostart using ln -s MY_SCRIPT.sh ~/.config/autostart/. or cp MY_SCRIPT.sh ~/.config/autostart/.

  3. Log out and back in.

Note: this method will work for all desktop environments, including KDE and GNOME.

Why did my old method not work? I think it's because Fedora doesn't use init booting anymore :) Sorry for that :)

HTH, James