Archive

Archive for May, 2015

Restart fluxbox off the command line

May 7, 2015 Leave a comment

Problem:
When switching between 1 and 2 screens, I kept on manually having to restart fluxbox.

Solution:
fluxbox-remote command allows me to restart fluxbox using a script. As I already have a script that does the switching between 1 and 2 screens this was pretty neat.

To configure
1. Edit ~/.fluxbox/init change

session.screen0.allowRemoteActions: false
to
session.screen0.allowRemoteActions: true

2. Restart fluxbox using the menu.

3. Open a terminal and run the following command

$ fluxbox-remote restart


Source:

https://www.linuxquestions.org/questions/slackware-14/how-do-i-run-menu-and-logout-from-the-command-line-in-fluxbox-864919/

Advertisements