Open Settings...Keyboard, and go to the Shortcuts tab. Create a custom shortcut, naming it whatever you want, and setting the "Command" path to /home/username/pcmanmove.sh. Click Apply. The right-column will say "Disable", click on it and you'll see "New Accelerator": press your shortcut key combo. I chose Ctrl+Alt+X, for example.
Now, with two tabs open in PCmanFM, press the custom shortcut to accomplish the move in one-quarter of a second! ;)
It seems it's a common bug on PCManFM or something, which is commented over here.
You can switch Tabs using [Alt] and a number from the alpha-numeric keyboard, starting with 1 for the first tab, 2 for the second one and so on.
Nevertheless, it might not work when BloqNum is turned on in your numeric keyboard, which seems to be fixed by a patch provided in the mentioned site. I tried to apply the patch but it seems to be a patch that should be applied to the PCManFM source code, so I can't inform if this is going to work.
To move a file between folders open in two adjacent tabs:
Press Ctrl, and without releasing it, press one after the other: X, Tab, V (then release Ctrl).
Do the same using a single shortcut (but still two or three key presses)
xdotool allows automation of keyboard and mouse clicks/movements; install it with
sudo apt-get install xdotool
Copy and paste the below to an
sh
file, saypcmanmove.sh
in your home directory:Make it executable with
chmod +x ~/pcmanmove.sh
Open Settings...Keyboard, and go to the Shortcuts tab. Create a custom shortcut, naming it whatever you want, and setting the "Command" path to
/home/username/pcmanmove.sh
. Click Apply. The right-column will say "Disable", click on it and you'll see "New Accelerator": press your shortcut key combo. I choseCtrl+Alt+X
, for example.Now, with two tabs open in PCmanFM, press the custom shortcut to accomplish the move in one-quarter of a second! ;)
It seems it's a common bug on PCManFM or something, which is commented over here.
You can switch Tabs using [Alt] and a number from the alpha-numeric keyboard, starting with 1 for the first tab, 2 for the second one and so on.
Nevertheless, it might not work when BloqNum is turned on in your numeric keyboard, which seems to be fixed by a patch provided in the mentioned site. I tried to apply the patch but it seems to be a patch that should be applied to the PCManFM source code, so I can't inform if this is going to work.
Good luck!