Xmobar ignores dbus-send?

Jose A. Ortega Ruiz jao at gnu.org
Wed Mar 4 16:04:11 GMT 2015


On Wed, Mar 04 2015, Jochen Keil wrote:

> Hi,
>
> On 04.03.2015 01:41, Jose A. Ortega Ruiz wrote:
>> On Wed, Mar 04 2015, Obszczymucha wrote:
>> 
>>> Hey!
>>>
>>> I've installed Xmobar with "with_dbus" flag and I'm trying to hide it using:
>>> dbus-send --session --dest=org.Xmobar.Control --type=method_call --print-reply '/org/Xmobar/Control' org.Xmobar.Control.SendSignal "string:Toggle"
>> 
>> Adding a numerical argument to Toggle makes the trick for me:
>> 
>> dbus-send --session --dest=org.Xmobar.Control --type=method_call --print-reply '/org/Xmobar/Control' org.Xmobar.Control.SendSignal "string:Toggle 0"
>> 
>> but i've forgotten why we added an argument here: it might be a bug (and
>> otherwise, it's the documentation that's wrong).
>
> since I implemented this feature, I have to apologize for the lack of
> documentation here. If I remember correctly, the numerical argument is
> used as a timeout for xmobar to hide itself again. I just don't know
> anymore if it's seconds or tenth of seconds. Maybe you could try it out
> with a positive number, e.g. 2, and see if xmobar behaves as described
> above.

simple experimentation shows that it's tenths of second...

jao
-- 
Dealing with failure is easy: Work hard to improve. Success is also
easy to handle: You've solved the wrong problem. Work hard to improve.
  - Alan Perlis, Epigrams on Programming



More information about the Xmobar mailing list