Skip to content

Commit

Permalink
Always use xdg-open because it's a standard in Linux DEs
Browse files Browse the repository at this point in the history
Signed-off-by: Defman21 <i@defman.me>
  • Loading branch information
Defman21 committed Jun 17, 2017
1 parent 8a61a9b commit d83d769
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/koSysUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,6 @@ def ShowFileInFileManager(self, filename):
xdg_open = self.Which('xdg-open')
if xdg_open:
os.system('xdg-open "%s" &' % filename)
elif manager == "gnome":
os.system('nautilus "%s" &' % filename)
elif manager == "kde":
os.system('dolphin "%s" &' % filename)
else:
raise "File manager not found / xdg-open not installed"

Expand Down

0 comments on commit d83d769

Please sign in to comment.