[SOLVED]Whats the command for Ctrl-Alt-Backspace ?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

[SOLVED]Whats the command for Ctrl-Alt-Backspace ?

Postby soup2511 on Wed Feb 13, 2013 3:58 pm

Hi, I was wondering what the equivalent command of the key combination Ctrl-Alt-Backspace. In mint 14 cinnamon , it restarts the system without rebooting ..
Last edited by soup2511 on Thu Feb 14, 2013 1:24 am, edited 1 time in total.
HP dv6-6155tx
Intel core i5-2430M @ 2.4 GHz
4GB 1333MHz DDR3 RAM / 750GB HDD
Intel HD3000 / ATI Radeon 6490M 1GB
soup2511
Level 1
Level 1
 
Posts: 20
Joined: Fri Feb 08, 2013 9:40 am

Linux Mint is funded by ads and donations.
 

Re: Whats the command for Ctrl-Alt-Backspace ?

Postby xenopeek on Wed Feb 13, 2013 4:04 pm

Don't know, though I do know (from the Startup Applications) that the following command binds this keyboard shortcut to do that action:
Code: Select all
setxkbmap -option terminate:ctrl_alt_bksp
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15280
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Whats the command for Ctrl-Alt-Backspace ?

Postby soup2511 on Wed Feb 13, 2013 4:13 pm

xenopeek wrote:Don't know, though I do know (from the Startup Applications) that the following command binds this keyboard shortcut to do that action:
Code: Select all
setxkbmap -option terminate:ctrl_alt_bksp


Yeah , I saw that too .... But that command looks like it maps the command to terminate something to Ctrl-Alt-Backspace.
HP dv6-6155tx
Intel core i5-2430M @ 2.4 GHz
4GB 1333MHz DDR3 RAM / 750GB HDD
Intel HD3000 / ATI Radeon 6490M 1GB
soup2511
Level 1
Level 1
 
Posts: 20
Joined: Fri Feb 08, 2013 9:40 am

Re: Whats the command for Ctrl-Alt-Backspace ?

Postby karlchen on Wed Feb 13, 2013 5:23 pm

Hello, soup2511.

<Ctrl><Alt><Backspace> sends a terminate signal to the X server software. This will end all applications running inside the graphical desktop. The X server will be automatically restarted and take you back to the graphical logon screen.
<Ctrl><Alt><Backspace> is not specific to Mint 14, but available on (almost?) all Linux environments which run an X server.
<Ctrl><Alt><Backspace> is useful in cases where the graphical desktop has got unresponsive otherwise.

Kind regards,
Karl
User avatar
karlchen
Level 11
Level 11
 
Posts: 3990
Joined: Sat Dec 31, 2011 7:21 am

Re: Whats the command for Ctrl-Alt-Backspace ?

Postby soup2511 on Wed Feb 13, 2013 5:44 pm

karlchen wrote:Hello, soup2511.

<Ctrl><Alt><Backspace> sends a terminate signal to the X server software. This will end all applications running inside the graphical desktop. The X server will be automatically restarted and take you back to the graphical logon screen.
<Ctrl><Alt><Backspace> is not specific to Mint 14, but available on (almost?) all Linux environments which run an X server.
<Ctrl><Alt><Backspace> is useful in cases where the graphical desktop has got unresponsive otherwise.

Kind regards,
Karl


Right.
So if i give that command
Code: Select all
setxkbmap -option terminate:ctrl_alt_bksp
it should have the same effect ?! My trouble is not actually the command .... I wnt to create a script file to run on startup .. For that purpose I need the actual command which when entered into the terminal window will produce the same effect as that of Ctrl-Alt-Bckspace
HP dv6-6155tx
Intel core i5-2430M @ 2.4 GHz
4GB 1333MHz DDR3 RAM / 750GB HDD
Intel HD3000 / ATI Radeon 6490M 1GB
soup2511
Level 1
Level 1
 
Posts: 20
Joined: Fri Feb 08, 2013 9:40 am

Re: Whats the command for Ctrl-Alt-Backspace ?

Postby xenopeek on Wed Feb 13, 2013 6:01 pm

No, as I shared this command only binds the keyboard shortcut to the action of terminating the X server.

It seems the following command will do what you want:
Code: Select all
sudo pkill X
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15280
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Whats the command for Ctrl-Alt-Backspace ?

Postby soup2511 on Thu Feb 14, 2013 1:24 am

xenopeek wrote:No, as I shared this command only binds the keyboard shortcut to the action of terminating the X server.

It seems the following command will do what you want:
Code: Select all
sudo pkill X


Yep, that's it !!! Thanks
HP dv6-6155tx
Intel core i5-2430M @ 2.4 GHz
4GB 1333MHz DDR3 RAM / 750GB HDD
Intel HD3000 / ATI Radeon 6490M 1GB
soup2511
Level 1
Level 1
 
Posts: 20
Joined: Fri Feb 08, 2013 9:40 am

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], Google Adsense [Bot], JBoul824, lewtwo and 24 guests