WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Personal keyboard shortcuts  (Read 4887 times)

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Personal keyboard shortcuts
« on: February 03, 2011, 05:58:37 AM »
Hi,

I'm looking to add keyboard shortcuts to may TCL.
For example : F12 key to launch xterm.

How can i do that ?

And how can i have only MY configured shotchuts ? :)

Thanks
Daniel.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Personal keyboard shortcuts
« Reply #1 on: February 03, 2011, 06:46:07 AM »
Use a WM that lets you do so. The default FLWM doesn't have configurable keybindings.
The only barriers that can stop you are the ones you create yourself.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: Personal keyboard shortcuts
« Reply #2 on: February 03, 2011, 06:49:15 AM »
u could use actkbd
dCore user

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Personal keyboard shortcuts
« Reply #3 on: February 03, 2011, 08:14:29 AM »
:) thank you!

Is it possible with actkbd, without reboot, to activate or deactivate key just by changing the actkbd.conf ?

That would allow to lock or unlock keyboard, except some wanted key ?
:)

Daniel.

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Personal keyboard shortcuts
« Reply #4 on: February 03, 2011, 09:41:21 AM »
The others shortcuts are also active! :(

is it possible to remove all ? :)

Daniel.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Personal keyboard shortcuts
« Reply #5 on: February 03, 2011, 10:41:56 AM »
This is fully particular to specific wm in use (as curaga already implied in Reply #1), so you should really specify which wm you are using.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Personal keyboard shortcuts
« Reply #6 on: February 03, 2011, 10:46:36 AM »
I want the tinyest WM as possible!
I think FLWM is the best.

But, can i use actkbd without WM ?
for example, if i comment the .xsession "$DESKTOP" ... line ?

Thanks
Daniel.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: Personal keyboard shortcuts
« Reply #7 on: February 03, 2011, 10:58:09 AM »
do u know microcore?
dCore user

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Personal keyboard shortcuts
« Reply #8 on: February 03, 2011, 10:59:12 AM »
yes :)

tcl 3.4 with X 7.5 ...

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Personal keyboard shortcuts
« Reply #9 on: February 03, 2011, 05:17:44 PM »
I for one fail to see the sense in a keyboard shortcut to launch an xterm in an X server session without window manager...
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Personal keyboard shortcuts
« Reply #10 on: February 04, 2011, 04:19:11 AM »
My application needs that.
And it's run! :)

My application runs on a machine. I don't want the users to go (and see) to OS!
No keyboard, no mouse ... but touchscreen.
No user problem.

Actualy, the machines are under ubuntu 8.04 or ubuntu 10.04.
I'm testing TCL in order to replace both OS.
If i can do the same, i will change.
The only differences may be sound configuration and Graphical driver (for best performances).
The rest will be managed by the applications.

For information:
now, i have to mask kernel boot messages ... and try with specific graphic drivers for both machines.

Thanks
Daniel.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Personal keyboard shortcuts
« Reply #11 on: February 04, 2011, 04:45:59 AM »
I f you open more than 1 window without presence of a window manager, the windows become... unmanageable...
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Personal keyboard shortcuts
« Reply #12 on: February 04, 2011, 05:00:38 AM »
what does that means ?

I've got a firefox flash application, running with a java application (IP connexion).
Full screen for IHM ...
The user don't need any term or other window.

I sometimes need term to check the machine.
if i open a xterm, i don't notice anything bad!
But ... ?


If i use a WM, i will have to lock keyboard.
Is it possible dynamicaly ?
Depending of WM, will i loose graphics performances ?
(xfce4 or ?)
...

Thanks
Daniel.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Personal keyboard shortcuts
« Reply #13 on: February 04, 2011, 05:40:33 AM »
You could not select which of the windows would take focus, and neither switch focus between them.

For the purpose you describe, wouldn't switching to a VT serve you better than firing up an xterm?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Personal keyboard shortcuts
« Reply #14 on: February 04, 2011, 06:10:07 AM »
The focus is set by mouse coordinates.
I will try without, if the touchscreen does the same ?!?

why not ... but if it is ok with my touchscreen, i don't know why i can't continue like this ? :)

Thanks
Daniel.

PS: the only think i risk to have :
inactivate black screen.
xset -dpms
xset s off
seems to don't work :(
« Last Edit: February 04, 2011, 06:11:42 AM by Daniel »