Expand|Select|Wrap|Line Numbers
- #!/bin/bash
- GNOME_KEYRING=`ps x | grep gnome-keyring | awk ‘$5 ~/^gnome-keyring/ {print $1}’`
- DIRNAME=`dirname $0`
- GNOME_DESKTOP_SESSION_ID=$GNOME_KEYRING $DIRNAME/TweetDeck
Apparently Adobe Air and TweetDeck can't figure out the pid of gnome-keyring on their own, or describe this error in any detail other than stating that I am running a windowing manager that they dont support.
Anyway after some googling I found a really useful post over at mindby.com (http://mindby.com/2009/8/TweetDeck-with-XFCE/) but I have this problem where the awk command isn't working.
I don't know jack about awk, so if someone could take a look at this script and tell me why the awk statement is failing and how to fix it I would be super grateful!
Thanks!