LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-22-2007, 12:43 PM   #1
Moses420ca
Member
 
Registered: Jul 2003
Distribution: Ubuntu
Posts: 142

Rep: Reputation: 15
Question "ctrl+alt+F6" -> disable the keyboard shortcut


How do I disable the keyboard shortcut "ctrl+alt+F6" on Ubuntu 7.04, so when I hit it, nothing happens?

Ubuntu replaced init with upstart event daemon. I'm not sure if that matters, but know you know.

Thanks,
Drew
 
Old 05-22-2007, 02:30 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
How do I disable the keyboard shortcut "ctrl+alt+F6" on Ubuntu 7.04, so when I hit it, nothing happens?
Why would you want to do that? If you don't want to open another terminal (the default for most linuxes), don't press those keys, or even "ctrl+alt+[F1-5]"
 
Old 05-22-2007, 03:13 PM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You can disable switching to virtual terminals with the DontVTSwitch xorg.conf option.
 
Old 05-22-2007, 03:24 PM   #4
Moses420ca
Member
 
Registered: Jul 2003
Distribution: Ubuntu
Posts: 142

Original Poster
Rep: Reputation: 15
Question

@tredegar,
I'm trying to send the keyboard shortcut "shift+ctrl+alt+F6" over a remote desktop connection to a PC running windows XP professional. It has Faronics Deepfreeze installed on it and this keyboard shortcut will allow me to temporarily shut it off. Though when I try to send this keyboard shortcut from Linux, it switches me to tty6.

Now that the "why?" is answered, on to the original question of "How do I disable this shortcut?".

I've been told that (Option "DontVTSwitch" "true") in the xorg.conf will disable all of it. That is a solution but I'd rather disable just tty6.

What daemon is listening for this keyboard shortcut and is it hard coded?


----------------
@tredegar, sorry if I sounded rude there about your why. It is a strange thing to want to do but a zero reply tread has a much better chance of getting answered.
 
Old 05-22-2007, 03:29 PM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
The X Server handles the keyboard key presses, and performs the VT Switch on that sequence.
 
Old 05-22-2007, 04:14 PM   #6
Moses420ca
Member
 
Registered: Jul 2003
Distribution: Ubuntu
Posts: 142

Original Poster
Rep: Reputation: 15
@Matir, what handles that keypress when there is no X server?
 
Old 05-22-2007, 05:20 PM   #7
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Nothing does. The normal virtual terminals respond to Alt+Fn, which I believe would be handled by Getty.
 
Old 05-22-2007, 07:59 PM   #8
Moses420ca
Member
 
Registered: Jul 2003
Distribution: Ubuntu
Posts: 142

Original Poster
Rep: Reputation: 15
very nice. Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to run "CTRL+ALT+BACKSPACE" sadarax Linux - General 3 04-29-2007 04:05 PM
"GRUB _" when booting, nothing but "ctrl+alt+del" functions rabidpencil Linux - Newbie 15 08-08-2006 10:20 AM
"Alt GR" produces Keycode for "CTRL" as well Bigpet Linux - Software 5 04-09-2006 04:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration