LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-28-2010, 03:57 PM   #1
addr1
LQ Newbie
 
Registered: Oct 2008
Posts: 12

Rep: Reputation: 0
Fluxbox keybinding


I want to have a keybinding for the 'Restart' command in Flux's menu.

Code:
Restart <argument>     # Restarts fluxbox, argument can be the binary of another window manager to which will be switched
So what <argument> would I put here? I don't want to start another WM.
Do I need Exec in front of Restart/restart?

Code:
Mod4 F9 :Restart
 
Old 05-28-2010, 04:40 PM   #2
addr
LQ Newbie
 
Registered: Sep 2009
Posts: 21

Rep: Reputation: 0
Code:
Mod4 F9 :Reconfigure

Last edited by addr; 05-28-2010 at 04:43 PM. Reason: Case error
 
Old 05-28-2010, 04:44 PM   #3
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
It would have helped if you had posted what distro you are using.
Anyway,here's how i do it with Debian:

http://forums.debian.net/viewtopic.p...13792&start=15

Specifically post #4 by Lux.
 
Old 05-29-2010, 04:19 AM   #4
addr
LQ Newbie
 
Registered: Sep 2009
Posts: 21

Rep: Reputation: 0
trooper

I think he's talking about 'Restart' Fluxbox only (as in the default menu) not 'Reboot'the computer.
 
Old 05-29-2010, 05:26 AM   #5
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
An exert from Lux's post:

Code:
[exec] (Reboot) {sudo /sbin/shutdown -r now}
[exec] (Shutdown) {sudo /sbin/shutdown -p now}
The reboot entry will reboot the machine not just restart Fluxbox.
Also i had to change the shutdown command,YMMV:

Code:
sudo /sbin/shutdown -h now
The entry for restarting Fluxbox is:

Code:
[restart] (Restart Fluxbox)
Hope this clarifies for you.

Last edited by the trooper; 05-29-2010 at 01:31 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome Keybinding samkhanski Linux - Newbie 0 01-01-2007 12:58 PM
Keybinding for CTRL+Z starunj Linux - General 0 02-18-2006 05:00 AM
Gnome Keybinding issue runlevel0 Linux - Software 0 12-09-2005 09:54 AM
emacs keybinding wildcat22 Programming 2 11-19-2005 01:41 PM
touchpad OFF keybinding mandrakemikael Linux - Laptop and Netbook 0 01-10-2005 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:32 AM.

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