Author Topic: F-buttons  (Read 2311 times)

gemini_user_j

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
F-buttons
« on: April 03, 2020, 09:27:10 am »
Some programs like byobu & htop rely on F buttons.

does anyone have a trick to get F-buttons handy?
I was thinking one solutions could be an additional panel (like the default menubar but scrapped for everything) that either autohides or can be invoked, having 12 shortcuts that each acts as a "soft" key.

A cool hardware solution would be to get a bluetooth/usb numpad only keyboard that can send F-key strokes either with a fn type key or some other solution.
this one looks pretty nifty as it seems to double as a usb hub, on the other hand it all adds up in the pocket:
https://ae01.alicdn.com/kf/H42a36825300549a...Windows-Mac.jpg

Or is there an even more simple solution like a customizable onsreen keyboard which can display just the desired row of keys?

looking forward to hear any thoughts

Edit: I played around with a few combinations of fn + [shift|crtl|alt] + [1|2|3|4|5|6|7|8|9|0] and maybe that could be used instead.
« Last Edit: April 03, 2020, 12:52:19 pm by gemini_user_j »
Gemini PDA x27

Eric BF

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
F-buttons
« Reply #1 on: April 04, 2020, 07:57:08 am »
Quote from: gemini_user_j
Some programs like byobu & htop rely on F buttons.

does anyone have a trick to get F-buttons handy?
On my system, Fn+Shift+N (where N is one of the number keys) gives me FN with F0 being F10 in reality.
This doesn't help for F11 and F12...
Gemini 4G Debian
OpenPandora with Debian

gemini_user_j

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
F-buttons
« Reply #2 on: April 04, 2020, 10:32:35 am »
Quote from: Eric BF
Quote from: gemini_user_j
Some programs like byobu & htop rely on F buttons.

does anyone have a trick to get F-buttons handy?
On my system, Fn+Shift+N (where N is one of the number keys) gives me FN with F0 being F10 in reality.
This doesn't help for F11 and F12...
Thanks! For me this works in firefox but not in terminal
Gemini PDA x27

Eric BF

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
F-buttons
« Reply #3 on: April 04, 2020, 10:37:00 am »
Quote from: gemini_user_j
Thanks! For me this works in firefox but not in terminal
It works in gnome-terminal; which one are you using?
Check
Code: [Select]
readlink /etc/alternatives/x-terminal-emulatormaybe.
Gemini 4G Debian
OpenPandora with Debian

gemini_user_j

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
F-buttons
« Reply #4 on: April 05, 2020, 12:39:28 pm »
Quote from: Eric BF
Quote from: gemini_user_j
Thanks! For me this works in firefox but not in terminal
It works in gnome-terminal; which one are you using?
Check
Code: [Select]
readlink /etc/alternatives/x-terminal-emulatormaybe.
it does not work for me, and I actually realized that the shortcuts in firefox were not from Fkeys but some other shortcuts.

meanwhile I have discovered `xdotool` which can send pretty much any keystroke. e.g. if I am in the terminal and do `xdotool key F11` I reliably switch to and from full screen.

I am trying to set this as an additional shortcut key, but I can't seem to get anything going. Additionally it would be nice to get some special characters that I dont have access to with the dysfunctional US International keyboard.

have anybody had success with gemian (LXQt) custom shortcuts?
Gemini PDA x27

Eric BF

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
F-buttons
« Reply #5 on: April 06, 2020, 08:35:38 am »
On my system, the key bindings (including FN keys) appear to be defined in /usr/share/X11/xkb/symbols/planet_vndr/gemini.
Maybe you need to use xkb to set these?
Gemini 4G Debian
OpenPandora with Debian