You are not logged in.
In Thunar, I have the right-click menu-options "Open terminal here" or "Open root terminal here".
These don't work.
In the Configure Custom Actions menu, they are listed with the following commands, respectively:
sh -c 'cd %f;x-terminal-emulator'
sh -c 'cd %f;gksudo x-terminal-emulator'
Somewhere these commands fail, but I can't figure out where.
The commands themselves work fine in any other setting except for in Thunar itself (Ran it through terminal as well as the "Run Program" option with no issue other than
sh: 1: cd: can't cd to %f
.)
When running thunar from a terminal, the terminal commands do work, but not when thunar is started as bl-file-manager from the openbox menu.
What could be wrong and where do I begin to bugcheck?
Last edited by Maki (2016-04-16 17:43:31)
Break BunsenLabs. Learn how it works. Help find bugs and build new additions. Give back to the community. If you don't take LEGO apart you can't build new things with it.
Offline
I can not reproduce this.
Works as expected for me.
Does it work when your cursor is over a directory? over a file?
If it does not work when over a file,what is the file name? Can you open that file with
xdg-open <path-to-the-file>
from a terminal window?
What is the output of
file <path-to-the-file>
Offline
Try this ... make another entry in OpenBox:
GUI: OBConfig
Label: Thunar2
Execute: thunar
or editing the menu.xml:
<item label="Thunar2">
<action name="Execute">
<command>thunar</command>
</action>
</item>
and then try the custom commands. Both 'thunar' and 'bl-file-manager' work here.
EDIT: Ninja'd by xaos52
Last edited by Sector11 (2016-04-16 12:38:56)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
I can not reproduce this.
Works as expected for me.Does it work when your cursor is over a directory? over a file?
If it does not work when over a file,what is the file name? Can you open that file withxdg-open <path-to-the-file>
from a terminal window?
What is the output of
file <path-to-the-file>
When I right-click on an empty space within a directory within bl-file-manager/Thunar, and choose "Open terminal here" or "Open root terminal here" as well as when I go to the File menu and choose either option.
I'm not trying to open a file; I'm trying to open a terminal instance which automatically opens within the folder I'm in in bl-file-manager/Thunar.
Try this ... make another entry in OpenBox:
GUI: OBConfigLabel: Thunar2 Execute: thunar
or editing the menu.xml:
<item label="Thunar2"> <action name="Execute"> <command>thunar</command> </action> </item>
and then try the custom commands. Both 'thunar' and 'bl-file-manager' work here.
EDIT: Ninja'd by xaos52
Thunar runs fine. It's the terminal that doesn't open from Thunar. I'm not entirely sure what you're trying to have me do here.
The menu already contains the following;
<item label="File Manager">
<action name="Execute">
<command>
bl-file-manager
</command>
</action>
</item>
Last edited by Maki (2016-04-16 16:34:56)
Break BunsenLabs. Learn how it works. Help find bugs and build new additions. Give back to the community. If you don't take LEGO apart you can't build new things with it.
Offline
Might it be something to do with your installation problems? Your system may not have everything it needs.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Might it be something to do with your installation problems
^ This.
@Maki: if I right click in the empty space in a folder in thunar and select "Open terminal here" and "Open root terminal here", both options work correctly in my BunsenLabs system.
Offline
The menu already contains the following;
<item label="File Manager"> <action name="Execute"> <command> bl-file-manager </command> </action> </item>
I was trying to get you another OB entry:
<item label="File Manager">
<action name="Execute">
<command>
bl-file-manager
</command>
</action>
</item>
<item label="FileMan2">
<action name="Execute">
<command>
thunar
</command>
</action>
</item>
... that was hardcoded to "thunar" to see if that worked.
Rather useless after seeing damo and HoaS's posts. If you had install problems this might well be one of the OOPS! from that.
I'm in sit-back-and-watch mode now.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Might it be something to do with your installation problems? Your system may not have everything it needs.
Bunsen-thunar was not installed, apparently.
Installed bunsen-thunar, which Synaptic says only does the following;
This package modifies the behaviour of the Thunar file manager
for use with BunsenLabs.At present the following actions are performed:
- Disable the "Set as Wallpaper" context menu item,
which depends on xfdesktop4.
This allows me to run terminal from the folder I'm in, though. So; problem solved.
Last edited by Maki (2016-04-16 17:42:23)
Break BunsenLabs. Learn how it works. Help find bugs and build new additions. Give back to the community. If you don't take LEGO apart you can't build new things with it.
Offline