You are not logged in.


Hi,
In Thunar(4.20.9) custom action you have Terminal which opens a Terminal window which path is the select folder.
A. This works perfect under Manjaro XFCE; the cmd in Thunar being:
exo-open --working-directory %f --launch TerminalEmulatorB. Now, I wish the same behaviour of Thunar under Manjaro KDE(latest), aka Wayland, plasma 6.7.3
TerminalEmulator being unreconized I tried:
exo-open --working-directory %f --launch konsole
exo-open --working-directory %f --launch /usr/bin/konsole
These FAIL to execute
Now if I try any of the following as custom cmd for Thunar :
/usr/bin/konsole %f
/usr/bin/konsole %d
/usr/bin/konsole %nit opens a terminal window(KDE konsole), but which path is the PARENT folder of the selected folder.
In other words, if you have the path:
myPath/selectedDir
and in Thunar you right-click on the folder "selectedDir" to action "Terminal", it opens a terminal which path is "myPath" and not as expected and as under XFCE: "myPath/selectedDir"
Question
* what's the correct cmd for Thunar under KDE, if not
* is it a Thunar bug under KDE wayland, if not
* is it a KDE bug
Thanks
Last edited by mustbeit (2026-07-29 11:27:47)
Offline


Now if I try any of the following as custom cmd for Thunar :
/usr/bin/konsole %f /usr/bin/konsole %d /usr/bin/konsole %nit opens a terminal window(KDE konsole), but which path is the PARENT folder of the selected folder.
That's the right way to do it. Which folder "konsole" opens depends on the specification of "konsole". You should read the command-line format with "man konsole"
My guess (since I don't use konsole):
try with:
/usr/bin/konsole %d/.Added later 20 min 16 s:
Also, here is a way to debug it, if you have xfce4-terminal installed,
as custom cmd for Thunar:
xfce4-terminal --hold --title=%d --execute bash -c -- echo "See the title of this window"or
xfce4-terminal --hold --execute bash -c -- echo "expanded to: "%dLast edited by daffyduck (2026-07-29 16:50:04)
^^^^^ &```& ^^^^^^^^^^^^^
.&_ oO_&-..--. daffyduck
( __ -/..--' Mark solved threads as [SOLVED] to make
. ' -__- ' it easier for others to find solutions.
Offline


Hello,
B. Now, I wish the same behaviour of Thunar under Manjaro KDE(latest), aka Wayland, plasma 6.7.3
TerminalEmulator being unreconized I tried:exo-open --working-directory %f --launch konsole
exo-open --working-directory %f --launch /usr/bin/konsoleThese FAIL to execute
exo-open is made for the Xfce environment, I doubt it works in another desktop.
Ghostty is my terminal emulator and my custom action for opening the selected folder in a terminal is like this :
ghostty --working-directory=%FEndeavourOS
Xfce+gtk3-classic (no CSD)+Picom
Offline


exo-open is made for the Xfce environment, I doubt it works in another desktop.
Fair enough
ghostty --working-directory=%F/usr/bin/konsole --help
....
--workdir <dir> Set the initial working directory of the new tab
or window to 'dir'
....
Working synthax is:
/usr/bin/konsole --workdir=%fThanks
Last edited by mustbeit (2026-07-29 22:29:47)
Offline


This one works on my computer:
xfce4-terminal --working-directory=%f^^^^^ &```& ^^^^^^^^^^^^^
.&_ oO_&-..--. daffyduck
( __ -/..--' Mark solved threads as [SOLVED] to make
. ' -__- ' it easier for others to find solutions.
Offline
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 543.09 KiB (Peak: 543.71 KiB) ]