Dual pane at startup.

The dedicated forum for PCMan File Manager - http://wiki.lxde.org/en/PCManFM
Locked
fyrekrig
Posts: 1
Joined: Sun Feb 18, 2018 8:20 am

Dual pane at startup.

Post by fyrekrig »

Is it possible to set PCmanFM to start with dual pane configuration. Alternatively to start with layout were you left off.
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Dual pane at startup.

Post by drooly »

it seems not, but i happen to know that spacefm has this feature.
seppalta
Posts: 449
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: Dual pane at startup.

Post 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/.
Locked