Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show in File Browser - fails #184

Open
dreamonhigh opened this issue Jan 13, 2024 · 1 comment
Open

Show in File Browser - fails #184

dreamonhigh opened this issue Jan 13, 2024 · 1 comment

Comments

@dreamonhigh
Copy link

dreamonhigh commented Jan 13, 2024

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
Copy link
Author

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant