You are not logged in.
Hi,
If Thunar is already running and I try to open new Thunar instance it opens new tab instead.
Is it possible to set this behavior in Xfce4-terminal and Firefox?
My system: Xubuntu 20.04
Offline
If Thunar is already running and I try to open new Thunar instance it opens new tab instead.
How are you doing this? Thunar doesn't have this functionality. Are you pressing Ctrl+t from within an existing thunar window? Or automating a thunar start to do that? Or, which menuing system are you using to start thunar?
Is it possible to set this behavior in Xfce4-terminal and Firefox?
xfce4-terminal has a "--tab" parameter. You can change the existing menu item to start "xfce4-terminal --tab". You can do something similar with firefox by changing the menu item to run "firefox about:newtab"
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
There's an option for this in Thunar's settings.
Is it possible to set this behavior in Xfce4-terminal and Firefox?
xfce4-terminal has a "--tab" parameter. You can change the existing menu item to start "xfce4-terminal --tab". You can do something similar with firefox by changing the menu item to run "firefox about:newtab"
I already tested panel's launcher with --tab option. It opens additional instance of terminal with 2 tabs already opened It works properly only when executed from terminal's commandline.
Firefox shortcut works.
Last edited by dowx (2020-08-26 14:23:19)
Offline
Ah, I forgot about that option.
For xfce4-terminal, use the following command:
bash -c "pgrep xfce4-terminal && xfce4-terminal --tab || xfce4-terminal"
Basically that means if xfce4-terminal s running, use the "--tab" parameter, otherwise not.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Works perfectly. Thank you.
Offline
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 533.97 KiB (Peak: 534.81 KiB) ]