[lug] KDE 4 question

Davide Del Vento davide.del.vento at gmail.com
Fri Dec 2 16:19:43 MST 2011


Hi,

thanks for your answers so far.

> I've seen something similar and filed
> <https://bugs.kde.org/show_bug.cgi?id=284413>.

I have noticed this behavior. It's of course different than mine, and
(although annoying) I'd call it less severe, since if you unplug
"live" you can probably replug immediately. Whereas in my case if I
leave my desk I can't use that user anymore (maybe it's an identity
crisis? a laptop that thinks to be a desktop? :-)

> The trick to avoid it is to
> either leave the laptop screen as the primary when configuring the external
> monitor

This doesn't work for me, forgot to mention that it's already how I
configured it.

> or to explicitly disable the external display before removing the laptop

This would work, but if I forget to turn off BOTH the external
displays, before turning off the laptop, and make THAT the DEFAULT in
KDE (it can't be scripted, AFAIK, it's 5 minutes of annoying clicks)
then I'm screwed.

Lee wrote:
> If you have consolekit (probable with KDE4), you might try this:
>   sudo -u user ck-launch-session dbus-launch /path/to/thunderbird

Thanks Lee this is a nice convenience trick. For better security (eh
is thunderbird doing something as root?? Probably no, but if there is
a bug somewhere that allows for an exploit??): it can be done avoiding
root privileges with:

su user -c 'ck-launch-session dbus-launch thunderbird'

Looks like for the projector, if I don't make it EVER it default, I
should be safe.

Thanks,
Davide
PS: I will collect some more data and file a bug report, but it looks
like the problem is that the "save default" option is implemented too
aggressively in KDE's "change resolution" (you either have to change
it at every single reboot, or you might end up with an unusable
account) - they should implement a fallback mode (which gnome2 had, ah
the joy of the progress)



More information about the LUG mailing list