LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2017, 02:33 PM   #1
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Rep: Reputation: 33
losing keyboard characters in tigerVNC screen session ?


i periodically lose the following keyboard characters in a tigerVNC screen that a CLI lover like me critically depends on :

Code:
~ @ # { } <
does anybody know how to re-map or re-install lost keyboard characters in an X session ? but why does this annoyance happen in first place ??? i don't know currently of any other solution than to kill and restart the VNC session...
 
Old 10-13-2017, 03:38 PM   #2
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 33
just to explain my problem better : with xev (an X-event printer) i can easily trace the character '2' button press - while '@' as <shift><2> is only picked up as a <shift> event but not as a '@' character !

it seems that the SHIFT+'~@#{}<' key combinations have lost their meaning and i have no clue for now how to recreate them in my virtual VNC screen. this key binding problem appears to be a somewhat random issue...

moreover, i use VNC with virtual FVWM screens and display them in physical FVWN or XFCE4 screens. i am not sure yet if fvwm + xfce4 creates the problem as i cannot replicate it, it has its own agenda.

furthermore, on one of the physical screens where this virtual FVWM VNC screen is displayed at times i also have a VirtualBox running with win8 - that could be the culprit too of course...

any input ?
 
Old 10-13-2017, 09:01 PM   #3
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 33
here an addendum #2 : it seems i loose the <shift> + "~@#{}<" keyboard character combinations only with the EN english language keyboard map while switching to HU or CA-FR the same keystroke combinations work perfectly fine though produce evidently different characters. switching back and forth between languages makes no difference and does not correct the problem described above or earlier.

in my ~/.xinitrc which allows to switch languages maps with <L-shift> + <R-shift> :

Code:
 setxkbmap -layout us,hu,ca -variant fr -option grp:switch,grp:shift_toggle,grp_led:scroll
how does one recreate key-stroke-combinations for ~@#{}< ? using xmodmap ?
 
Old 10-15-2017, 11:31 AM   #4
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 33
addendum #3 : partial success ! i updated my ~/.Xmodmap file with the following lines :

Code:
keycode 49              = grave asciitilde
keycode 11              = 2 at
keycode 12              = 3 numbersign
keycode 34              = bracketleft braceleft
keycode 35              = bracketright braceright
keycode 59              = comma less
but that solved the problem only for the first three symbols ~ @ # - though not for the latter three symbols { } < !

i also played with xmodmap options such as remove and clear - without success. meanwhile i totally screwed up my keycode 11 for keysyms '2' and 'at' and subsequently emacs running in tmux refuses to accept '2' ...sigh...

how can i avoid restarting my VNC session ? how does one reestablish the characters { } < ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After selecting keyboard map the screen shows squares for some characters scootergrisen Slackware 12 02-20-2017 10:12 AM
Keep losing keyboard in GIMP leupi Linux - Software 6 10-01-2014 05:31 AM
Creating a screen session in an existing session Frits of waterplant Linux - Newbie 4 01-18-2007 04:53 AM
International characters over remote session strankan Linux - Software 0 12-12-2006 03:24 PM
I keep losing my x session extendedping Linux - Hardware 1 10-29-2006 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration