You are not logged in.

#1 2014-10-16 10:48:33

Touka
Member
Registered: 2014-10-16
Posts: 5

[Solved] Openbox Keyboard Symbols Problems

Hello, so first off I am running arch with no custom kernel on a hp g6 laptop(not sure if this makes difference). When I hold down the shift key and press 2 to make the @ symbol it makes this symbol instead "
To make the @ symbol I have to hold shift and press the quotation key.
I'm not sure what I did to cause these two keys to flip. The first desktop I installed after installing arch was kde, and I do not have this problem in kde. I tried using the localectl set-keymap and setting it to US to see if this would fix the problem. It did not, so I must assume this has to do with a config file in openbox. Any help would be gladdy appreciated smile

Last edited by Touka (2014-10-18 02:41:51)

Offline

#2 2014-10-16 11:48:50

silverhammermba
Wiki Maintainer
Registered: 2011-04-14
Posts: 156

Re: [Solved] Openbox Keyboard Symbols Problems

I don't think that is openbox's doing. Does it work correctly outside of X?

Offline

#3 2014-10-16 14:40:46

torors
Member
Registered: 2012-09-28
Posts: 106

Re: [Solved] Openbox Keyboard Symbols Problems

What is the output of

localectl status 

Offline

#4 2014-10-17 07:36:00

Touka
Member
Registered: 2014-10-16
Posts: 5

Re: [Solved] Openbox Keyboard Symbols Problems

silverhammermba; Yes, only in openbox I am having this problem.

torors;
[dan@linux ~]$ localectl status
   System Locale: LANG=en_US.UTF-8
       VC Keymap: us
      X11 Layout: us
[dan@linux ~]$

Offline

#5 2014-10-17 19:17:10

torors
Member
Registered: 2012-09-28
Posts: 106

Re: [Solved] Openbox Keyboard Symbols Problems

If this has something to do with openbox, examine your

~/.config/openbox/autostart

May be you are running some sort of command that changes the keyboard layout?

Or you may have something in:

/etc/X11/xorg.conf.d

See:
https://wiki.archlinux.org/index.php/Ke … n_in_Xorg/

Last edited by torors (2014-10-17 19:17:48)

Offline

#6 2014-10-18 01:04:21

Touka
Member
Registered: 2014-10-16
Posts: 5

Re: [Solved] Openbox Keyboard Symbols Problems

torors wrote:

If this has something to do with openbox, examine your

~/.config/openbox/autostart

May be you are running some sort of command that changes the keyboard layout?

So after looking in my openbox config I noticed a line in there where it states if I press both of the shifts keys I can toggle around keyboard maps. After pressing the shifts keys down a couple times I get to the correct keymap and the problem is solved, although, of course after rebooting I have to do the same thing again. I will try to find the  solution to this. Thank you Torors.
Here is what I have in my openbox's autostart config.

# Run the system-wide support stuff
#. $GLOBALAUTOSTART

# Programs to launch at startup
# =============================

# Start session manager
lxsession &

# Start Bluetooth applet
#bluetooth-applet &

# Enable power management
gnome-power-manager &

# Set-up keyboard maps and sytem tray switcher
# tip - quickly toggle between keyboard maps by holding both shift keys!
setxkbmap -option grp:switch,grp:shifts_toggle,grp_led:scroll gb,us,de,fr &
(sleep 10s && fbxkb) &
# ^^ note: if using the LiveCD, you can also change to a different
#          keyboard map by entering the terminal command:
#              setxkbmap xx
#          Where "xx" is the 2 letter country code.

# Force openoffice.org to use GTK theme
# enable this if you install openoffice
#export OOO_FORCE_DESKTOP=gnome

# Start volume control system tray applet
volwheel &
xfce4-mixer --restore &

udiskie -2 &

# Set desktop wallpaper
nitrogen --restore &

# Enable Eyecandy - off by default
# see "/usr/bin/crunchbang/xcompmgr-crunchbang" for more info
#xcompmgr-crunchbang --startstop &

# Start screensaver deamon
gnome-screensaver &

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

# Launch clipboard manager
#(sleep 1s && parcellite) &

# Uncomment to enable system updates at boot
#(sleep 180s && system-update) &

# Launch panel
tint2 &

Last edited by Touka (2014-10-18 01:05:29)

Offline

#7 2014-10-18 01:32:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Openbox Keyboard Symbols Problems

Why are you using a crunchbang autostart file on Arch?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2014-10-18 01:39:12

Touka
Member
Registered: 2014-10-16
Posts: 5

Re: [Solved] Openbox Keyboard Symbols Problems

jasonwryan wrote:

Why are you using a crunchbang autostart file on Arch?

I was trying to get openbox working with most of the same features as it does in Crunchbang. I also thought it would be a easy and fast method.
http://crunchbanglinux.org/wiki/adding_ … her_distro

Offline

#9 2014-10-18 01:45:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Openbox Keyboard Symbols Problems

Well, copypasta is how things get b0rked.

Comment out that keyboard call and see what happens.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2014-10-18 01:55:21

Touka
Member
Registered: 2014-10-16
Posts: 5

Re: [Solved] Openbox Keyboard Symbols Problems

jasonwryan wrote:

Well, copypasta is how things get b0rked.

Comment out that keyboard call and see what happens.

Thanks Jasonwryan! Problem is now solved.

Offline

#11 2014-10-18 02:27:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Openbox Keyboard Symbols Problems

Cool. Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB