This forum has been archived. All content is frozen. Please use KDE Discuss instead.

how to send ctrl-alt-f1 to a window

Tags: None
(comma "," separated)
jesolokde
Registered Member
Posts
7
Karma
0
OS

how to send ctrl-alt-f1 to a window

Tue Nov 10, 2009 11:44 am
Hi,

I'm working with a java appl, representing the console display of a remote host, and want to send Ctrl-Alt-F1 to it, to cause the remote host switch to the text console.

How can I "escape" the key combination? Normally, Ctrl-Alt-F1 is caught by the keyboard driver, and will switch locally at my PC to the text console.

Is it possible, to map e.g. ctrlR-ctrlL-F1 to ctrl-alt-F1?
Any other ideas?

Thanks
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Unless you are communicating with some form of a KVM then this is not possible. Applications such as VNC Servers do not have this capability.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
jesolokde
Registered Member
Posts
7
Karma
0
OS
bcooksley wrote:Unless you are communicating with some form of a KVM then this is not possible. Applications such as VNC Servers do not have this capability.

Actually, it is a KVM I want to send to. It spans a java window, but it doesn't provide a virtual keyboard.

The question is: how will a (KVM) window receive Ctrl-Alt-F1 or similar key combinations?

What the receiver will do with the key stroke, is a secondary question. Primarily I look for a way to inject a that key stroke into the application.

Is there a tool which encapsulates an application and provides a virtual keyboard?
jesolokde
Registered Member
Posts
7
Karma
0
OS
Meanwhile I recognized, that the X-Server receives ctrlRight-altRight-F1 and sends it to KDE. If I could disable the display switching, it might be a way to transfer that key strokes to the application.

Where can I disable the short cut?

How can I map the altRight and ctrlRight keys? I'm sure KDE 3.5 provided a means to do that.

Now, I'm on KDE 4.3.3.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Usually it is the responsibility of the KVM client / Emulator to provide Magic keys ( such as Right Alt/Ctrl + Fx for VirtualBox ) that perform the same role.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]