Bug#805573: mate-session-manager: mate-session-inhibit manpage and the way it works is confusing

shirish शिरीष shirishag75 at gmail.com
Thu Nov 19 17:54:16 UTC 2015


at bottom :-

On 19/11/2015, John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de> wrote:
>
>
>> On Nov 19, 2015, at 6:10 PM, John Paul Adrian Glaubitz
>> <glaubitz at physik.fu-berlin.de> wrote:
>>
>>
>>> [$] mate-session-inhibit --inhibit:idle:logout
>>>
>>> Failed to execute --inhibit:idle:logout
>>
>> Well, you used the wrong syntax.
>>
>> It's "mate-session-inihibit --inhibit idle:logout", there is no colon
>> after "--inhibit" as you can see from the help text which clearly states
>> "mate-session-inhibit --inhibit ARG".
>>
>> I don't think this is a bug.
>
> Btw, because I wasn't clear enough:
>
> "mate-session-inhibit --inhibit logout" is to be followed by an actual
> command which is responsible for the inhibiting. That's why your first
> attempt resulted in an error message as well.
>
> Adrian

Dear Adrian,

Just a sec. , just to understand the whole idea of inhibition is so
that a program can run and the screensaver or anything else doesn't
mistake the desktop to be idle.  What does the manpage or you you mean
by COMMAND here ?

For instance playing a movie using vlc, mplayer or mpv to give a
generic use-case.

now are you using, if I am going to play the movie, I should be doing :-

$mate-session-inhibit --inhibit logout:idle vlc OR

$mate-session-inhibit --inhibit logout:idle mpv or something like that.

And this should be when the movie has started playing or do it -

$mate-session-inhibit --inhibit logout:idle mpv movie-play.avi

something like that ?

I could grep the pid by using ps aux | grep vlc or something like that
and do that but would like the most easiest, elegant way this can be
done.

It would also make me understand how to use the command itself.
-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8



More information about the pkg-mate-team mailing list