Page 8 of 8 FirstFirst ... 678
Results 71 to 80 of 80

Thread: FBuntu: Facebook Notifier for Messaging Menu

  1. #71
    Join Date
    Sep 2008
    Location
    Louisiana, USA
    Beans
    233

    Re: FBuntu: Facebook Notifier for Messaging Menu

    Python doesn't really require you to specify data types or begin variable names with special characters, it just kindof figures it out on the fly by what you set to it. Yeah, mmText is the variable that contains what is shown. self.response is a dictionary (in Python speak), which contains the 'title' info you want to display.

    self.response['title'] is a string, hence mmText will be a string, but you can slice strings apart like you can with lists/arrays, so:

    Code:
    # To get the first twenty characters and add ' ...'
    mmText = self.response['title'][:20] + ' ...'
    
    # slightly more elaborate: put an ellipsis between the first and last ten chars
    mmText = '%s ... %s' % (self.response['title'][:10], self.response['title'][-10:])
    So, yeah, just throw an if statement in there to see if the string is over a certain length so you can cut it up however you want, else show it all.
    Any advice given is the direct result of my experience solving my problems on my system. I have no idea what I'm talking about. ~bouge

  2. #72
    Join Date
    Nov 2011
    Beans
    78

    Re: FBuntu: Facebook Notifier for Messaging Menu

    Thanks for all the help guys! I'll give it a go when I get the time.

  3. #73
    Join Date
    Oct 2006
    Location
    Albi
    Beans
    47
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: FBuntu: Facebook Notifier for Messaging Menu

    good evening

    Sadly this simple (but usefull) applications is broken since the 12.10 upgrade.

    it does not show icon on messaging menu any more but sometimes notifications works

    any update are in progress ?

    http://paste.ubuntu-fr-secours.org/src-109527


    here is the debug.log file if it can help

    Best regards

  4. #74
    Join Date
    Apr 2007
    Location
    UK
    Beans
    233
    Distro
    Ubuntu

    Re: FBuntu: Facebook Notifier for Messaging Menu

    Quote Originally Posted by zniavre View Post
    good evening

    Sadly this simple (but usefull) applications is broken since the 12.10 upgrade.

    it does not show icon on messaging menu any more but sometimes notifications works

    any update are in progress ?

    http://paste.ubuntu-fr-secours.org/src-109527


    here is the debug.log file if it can help

    Best regards
    I am aware. Unforunately at the moment I don't have the time to fix it, although I expect I will sometime (but perhaps not until Christmas )
    Linux User #381008
    Ubuntu User #22532

  5. #75
    Join Date
    Oct 2006
    Location
    Albi
    Beans
    47
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: FBuntu: Facebook Notifier for Messaging Menu

    thank you, happy to see you will continue the software

    best regards

  6. #76
    Join Date
    Feb 2013
    Beans
    0

    Re: FBuntu: Facebook Notifier for Messaging Menu

    Not sure if this is still active or not, but tried everything and debug file shows
    "2013-02-03 09:32:40 notificationChecker.py:57 ERROR: Error 104 Requires valid signature"
    nothing shows in the notification and it's wonk. I am fairly new to Ubuntu and writing this code, I am stuck in something about a SSH id for launchpad, (not too sure why I need that) but still. Have tried this got it in and loaded, followed the read me and ... nothing. Is this another dead notifier for FB?

  7. #77
    Join Date
    Apr 2007
    Location
    UK
    Beans
    233
    Distro
    Ubuntu

    Re: FBuntu: Facebook Notifier for Messaging Menu

    Quote Originally Posted by darkcarnivalink View Post
    Is this another dead notifier for FB?
    Yes sorry
    Linux User #381008
    Ubuntu User #22532

  8. #78
    Join Date
    Feb 2013
    Beans
    0

    Re: FBuntu: Facebook Notifier for Messaging Menu

    Thanks for the respond, ugh, ok well hopefully I'll find or stumble upon one that is actually working along with Google voice. Got the skype wrap around working perfectly in notifier, and the gmail notifier, be great to have all of them in one nice nifty spot since I refuse to run windows anymore after the last crash lost everything on my hd. Thanks for all the work you put in.

  9. #79
    Join Date
    Dec 2007
    Location
    my car
    Beans
    49
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: FBuntu: Facebook Notifier for Messaging Menu

    It may be dead, but works great on 12.04. Thank you for your hard work. This is just what I was looking for.

    BTW, the default settings have the notification taking about half of my screen (netbook). Changing this line made it just right:

    Code:
     mmText = self.response['title'][:15] + ' ...'
    Asus eee1000he, 2GB RAM, 1.66 GHz atom N280, Intel GMA950 gpu, Precise x86

    Dell D830, 4GB RAM, T7700 2.4 Core 2 Duo, Nvidia Quadro 140M 256MB, dual boot Precise x86 and Windows 7

  10. #80
    Join Date
    Aug 2013
    Beans
    0

    Re: FBuntu: Facebook Notifier for Messaging Menu

    Hi,
    i followed a tutorial to install fbuntu.. but when i run the last command python ~/fbuntu/fbuntu.py I get this error.
    Traceback (most recent call last):
    File "/home/urwa/fbuntu/fbuntu.py", line 21, in <module>
    import unifiedInboxChecker, legacyInboxChecker, graphNotificationChecker
    File "/home/urwa/fbuntu/unifiedInboxChecker.py", line 98, in <module>
    import indicate, pynotify
    ImportError: No module named indicate

    Any help would be appreciated.

Page 8 of 8 FirstFirst ... 678

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
  •