Since my main data is not in
$HOME, I have made a small (executable) script to start the GUI file manager (
caja) in the desired directory and put it in my local executable directory (
#!/bin/bash /usr/bin/caja /datadir
To supersede the standard command
caja, the script has the same name and the path to my local executables is listed first in my
if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi
Works fine so far, BUT whenever I log in the file manager is opened by default. No session saving is activated, no other executable from that directory is executed (tried a few
echo-scripts and even other GUI commands).
How can I suppress this behaviour?
Using MATE as DE on Debian 10 (testing)