aMSN Forums
May 22, 2013, 12:11:48 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: On-Screen notifications in aMSN?  (Read 6634 times)
ChrisColon
Newbie

Offline Offline

Posts: 6


View Profile
« on: May 28, 2007, 10:02:25 am »

Hi,
I just installed aMSN for the first time and like it very much, it's the only IM on Linux that gives me full speed file transfers, Pidgin and Kopete do not. One thing that bothers me though is that I don't get on-screen notifications, you know, these little windows that pop up in the bottom right corner of the screen telling you that a new message has arrived when aMSN was in the background.

Is aMSN capable of displaying them, and if so, do they have to be activated in a fresh install of aMSN? Because I don't see them. And in the setting it looks like everything is activated that could be on-screen notifications.
I'm using aMSN 0.97 from Automatix2 on Ubuntu Feisty Fawn with Gnome.

Thnx in advance for your help.
Logged
Zalbor
Super Power User
**
Offline Offline

Posts: 255


View Profile
« Reply #1 on: May 28, 2007, 10:50:43 am »

Account>Preferences>Appearance>Show notify window when some events happen
That should probably turn it on.
Logged
ChrisColon
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #2 on: May 28, 2007, 11:10:39 am »

Quote from: "Zalbor"
Account>Preferences>Appearance>Show notify window when some events happen
That should probably turn it on.


That's already activated, but thanks for trying to help Smiley
Logged
linuxdady
Newbie

Offline Offline

Posts: 5


View Profile
« Reply #3 on: May 28, 2007, 11:45:51 am »

Right click on tray icon and enable it.
Logged
ChrisColon
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #4 on: May 28, 2007, 11:58:00 am »

Quote from: "linuxdady"
Right click on tray icon and enable it.

That's activated, too. But I just saw that I get a notification when someone signs on or off. Just not when someone sends me a message while aMSN is in the background or on another workspace and that's what's important for me because usually I have the sound deactivated and have the instant messanger on another workspace.
Logged
Trappski
Super Power User
**
Offline Offline

Posts: 200



View Profile
« Reply #5 on: May 28, 2007, 12:08:38 pm »

Quote from: "ChrisColon"
Quote from: "linuxdady"
Right click on tray icon and enable it.

That's activated, too. But I just saw that I get a notification when someone signs on or off. Just not when someone sends me a message while aMSN is in the background or on another workspace and that's what's important for me because usually I have the sound deactivated and have the instant messanger on another workspace.


Have you enabled the specific event to show a notify?
That is:  "Display notify window when new messages are recieved" under Account -> Preferences -> Appearance tab -> "My Event Alerts and Sounds" section
Logged

Phil
Administrator
Super Power User
*****
Offline Offline

Posts: 653


View Profile
« Reply #6 on: May 28, 2007, 01:24:19 pm »

This notify window only displays when someone begins a conversation with you...
There isn't any way to get a notify window for each message.
Logged

Phil

AMsn is great, and it will be greater :wink:
ChrisColon
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #7 on: May 28, 2007, 01:30:41 pm »

Quote from: "Trappski"

Have you enabled the specific event to show a notify?
That is:  "Display notify window when new messages are recieved" under Account -> Preferences -> Appearance tab -> "My Event Alerts and Sounds" section


There is nothing like this in the appearance tab, but in the advanced tab and that one is activated. Is there some way to change aMSN to english? Mine is german and if I could change it to english I could make screenshots of all the settings windows so you can see what I have activated and what not. Maybe that would help.
Logged
ChrisColon
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #8 on: May 28, 2007, 01:32:23 pm »

Quote from: "Phil"
This notify window only displays when someone begins a conversation with you...
There isn't any way to get a notify window for each message.


Ah okay, thnx ^^
Then I'll write one myself with libnotify, shouldn't take more than a few minutes.

Thanks again for all your help guys!
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #9 on: May 28, 2007, 06:32:34 pm »

