You are not logged in.

#1 2016-04-16 11:32:03

Maki
Member
Registered: 2016-04-14
Posts: 26

[SOLVED] bl-file-manager & terminator

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

#2 2016-04-16 12:32:26

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: [SOLVED] bl-file-manager & terminator

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

#3 2016-04-16 12:37:56

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,014

Re: [SOLVED] bl-file-manager & terminator

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  smile

Last edited by Sector11 (2016-04-16 12:38:56)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#4 2016-04-16 16:34:04

Maki
Member
Registered: 2016-04-14
Posts: 26

Re: [SOLVED] bl-file-manager & terminator

xaos52 wrote:

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>

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.

Sector11 wrote:

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  smile

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

#5 2016-04-16 16:59:00

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] bl-file-manager & terminator

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

#6 2016-04-16 17:00:28

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,086
Website

Re: [SOLVED] bl-file-manager & terminator

damo wrote:

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

#7 2016-04-16 17:09:58

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,014

Re: [SOLVED] bl-file-manager & terminator

Maki wrote:

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

#8 2016-04-16 17:37:17

Maki
Member
Registered: 2016-04-14
Posts: 26

Re: [SOLVED] bl-file-manager & terminator

damo wrote:

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

Board footer

Powered by FluxBB