Hi Ben,

On Tue, Dec 17, 2013 at 12:09:18PM -0800, Ben Guitreau wrote:
> Determining desktop:
> 
> Success:
>   wmctrl -m
> 
> Failures:
>   xprop -root
>   echo $XDG_CURRENT_DESKTOP
>   env
> 
> Is there another way to find qtile as the desktop without having to install 
> wmctrl? Looking for 
> something that would be default for most installations.
> 
> For context, this is an issue I am having using a plugin in Sublime Text 
> that checks for the desktop
> before using specific commands that are dependent upon the OS and DE, i.e. 
> open, xdg-open,
> exo-open. I can hard-code the plugin to use qtile by default but I would 
> like to have it be dynamic.

How are you starting qtile? XDG_CURRENT_DESKTOP looks [1] like it
might be done by the login manager instead of the window manager. That
said, if there is some specification around this that we're not
implementing correctly, I'd be glad to implement it.

[1]: http://lists.freedesktop.org/archives/xdg/2011-July/012004.html

\t

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to