[Solved] Removing keyboard shortcut for text mode
[Solved] Removing keyboard shortcut for text mode
Hello.
I am using Porteus 4 with KDE.
Recently, while changing a keyboard shortcut for some function, I pressed CTRL+ALT+F12 to set it. However, instead of setting the screen went blank and after a minute of pressing random keys and hitting my laptop, it showed me a terminal kinda screen, asking me to login. (Probably text mode logging?)
I couldn't find this shortcut anywhere in the settings.
Please help me how to remove this shortcut which takes me directly to the text mode.
What really annoys me is that there's not even any confirmation message or anything.
Solution:
A. Cannot disable or change one of these shortcuts. Can disable the whole CTRL+ALT+Fn combination shortcuts through the solution provided by ncmprhnsbl
B. Or else learn what these shortcuts / commands do. And work your way out in case of accidental press.
ncmprhnsbl
Ed_P
I am using Porteus 4 with KDE.
Recently, while changing a keyboard shortcut for some function, I pressed CTRL+ALT+F12 to set it. However, instead of setting the screen went blank and after a minute of pressing random keys and hitting my laptop, it showed me a terminal kinda screen, asking me to login. (Probably text mode logging?)
I couldn't find this shortcut anywhere in the settings.
Please help me how to remove this shortcut which takes me directly to the text mode.
What really annoys me is that there's not even any confirmation message or anything.
Solution:
A. Cannot disable or change one of these shortcuts. Can disable the whole CTRL+ALT+Fn combination shortcuts through the solution provided by ncmprhnsbl
B. Or else learn what these shortcuts / commands do. And work your way out in case of accidental press.
ncmprhnsbl
Ed_P
Last edited by meet on 16 Apr 2020, 04:31, edited 2 times in total.
- ncmprhnsbl
- DEV Team
- Posts: 3924
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Removing keyboard shortcut for text mode
this might help.. seems to suggest there may be settings for this in kde.. otherwise setxkbmap..
https://unix.stackexchange.com/question ... ing#242293
https://unix.stackexchange.com/question ... ing#242293
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Removing keyboard shortcut for text mode
I checked the setxkbmap using following command:ncmprhnsbl wrote: ↑14 Apr 2020, 12:22this might help.. seems to suggest there may be settings for this in kde.. otherwise setxkbmap..
https://unix.stackexchange.com/question ... ing#242293
Code: Select all
setxkbmap -print
- ncmprhnsbl
- DEV Team
- Posts: 3924
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Removing keyboard shortcut for text mode
yeah, it's an internal setting.. ie. not an explicit shortcut..
to turn them off do:
Code: Select all
setxkbmap -option srvrkeys:none
Code: Select all
setxkbmap -option ''
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Removing keyboard shortcut for text mode
Hey thanks for the specific solution.ncmprhnsbl wrote: ↑15 Apr 2020, 07:56yeah, it's an internal setting.. ie. not an explicit shortcut..
to turn them off do:to turn back on:Code: Select all
setxkbmap -option srvrkeys:none
Code: Select all
setxkbmap -option ''
May I know what else does it disable? What all commands or shortcuts will stop working after this?
So that I don't end up deactivating something that I use along with this terminal shortcut.
- ncmprhnsbl
- DEV Team
- Posts: 3924
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Removing keyboard shortcut for text mode
afaiui, this should only disable switching to tty from X via shift+crtl+Fn keys..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8341
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Removing keyboard shortcut for text mode
Is there a command that lists all the shift+crtl+fn keys and their functions? Rather than disabling the keys knowing what they are and what they do might be an easier solution. Especially if they are printed and handy should they get accidentally invoked.
Ed
- ncmprhnsbl
- DEV Team
- Posts: 3924
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Removing keyboard shortcut for text mode
no idea, shift+crtl+F1 to F12 access each TTY(virtual console) although porteus has only 7, so 8-12 are empty(no login prompt)
and when X(xorg display server) is running, TTY7 is taken over by the GUI..
also, they should only be disabled when running X.. eg if you drop to TTY(shut down X server) by running #init 3 (as root in a terminal) the Shft+Ctrl+Fn keys should work as normal..
if you're wondering what TTY stands for: TeleTYpewriter, a legacy term from when terminals connected to computers were electromechanical teleprinters or teletypewriters..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44