You are not logged in.

#1 2009-02-28 16:12:33

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Numlockx will not start automatically no matter what

First off, I am running Archlinux 64 and I have setup numlockx many times without any problems. This time however I cannot get it to start automatically when I startx. I have it listed in my ~/.xinitrc before my desktop enviroment;

#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

# exec xterm
xscreensaver -no-splash &     
numlockx  &                 
# exec startxfce4
 exec openbox-session         
# ... or any other WM of your choosing ...

I even tried putting it in my ~/.config/openbox/autostart.sh file:

## Run the system-wide support stuff
#.$GLOBALAUTOSTART
(sleep 2 && nitrogen --restore) &
# Programsms that will run after Openbox has started
(sleep 2 && tint) &
(sleep 2 && conky) &
(sleep 2 && DISPLAY=:0.1 openbox) &
(sleep 2 && gnome-settings-daemon) &
(sleep 2 && numlockx) &
(sleep 4 &&  amixer sset Front 90% unmute && espeak -ven -s145 "Welcome Master. I am here to serve you. It is `date +%H` `date +%M`.") &

If I run it manually, it works perfectly.

Any ideals?


Thanks

BTW Everything else autostarts just fine.

Last edited by securitybreach (2009-02-28 16:21:25)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#2 2009-02-28 20:17:06

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: Numlockx will not start automatically no matter what

Anyone?


Thanks


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#3 2009-02-28 21:13:40

ent
Member
Registered: 2008-12-15
Posts: 53

Re: Numlockx will not start automatically no matter what

try

numlockx on &

Offline

#4 2009-02-28 21:48:46

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: Numlockx will not start automatically no matter what

I tried that too. Both in ~/.config/openbox/autostart and ~/.xinitrc.

Thanks though


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#5 2009-08-23 10:07:46

jazz452
Member
Registered: 2008-07-29
Posts: 21

Re: Numlockx will not start automatically no matter what

Hi did you sort out this problem cause i have the same issues use to work fine.
Like you say works fine from terminal.
Edit seems to work if i use dm ie slim

Last edited by jazz452 (2009-08-24 08:41:27)

Offline

Board footer

Powered by FluxBB