Page 13 of 20 FirstFirst ... 31112131415 ... LastLast
Results 121 to 130 of 195

Thread: Conky Pidgin Python Script

  1. #121
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Pidgin Python Script

    Quote Originally Posted by Snow-Brother View Post
    This is a great script, thank you for creating it. I have a question about it though. I have pidgin set up for Aim and Xfire. Many of my friends use both (not all of them though). Would it be possible to set it up so that it will only show one copy of that friend if they happen to be logged on both Xfire and AIM?

    For example, if Friend1 is logged on AIM and Xfire, would it be possible to tell the script to display that friend on Xfire and only display them on AIM if they aren't logged onto anything else?

    As I said, this is a great script, but it can become very cluttered if I have a lot of friends logged on to both AIM and Xfire at once. I don't want to remove them from either list because they don't always log on to both.
    I have the same issue with my buddies too, in fact I am a problem for others as well 'cause I have 3 accounts to ensure I can talk to all my friends.

    I assume the buddy alias is the same between accounts?

    I'll add it to my todo list and get round to it at some point, no promises though...

  2. #122
    Join Date
    Dec 2008
    Location
    RIGHT BEHIND YOU
    Beans
    294
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Conky Pidgin Python Script

    Quote Originally Posted by kaivalagi View Post
    My pleasure
    One more thing- because it's counting by lines, when a buddy has a custom status message it counts that as an extra line and thus an extra buddy, so the count isn't always accurate. Is there a way to attach a template to that script call so that I can format it as 1 buddy per line with no status message?

  3. #123
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Pidgin Python Script

    Quote Originally Posted by Sarai the Geek View Post
    One more thing- because it's counting by lines, when a buddy has a custom status message it counts that as an extra line and thus an extra buddy, so the count isn't always accurate. Is there a way to attach a template to that script call so that I can format it as 1 buddy per line with no status message?
    Yep, use the --template option. From conkyPidgin --help :

    Code:
      -t FILE, --template=FILE
                            Template file determining the format for each buddy's
                            data. Use the following placeholders: [name], [alias],
                            [group], [status], [status_message].
    So, you would create a simple template file using the placeholders mentioned above and then use it by adding a --template=/path/to/file option in your exec calls.

    In theory just use one placeholder for alias and you just want a count...

    Cheers

  4. #124
    Join Date
    Jun 2009
    Beans
    2

    Re: Conky Pidgin Python Script

    I found one bug,look at the ss

    You must do something to protect from names that have $
    Last edited by dather; June 27th, 2009 at 03:29 PM.

  5. #125
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Pidgin Python Script

    Quote Originally Posted by dather View Post
    I found one bug,look at the ss

    You must do something to protect from names that have $
    I'll do something about it in all scripts that could be affected

  6. #126
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Pidgin Python Script

    UPDATE

    • Updated to expand ~ based template paths
    • Updated to make safe the output to stop unwanted conky execution


    Changes can be found here: https://launchpad.net/~m-buck/+archi...source.changes

    The first post is updated and the apt package should be available soon...
    Last edited by kaivalagi; June 27th, 2009 at 04:14 PM.

  7. #127
    Join Date
    Jun 2009
    Beans
    2

    Re: Conky Pidgin Python Script

    Nooooo w8, i want to hack one friend

  8. #128
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Pidgin Python Script

    Quote Originally Posted by dather View Post
    Nooooo w8, i want to hack one friend
    too late I'm afraid

  9. #129
    Join Date
    Feb 2006
    Beans
    55

    Re: Conky Pidgin Python Script

    How do you get rid of the group name and the following '-'.

    I just want screen names showing, no group name like (Buddies), the following dash, or status.

  10. #130
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Pidgin Python Script

    Quote Originally Posted by thecheeks View Post
    How do you get rid of the group name and the following '-'.

    I just want screen names showing, no group name like (Buddies), the following dash, or status.
    Take a look at the template option, run conkyPidgin -h for more info

    You'll need to create a new template to use. Start by copying the template from /usr/share/conkypidgin/example/conkyPidgin.template and then remove what you don't want. Also look at /usr/share/conkypidgin/example/conkyrc for how a template is used in a conkyrc

    Hope that helps

Page 13 of 20 FirstFirst ... 31112131415 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •