Bug 393766 - "Open terminal here" action opens shell in home directory
Summary: "Open terminal here" action opens shell in home directory
Status: RESOLVED NOT A BUG
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.6.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-02 11:27 UTC by Kornel Jankowski
Modified: 2018-07-19 11:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
/usr/share/krusader/layout.xml (3.37 KB, text/xml)
2018-05-06 16:24 UTC, Kornel Jankowski
Details
/opt/krusader/share/krusader/layout.xml (3.71 KB, text/xml)
2018-05-06 16:25 UTC, Kornel Jankowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kornel Jankowski 2018-05-02 11:27:02 UTC
The 'open terminal here' functionality, which I trigger from a keyboard shortcut, opens a terminal in the home directory (just like 'open terminal' does) instead of in the currently-browsed directory
Comment 1 Toni Asensi Esteve 2018-05-02 17:09:00 UTC
Hi, Kornel:

I've tried it using the latest git version of Krusader, with a clean profile, under Kubuntu 18.04, and I didn't see the problem. 

Can you use the latest git version of Krusader? The "compile Krusader from source" instructions can be seen in:
    https://commits.kde.org/krusader?path=INSTALL
Comment 2 Kornel Jankowski 2018-05-03 09:28:41 UTC
(In reply to Toni Asensi Esteve from comment #1)
> Hi, Kornel:
> 
> I've tried it using the latest git version of Krusader, with a clean
> profile, under Kubuntu 18.04, and I didn't see the problem. 
> 
> Can you use the latest git version of Krusader? The "compile Krusader from
> source" instructions can be seen in:
>     https://commits.kde.org/krusader?path=INSTALL

Hi! 

I've tried with a freshly compiled version (6e9de699d94414dd58d0ffe1aec3dc142705eb1b was head), and cleared all the configuration files on the paths mentioned in the installation instructions; still no luck --- wherever I try 'opening terminal here' it opens in the homedir. 

When I attempt to do that same thing in Dolphin, it works just fine, hence I doubt this is something outside of krusader itself...
Comment 3 Kornel Jankowski 2018-05-03 09:32:37 UTC
It might be the case that this is in some crazy way specific to my system, it stopped working properly when I upgraded from 16.04.4 to 18.04 lately
Comment 4 Toni Asensi Esteve 2018-05-04 03:18:10 UTC
Kornel, if you create a new user in your operating system, and with it you execute that git version of Krusader, the problem is seen?
Comment 5 Toni Asensi Esteve 2018-05-04 05:59:40 UTC
Additionally, if you execute 
    find / -name "layout.xml" 2>/dev/null
what does it show? It it shows some files like
    /usr/share/krusader/layout.xml
    /home/user/krusader/krusader/layout.xml
could you attach them to this bug report?
Comment 6 Kornel Jankowski 2018-05-06 16:24:26 UTC
Created attachment 112444 [details]
/usr/share/krusader/layout.xml

the layout.xml file from the machine where the problem manifested
Comment 7 Kornel Jankowski 2018-05-06 16:25:59 UTC
Created attachment 112445 [details]
/opt/krusader/share/krusader/layout.xml

The layout file from the freshly-compiled version.
Comment 8 Kornel Jankowski 2018-05-06 16:28:40 UTC
Tori, 
as I should've checked even before reporting - for a newly created user it works fine, both on the freshly compiled and the ubuntu-packaged version.

I found the files you asked about, added them as attachements with names being their paths of origin. 

Is there any other configuration file that the installation manual does not mention I might have failed to clear trying to get back to a fresh state?
Comment 9 Toni Asensi Esteve 2018-05-07 05:11:37 UTC
It seems that those files are correct. If you execute: 
   find / -name "krusaderui.rc" 2>/dev/null
what does it show? Could you attach those files to this bug report?
Comment 10 Toni Asensi Esteve 2018-05-08 10:51:17 UTC
If
    find / -name "krusaderui.rc" 2>/dev/null
shows something like
    /usr/share/kxmlgui5/krusader/krusaderui.rc    
    /home/user/.local/share/kxmlgui5/krusader/krusaderui.rc
    [...]
then you can try exiting from Krusader, renaming
    /home/user/.local/share/kxmlgui5/krusader/krusaderui.rc
to
    /home/user/.local/share/kxmlgui5/krusader/krusaderui.rc.backup
executing Krusader, and trying again the 'open terminal here' functionality.
Comment 11 Nikita Melnichenko 2018-05-11 05:50:34 UTC
Please provide your krusaderui.rc, you may have an incorrect binding.
Comment 12 Christoph Feck 2018-06-06 22:30:27 UTC
If you can provide the information requested in comment #11, please add it.
Comment 13 Christoph Feck 2018-06-21 11:56:32 UTC
To further investigate this issue, KDE developers need the information requested in comment #11. If you can provide it, or need help with finding that information, please add a comment.
Comment 14 Christoph Feck 2018-07-19 11:47:38 UTC
No response, changing status. If you have new information, please add a comment.