ricardomv / snapper-gui

GUI for snapper, a tool for Linux filesystem snapshot management, works with btrfs, ext4 and thin-provisioned LVM volumes
GNU General Public License v2.0
222 stars 32 forks source link

Button "open" opens in wrong program #17

Closed caco3 closed 8 years ago

caco3 commented 8 years ago

In which program is a snapshot supposed to be "opened"? I select a snapshot, then press "open". Then audacious gets started with a playlist containing a lot of (non music) files. When I remove audacious, EasyTAG gets started instead.

Both programs do not make any sense for the function "open". Which program is supposed to be started? This might be a misconfiguration of the systems file type to program allocation, but for which file types?

ricardomv commented 8 years ago

It uses xdg-open to find the default application for opening files, in my case it uses gnome files as it should, there might be a way to change the default application but it depends on on your system.

caco3 commented 8 years ago

Thank you for the info. It seems to be related to sudo. When using that sudo xdg-open <folder> a wrong program gets opened. But when using su and then xdg-open <folder>, it works fine.