Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, here is my question: I want to start my Ubuntu 10.04 and without logging in I need a command started. The command is setxkbmap .... So, I will not ...
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    1

    execute command without login

    Hello,

    here is my question: I want to start my Ubuntu 10.04 and without logging in I need a command started. The command is setxkbmap ....

    So, I will not put the command in my .profile, nor in my .bashrc, because I am not going to login.

    Any suggestions?
    Thanks!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    Do you always want it to run when the system boots? If so, then put it in /etc/rc.local which is a shell script designed for such a purpose.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...