Author Topic: Debian virtual consoles and F1 - F12 keys in general  (Read 2748 times)

hiltonzola

  • Newbie
  • *
  • Posts: 5
    • View Profile
Debian virtual consoles and F1 - F12 keys in general
« on: June 25, 2018, 07:34:22 am »
Hi,

I want to switch out of graphical to a virtual console (useful when things stop responding for whatever reason). On your average PC this would usually be achieved with ctrl + alt + F#.

So how do I do this using the Gemini keyboard?

Cheers

HZ

galodoido

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Debian virtual consoles and F1 - F12 keys in general
« Reply #1 on: June 25, 2018, 08:56:17 am »
key <AE01>  { [         1,      exclam,          bar,    F1 ] };
    key <AE02>  { [         2,    quotedbl,   numbersign,    F2 ] };
    key <AE03>  { [         3,    sterling,    backslash,    F3 ] };
    key <AE04>  { [         4,      dollar,     EuroSign,    F4 ] };
    key <AE05>  { [         5,     percent,         less,    F5 ] };
    key <AE06>  { [         6, asciicircum,      greater,    F6 ] };
    key <AE07>  { [         7,   ampersand,  bracketleft,    F7 ] };
    key <AE08>  { [         8,    asterisk, bracketright,    F8 ] };
    key <AE09>  { [         9,   parenleft,    braceleft,    F9 ] };
    key <AE10>  { [         0,  parenright,   braceright,   F10 ] };

So, FN+SHIFT + (1,2, ... ) will access F1, F2, etc.
I've tested only F5  in browser to refresh page, and works like a charm.
So to access console CTRL ALT F1 ( would  have to press CTRL ALT FN SHIFT and 1 keys ). I've tested here but it didn't work.
I think you will have to change  some configurations.
Unfortunately I am very busy to investigate this. Maybe this I had wroted may help.
Good luck.
« Last Edit: June 25, 2018, 09:33:23 am by galodoido »

bard

  • Newbie
  • *
  • Posts: 2
    • View Profile
Debian virtual consoles and F1 - F12 keys in general
« Reply #2 on: June 25, 2018, 09:07:59 am »
I'm also interested in being able to get to a TTY. Since we don't have proper graphics acceleration right now, it might feel smoother to work from a TTY instead of an X session.

Kiriririn

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Debian virtual consoles and F1 - F12 keys in general
« Reply #3 on: June 25, 2018, 10:05:11 am »
Quote from: bard
I'm also interested in being able to get to a TTY. Since we don't have proper graphics acceleration right now, it might feel smoother to work from a TTY instead of an X session.

It's actually the other way around, the graphics acceleration (not lack of) is the reason GUI terminals and other apps feel slow. Right now glamor is causing a substantial CPU overhead due to uploading everything via glTexSubImage2D, which is slow on Mali. If you disable glamor you get a zero copy pipeline (or at least no GPU driver involvement in the upload), at the expense of EGL based apps like Chromium, and being able to see the SDDM login screen
« Last Edit: June 25, 2018, 03:19:50 pm by Kiriririn »

hiltonzola

  • Newbie
  • *
  • Posts: 5
    • View Profile
Debian virtual consoles and F1 - F12 keys in general
« Reply #4 on: June 25, 2018, 12:52:34 pm »
Quote from: galodoido
key <AE01>  { [         1,      exclam,          bar,    F1 ] };
    key <AE02>  { [         2,    quotedbl,   numbersign,    F2 ] };
    key <AE03>  { [         3,    sterling,    backslash,    F3 ] };
    key <AE04>  { [         4,      dollar,     EuroSign,    F4 ] };
    key <AE05>  { [         5,     percent,         less,    F5 ] };
    key <AE06>  { [         6, asciicircum,      greater,    F6 ] };
    key <AE07>  { [         7,   ampersand,  bracketleft,    F7 ] };
    key <AE08>  { [         8,    asterisk, bracketright,    F8 ] };
    key <AE09>  { [         9,   parenleft,    braceleft,    F9 ] };
    key <AE10>  { [         0,  parenright,   braceright,   F10 ] };

So, FN+SHIFT + (1,2, ... ) will access F1, F2, etc.
I've tested only F5  in browser to refresh page, and works like a charm.
So to access console CTRL ALT F1 ( would  have to press CTRL ALT FN SHIFT and 1 keys ). I've tested here but it didn't work.
I think you will have to change  some configurations.
Unfortunately I am very busy to investigate this. Maybe this I had wroted may help.
Good luck.
Thanks galodoido.

It doesn't work for me either and now my fingers are all tangled in a knot!