List Info

Thread: Lock screen from console




Lock screen from console
user name
2007-07-26 06:42:33
Hi!

Can somebody tell me how can i lock screen in all KDE
sessions from console or 
from script? I need this for suspending, becuase after wake
up now possible 
to use computer without password.

Regards,

Gabor
Re: Lock screen from console
user name
2007-07-26 06:48:01
On Thursday 26 July 2007, Kum Gabor wrote:
> Hi!
>
> Can somebody tell me how can i lock screen in all KDE
sessions from console
> or
>
> >from script? I need this for suspending, becuase
after wake up now
> > possible
>
> to use computer without password.

You could try

% dcop --all-users --all-sessions kdesktop KScreensaverIface
lock

as root or in a script running as root

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
Re: Lock screen from console
user name
2007-07-26 11:35:25
On Thursday 26 July 2007 11:48, Kevin Krammer wrote:
> On Thursday 26 July 2007, Kum Gabor wrote:
> > Hi!
> >
> > Can somebody tell me how can i lock screen in all
KDE sessions from
> > console or
> >
> > >from script? I need this for suspending,
becuase after wake up now
> > > possible
> >
> > to use computer without password.
>
> You could try
>
> % dcop --all-users --all-sessions kdesktop
KScreensaverIface lock

Thanks!
And how can i close kopete for all users. (i know only kill,
normal close not)

Regards,

Gabor


-- 
To UNSUBSCRIBE, email to debian-kde-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: Lock screen from console
user name
2007-07-26 12:27:17
Am Donnerstag 26 Juli 2007 18:35 schrieb Kum Gabor:
> On Thursday 26 July 2007 11:48, Kevin Krammer wrote:
> > On Thursday 26 July 2007, Kum Gabor wrote:
> > > Hi!
> > >
> > > Can somebody tell me how can i lock screen in
all KDE sessions from
> > > console or
> > >
> > > >from script? I need this for suspending,
becuase after wake up now
> > > > possible
> > >
> > > to use computer without password.
> >
> > You could try
> >
> > % dcop --all-users --all-sessions kdesktop
KScreensaverIface lock
>
> Thanks!
> And how can i close kopete for all users. (i know only
kill, normal close
> not)

dcop kopete MainApplication-Interface quit

But you can find out yourself if you just try to look at
dcop. There's nothing 
magic about it.

HS


-- 
To UNSUBSCRIBE, email to debian-kde-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: Lock screen from console
user name
2007-07-26 13:48:36
On Thursday 26 July 2007 17:27, Hendrik Sattler wrote:
> Am Donnerstag 26 Juli 2007 18:35 schrieb Kum Gabor:
> > On Thursday 26 July 2007 11:48, Kevin Krammer
wrote:
> > > On Thursday 26 July 2007, Kum Gabor wrote:
> > > > Hi!
> > > >
> > > > Can somebody tell me how can i lock
screen in all KDE sessions from
> > > > console or
> > > >
> > > > >from script? I need this for
suspending, becuase after wake up now
> > > > > possible
> > > >
> > > > to use computer without password.
> > >
> > > You could try
> > >
> > > % dcop --all-users --all-sessions kdesktop
KScreensaverIface lock
> >
> > Thanks!
> > And how can i close kopete for all users. (i know
only kill, normal close
> > not)
>
> dcop kopete MainApplication-Interface quit
>
> But you can find out yourself if you just try to look
at dcop. There's
> nothing magic about it.
>

Yes, it's true. Thank you, now i will see, because it
started to be 
interesting for me! 


-- 
To UNSUBSCRIBE, email to debian-kde-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )