Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^4: Open a folder

by jethro (Monsignor)
on Mar 21, 2013 at 12:29 UTC ( #1024736=note: print w/replies, xml ) Need Help??

in reply to Re^3: Open a folder
in thread Open a folder

I'm using kde on opensuse and xdg-open works even in kde. So it might just suffice to check for availability of any of the mentioned programs and call it irrespective of the window manager actually running. It would probably be a 99% solution

Replies are listed 'Best First'.
Re^5: Open a folder
by marto (Bishop) on Mar 21, 2013 at 12:32 UTC

    Thanks for the info. I guess it depends on the system in question, perhaps they're lucky and only have to target a specific setup. Failing that I updated my reply with an example of pulling the running window manager from the environment variable, then it's simply a case of catering for each valid response.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024736]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2016-10-27 23:14 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (372 votes). Check out past polls.