Topic: Keyboard no longer working :l (SOLVED)

I got annoyed with the UK keyboard ( sorry brits tongue )
So i tried changing it to english and stupid me rather than changing the two letter thing to US, i changed it to EN ....
And now i restarted and my keyboard doesnt work.
Any ideas?
GUI programs that can fix this, or anything?
Thanks so much!

Im inst Statler by the way and i used that guide in the statler forum

Last edited by bolle (2010-09-05 02:32:16)

I once installed gentoo. It asked me for a sacrifice and would not install itself unless I gave him my neighbor's first born and my best bottle of Whiskey.  -Awebb 2011

Re: Keyboard no longer working :l (SOLVED)

This is a bit of a strange predicament.

However, so long as your mouse works, and you have a third button somewhere on it (mouse wheel or some button somewhere), just open up your autostart file from openbox, hilight some text that says US, and insert it into your file where you put EN. Be sure not to highlight EN. Once you have inserted it next to EN, highlight EN and then right-click and choose "cut". Save the file, reboot, and that *should* work.

A world without what makes us, us. One without you or me.
A world with no differences, this is the world I see.

Re: Keyboard no longer working :l (SOLVED)

Thank aloe smile



Butt

I can't paste into etc default keyboard..
Any suggestions?

I once installed gentoo. It asked me for a sacrifice and would not install itself unless I gave him my neighbor's first born and my best bottle of Whiskey.  -Awebb 2011

Re: Keyboard no longer working :l (SOLVED)

Hmmm...
The only thing that comes to mind is to replace your autostart.sh with a stock #! autostart.sh. I'll try to find one.

EDIT: Found one.

## Openbox autostart.sh
## ====================
## When you login to your CrunchBang Openbox session, this autostart script 
## will be executed to set-up your environment and launch any applications
## you want to run at startup.
##
## More information about this can be found at:
## http://openbox.org/wiki/Help:Autostart
##
## If you do something cool with your autostart script and you think others
## could benefit from your hack, please consider sharing it at:
## http://crunchbanglinux.org/forums/
##
## Have fun! :)

## Start session manager
lxsession &

## Enable power management
xfce4-power-manager &

## Start Thunar Daemon
thunar --daemon &

## Set desktop wallpaper
nitrogen --restore &

## Launch panel
tint2 &

## Enable Eyecandy - off by default, uncomment one of the commands below.
## Note: cairo-compmgr prefers a sleep delay, else it tends to produce
## odd shadows/quirks around tint2 & Conky.
#(sleep 10s && cb-compmgr --cairo-compmgr) &
#cb-compmgr --xcompmgr & 

## Launch network manager applet
(sleep 4s && nm-applet) &

## Detect and configure touchpad. See 'man synclient' for more info.
if egrep -iq 'touchpad' /proc/bus/input/devices; then
    synclient VertEdgeScroll=1 &
    synclient TapButton1=1 &
fi

## Start xscreensaver
xscreensaver -no-splash &

## Start Conky after a slight delay
(sleep 3s && conky -q) &

## Start volumeicon after a slight delay
(sleep 3s && volumeicon) &

## Nautilus gconf settings, minimises the impact of running Nautilus under
## a pure Openbox session. Safe to delete if you are never going to use Nautilus,
## or, uncomment if you plan on installing and using Nautilus.
#gconftool-2 -s -t bool /apps/nautilus/preferences/show_desktop false &
#gconftool-2 -s -t bool /desktop/gnome/background/draw_background false &
#gconftool-2 -s -t bool /apps/nautilus/preferences/show_advanced_permissions true &

## The following command will set-up a keyboard map selection tool when
## running in a live session.
cb-setxkbmap-live &

## cb-welcome - post-installation script, will not run in a live session and
## only runs once. Safe to remove.
(sleep 10s && cb-welcome --firstrun) &

## cb-fortune - uncomment the line below to have Statler say a little adage
#(sleep 120s && cb-fortune) &

Using whatever computer you are using to type here, copy this, save it as autostart.sh (a text file if on windows), move it to your #! installation, and replace your old autostart.sh with this.

Last edited by Him (2010-09-04 15:15:56)

A world without what makes us, us. One without you or me.
A world with no differences, this is the world I see.

Re: Keyboard no longer working :l (SOLVED)

the thing is..
i CAN copy my autostart,sh file
but
i just cant paste into etc/default/keyboard..
i think i need to be root

I once installed gentoo. It asked me for a sacrifice and would not install itself unless I gave him my neighbor's first born and my best bottle of Whiskey.  -Awebb 2011

Re: Keyboard no longer working :l (SOLVED)

bolle wrote:

the thing is..
i CAN copy my autostart,sh file
but
i just cant paste into etc/default/keyboard..
i think i need to be root

You don't need to. Go to /home/yourusernamehere/.config/openbox and there will be a file called autostart.sh there.

A world without what makes us, us. One without you or me.
A world with no differences, this is the world I see.

Re: Keyboard no longer working :l (SOLVED)

I can get to my startup.sh
i can copy the word US from that file
I can open /etc/default/keyboard
I CANNOT paste into /etc/default/keyboard

sad

I once installed gentoo. It asked me for a sacrifice and would not install itself unless I gave him my neighbor's first born and my best bottle of Whiskey.  -Awebb 2011

Re: Keyboard no longer working :l (SOLVED)

Can you add "setxkbmap us" to your autostart?

To edit /etc/default/keyboard file run either of these commands (one for CLI the other for GUI):

sudo nano /etc/default/keyboard
gksudo gedit /etc/default/keyboard
Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Keyboard no longer working :l (SOLVED)

Maybe you'll have to boot into a live session (presumably your keyboard will work), then mount your hard drive and modify /etc/default/keyboard.

John
------------------------
( a boring Japan blog , and idle twitterings )
“There is more Unix-nature in one line of shell script than there is in ten thousand lines of C.” - Master Foo

Re: Keyboard no longer working :l (SOLVED)

I'll try the live cd trick..
Anonymous I cant inpu those commands, no keyboard lol

I once installed gentoo. It asked me for a sacrifice and would not install itself unless I gave him my neighbor's first born and my best bottle of Whiskey.  -Awebb 2011

Re: Keyboard no longer working :l (SOLVED)

Okay that did the trick thanks slot guys!

I once installed gentoo. It asked me for a sacrifice and would not install itself unless I gave him my neighbor's first born and my best bottle of Whiskey.  -Awebb 2011

12

Re: Keyboard no longer working :l (SOLVED)

Remember to edit your first post and change the title to [SOLVED].

A world without what makes us, us. One without you or me.
A world with no differences, this is the world I see.