XFCE tweetdeck awk problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    XFCE tweetdeck awk problems

    Code:
    #!/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
    So XFCE has this problem with TweetDeck because TweetDeck only knows about gnome-keyring daemons.

    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!
  • AmberJain
    Recognized Expert Contributor
    • Jan 2008
    • 922

    #2
    tried #awk on freenode IRC?

    I don't know awk myself but since there are no replies to this thread, so I will suggest that you should try finding some help on #awk at irc.freenode.ne t. I checked the channel myself and there are over 70 persons there. And the Topic of #awk says (Note- See the BOLDed text in quoted text):
    Originally posted by #awk @ freenode topic
    Topic for #awk is: Paste at: http://xrl.us/paste2 | reference: http://xrl.us/gnuref | FAQ: http://xrl.us/awkfaq | tutorial: http://xrl.us/awktut | Wiki: http://awk.freeshell.org/ | Be patient, someone will answer your question.
    It may take some time before anyone replies (1-2 hours is normal on IRC).
    Last edited by AmberJain; Dec 18 '09, 03:55 PM. Reason: added 'Note'...

    Comment

    • RedSon
      Recognized Expert Expert
      • Jan 2007
      • 4980

      #3
      Actually I found that in the latest Ubuntu release there is an environment variable that gives me the PID of gnome-keyring so I dont even need the first line of the script anyway.

      Thanks though.

      Comment

      Working...