You can change the language in the login screen, in the top there's a globe icon with 'Language' on it, click on it and change your language.
About the libnotify, that's interesting if you're talented in doing it.  Let me tell you one thing. You can click on your nickname in the contact list (as if you want to change your status) and choose 'configure/add/delete global alarm'. There you can set an 'alarm' to be launched whenever an action happens like when you receive a message. It will apply to every contact in your list (you can also specify it per contact in their properties windows). There, you can tell it to launch a command whenever you receive a message for example. If you specify the command to be your own program that uses libnotify. I'm sure you'll be happy of the results.
Also, if you want to share your code later, it would be appreciated. I don't know about libnotify but if it's something interesting, we would be of course happy to include it in our next release.
Thanks
Logged

KaKaRoTo
ChrisColon
Newbie

Offline Offline

Posts: 6


View Profile
« Reply #10 on: May 28, 2007, 10:23:06 pm »

Quote from: "kakaroto"
You can change the language in the login screen, in the top there's a globe icon with 'Language' on it, click on it and change your language.
About the libnotify, that's interesting if you're talented in doing it.  Let me tell you one thing. You can click on your nickname in the contact list (as if you want to change your status) and choose 'configure/add/delete global alarm'. There you can set an 'alarm' to be launched whenever an action happens like when you receive a message. It will apply to every contact in your list (you can also specify it per contact in their properties windows). There, you can tell it to launch a command whenever you receive a message for example. If you specify the command to be your own program that uses libnotify. I'm sure you'll be happy of the results.
Also, if you want to share your code later, it would be appreciated. I don't know about libnotify but if it's something interesting, we would be of course happy to include it in our next release.
Thanks


That's why I didn't see it, I had auto login turned on so the login window was gone too fast, thanx Smiley

That's exactly what I did. I wrote a script with Ruby that receives the $msg variable as an argument, took just a minute and works great, however it displays a notification every time a message is sent, wether or not aMSN is in the background. I'm not an advanced programmer by any means so I'll have to look into that a bit. There should be some way for Ruby to see which program is in the front on the screen at the moment. Then it would be easy to just display a notification if aMSN is in the background. The problem with that approach would be however, that it would likely be platform specific.

Here's my code so far, maybe someone here wants to use it already:

Code:

require 'libnotify'

def show_notification(message)
  LibNotify.init( "aMSNlibnotify" )
  aMSNlibnotify = LibNotify::Notification.new( "aMSN", "#{message.slice(0..100)}", nil, nil ) #.slice truncates the message, value can be anything you like
  aMSNlibnotify.timeout= 5000 # displays notification for 5 seconds
  aMSNlibnotify.show

  sleep(5)  

  aMSNlibnotify.close
  LibNotify.uninit
end

show_notification(ARGV[0])


The Ruby bindings for libnotify have to be installed: http://ruby-libnotify.rubyforge.org/
and naturally, libnotify itself. Should be installed already if you are using Gnome, many apps use it. Otherwise it will be in your distribution's repository.

Here's what it looks like (notification is displayed in the bottom right corner of the screen):



I'll post here again when I've got a better solution.
Logged
nitio
Newbie

Offline Offline

Posts: 2


View Profile
« Reply #11 on: December 02, 2007, 11:47:29 pm »

Wow, I didn't know about the Global alarms, this REALLY helped to get something similar to libnotify to work. Although I did it differently than the previous poster approach. I just call notify-send application which generates the same notify windows as I might want. Of course, this method does not give the ability to include the person's image display as the notification icon but it's better than just flashing the taskbar.
Logged

it's not the great who are strong.
it's the strong who are great.
hugh
Newbie

Offline Offline

Posts: 4


View Profile WWW
« Reply #12 on: January 14, 2009, 10:56:32 pm »

Found this thread while trying to get aMSN to play alarm sounds under Ubuntu 8.04.  I found I had to set Account → Preferences → Others → Sound Server to "Use a different program" 'aplay $sound'".  Now if I could only get a just the pop-up window when certain users log on, and just the sound when anyone sends me a message.  Then I'd be happier than a pig in... whatever!
Logged

A computer without Microsoft is like chocolate cake without mustard.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!