Re: Finding Out Current User

2011-07-20 Thread Thomas Lübking
Am Wed, 20 Jul 2011 19:14:01 -0400 schrieb Steven Sroka : > How would a program know what user is currently logged in? I would > like a program of mine to run and execute a task when a specific user > is logged in, but not right a log in. a) which level b) what user? ("you"/daemon user or somebod

Re: Finding Out Current User

2011-07-20 Thread Parker Coates
On Wed, Jul 20, 2011 at 19:14, Steven Sroka wrote: > Hey everyone, > > How would a program know what user is currently logged in? I would > like a program of mine to run and execute a task when a specific user > is logged in, but not right a log in. #include KUser user; if ( user.loginName() ==

Re: Finding Out Current User

2011-07-20 Thread Milian Wolff
Steven Sroka, 21.07.2011: > Hey everyone, > > How would a program know what user is currently logged in? I would > like a program of mine to run and execute a task when a specific user > is logged in, but not right a log in. Afair the KABC stuff was supposed to handle that, not sure about the cur

Re: Finding Out Current User

2011-07-20 Thread Brian K
On 07/20/11 18:14, Steven Sroka wrote: > Hey everyone, > > How would a program know what user is currently logged in? I would > like a program of mine to run and execute a task when a specific user > is logged in, but not right a log in. > > Steve > >>> Visit http://mail.kde.org/mailman/listinfo/

Finding Out Current User

2011-07-20 Thread Steven Sroka
Hey everyone, How would a program know what user is currently logged in? I would like a program of mine to run and execute a task when a specific user is logged in, but not right a log in. Steve >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Need Help with adding shortcut to Desktop

2011-07-20 Thread Jens Dunzweiler
Hello list, i have to add a shortcut (.desktop) to all user desktops from shell. It would be great this should be systemwide so that it affects current as well as future Users. It must be visible in every desktop mode (not only show folder mode). Can anyone help me i cant find anything on the inte