Page 1 of 1

Dual pane at startup.

Posted: Sun Feb 18, 2018 8:25 am
by fyrekrig
Is it possible to set PCmanFM to start with dual pane configuration. Alternatively to start with layout were you left off.

Re: Dual pane at startup.

Posted: Mon Feb 19, 2018 3:47 pm
by drooly
it seems not, but i happen to know that spacefm has this feature.

Re: Dual pane at startup.

Posted: Mon Feb 19, 2018 10:22 pm
by seppalta
It is easy enough to set-up. Be sure xdotool is installed: sudo apt-get install xdotool. Then use your text editor to create the following bash script:

Code: Select all

#!/bin/bash
pcmanfm &
sleep 1
xdotool key "F3" &
xdotool click "1" &
exit0
Save this file as pcmanfm-dp.sh. Put it in /usr/local/bin (on the path), and make sure it is executable: sudo chmod 755 /usr/local/bin/pcmanfm-dp.sh. Finish by putting pcmanfm.sh in your autostart file. For general information on pcmanfm and openbox, see http://lxlinux.com/.