LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-15-2024, 11:00 PM   #1
starkid
Member
 
Registered: Jan 2012
Posts: 91

Rep: Reputation: Disabled
Deadkeys ignored in root account


I log in to the root account in a terminal, press a deadkey combination, and nothing happens. Deadkeys work for the regular user account in the same terminal.

I'm not sure whether it matters, but: this is in lxterminal on Trisquel, an Ubuntu-derived distro (I re-use my xorg.conf and I've never had this problem on an Arch-derived distro), my input driver is lxinput, the keyboard layout is customized, a slightly modified version of Colemak, and the root account also ignores keystroks and improperly displays characters in the other languages I have set up in my xorg.conf.
 
Old 04-16-2024, 12:29 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
I suspect this has something to do with Trisquel's obsession with using only free software. Some hardware won't work properly without a blob or two in the kernel.
 
Old 04-16-2024, 11:22 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
If the keyboard works in a user account, it can't be a hardware problem.

What's happening is that your keyboard configuration in the user account is not being used for the root account. That's a new one on me — I have the same layout after using both "su" and "su -l". The solution is probably to copy the keyboard configuration file from ~/ to /root.
 
Old 04-16-2024, 11:50 AM   #4
starkid
Member
 
Registered: Jan 2012
Posts: 91

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by DavidMcCann View Post
What's happening is that your keyboard configuration in the user account is not being used for the root account. That's a new one on me — I have the same layout after using both "su" and "su -l". The solution is probably to copy the keyboard configuration file from ~/ to /root.
My keyboard configuration file is in /etc/X11/xorg.conf.d/

The root account is using the correct layout as far as basic keystrokes; only the deadkeys have no effect.

I am using doas instead of su...that might be relevant. If I can remember my root password, I'll see if I have the same problem with su.

Last edited by starkid; 04-16-2024 at 11:50 AM. Reason: fixed quotation
 
Old 04-17-2024, 11:51 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
You can check the components of the driver with
Code:
setxkbmap -print | grep symbols
See if you get the same result as root and user.
 
Old 04-23-2024, 12:01 AM   #6
starkid
Member
 
Registered: Jan 2012
Posts: 91

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by DavidMcCann View Post
You can check the components of the driver with
Code:
setxkbmap -print | grep symbols
See if you get the same result as root and user.
In the root account I get
Code:
Authorization required, but no authorization protocol specified
Cannot open display ":0
 
Old 04-23-2024, 10:37 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
That reply is very strange and explanation above my pay grade. I can only suggest you join the Trisquel forum and ask there.
 
  


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
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
Deadkeys in WMaker? maginotjr Slackware 1 10-04-2005 10:59 PM
fluxbox deadkeys in gentoo bulliver Linux - General 3 10-02-2003 03:24 PM
accents without deadkeys in openoffice messenjah Linux - Software 1 09-19-2003 01:06 PM
Deadkeys and XF86config oasisbob Linux - Software 3 08-04-2003 05:36 AM

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

All times are GMT -5. The time now is 05:58 PM.

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