:: Re: [DNG] Logout problem
トップ ページ
このメッセージを削除
このメッセージに返信
著者: emninger
日付:  
To: dng
題目: Re: [DNG] Logout problem
Add-on:

> I also found an instruction to
> create /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla
> with this content:
>
> ----
> [Actions for user <username>]
> Identity=unix-user:<username>
> Action=org.freedesktop.upower.*;org.freedesktop.consolekit.system.*;org.freedesk​top.udisks.*
> ResultAny=yes
> ResultInactive=no
> ResultActive=yes
> ----


I had to reboot, then it worked.

But i've an additional question: In /etc/oblogout.conf, the actions the
script has to execute are defined. Suspend looks like this:

---
suspend = dbus-send --system --print-reply
--dest=org.freedesktop.UPower /org/freedesktop/UPower
org.freedesktop.UPower.Suspend
---

Now, could i add to this command a command to lock the screen, doing eg.

&& i3lock -n -p default --color=000000

IOW, a chain like it would be done in a console?

TIA