muriloventuroso / easyssh

The SSH connection manager to make your life easier.
GNU General Public License v3.0
524 stars 39 forks source link

Show in File Browser - fails #184

Open dreamonhigh opened 10 months ago

dreamonhigh commented 10 months ago

hello.

filemanager start fails on xfce (Xubuntu 22.04)

"%u sftp://user@server:port" error info for file "/home/user/%u sftp:/user@server:22"

### CODE: var res = Process.spawn_command_line_sync ("cat /usr/share/applications/" + filename, . . if(split_line[0] == "Exec") { filemanager = split_line[1].replace("%U", "");

xdg-mime query default inode/directory → xfce4-file-manager.desktop inside /user/share/applications/xfce4-file-manager.desktop → Exec=exo-open --launch FileManager %u <<-

removing "%U" in your code fails here, cause its a lowercase %u instead of %U, as you can see. Maybe its better to remove lower and upper %u/%U

Greetings

dreamonhigh commented 10 months ago

I removed %u from → /usr/share/applications/xfce4-file-manager.desktop so filemanager starts like it should. Maybe this starts new trouble on other programms.. didn't tried out till now..