Re: Extension problem with lockscreen
- From: "Norman L. Smith" <nls1729 gmail com>
- To: Florian Müllner <fmuellner gnome org>
- Cc: gnome-shell-list gnome org
- Subject: Re: Extension problem with lockscreen
- Date: Sun, 08 Jun 2014 17:39:17 -0400
Thanks Florian. Its good to learn something new. I am copying this to
the list. It is worth sharing.
Thanks again,
Norman
On Sun, 2014-06-08 at 20:48 +0200, Florian Müllner wrote:
On Sat, Jun 7, 2014 at 1:07 PM, Norman L. Smith <nls1729 gmail com> wrote:
#!/usr/bin/env bash
pid=`ps -ef | grep $USER | grep "[0-9] gnome-session" | grep -v grep |
cut -c 10-14 | sed "s/ //g"`
/usr/bin/gnome-terminal --window --full-screen
sleep 1
xdotool type "journalctl --user --no-pager --full _PID=$pid "
xdotool key Return
It's probably worth noting that "launch app; wait some random time;
generate input; pray it ended up in the right window" is not the
greatest idea. A much safer option would be something like:
gnome-terminal --window --full-screen -e "journalctl --user --full
_PID=$(pgrep gnome-session)"
Cheers,
Florian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]