You are not logged in.

#1 2010-05-05 23:55:39

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Ubuntu notify-osd on Gnome 2.30

I installed notify-osd on my Arch64. Everything is right but i dont have new notifications for the volume and the brightness.
When i press the fn keys the old notifications still appears.
I know you don't have to install other packages in gnome 2.30. I've read this http://wiki.archlinux.org/index.php/Notify_OSD. It says that only installing notify-osd from AUR is enough.
How can i have new notifications for volume and brightness control???

Offline

#2 2010-05-06 02:05:44

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Ubuntu notify-osd on Gnome 2.30

Have you rebooted?

Offline

#3 2010-05-06 02:31:30

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: Ubuntu notify-osd on Gnome 2.30

Yes, several times.
And another thing, when i raise the brightness to the max, another annoying notification appears every time i press the key once more, how can i fix this?

Help!

Offline

#4 2010-05-06 09:57:03

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Ubuntu notify-osd on Gnome 2.30

for the nice and slick osd for volume and brightness you need to have a compositing manager enabled. to enable it open gconf-editor and enable apps/metacity/general/compositing manager.


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2010-05-06 18:00:27

Woofie
Member
From: RK, Czech Rep.
Registered: 2009-12-28
Posts: 83

Re: Ubuntu notify-osd on Gnome 2.30

I'll try composite manager but they didn't solve it.


Sorry for my english. It's not my native language..

Offline

#6 2010-05-06 18:17:49

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: Ubuntu notify-osd on Gnome 2.30

I enabled the compositing manager and now the osd for volume and brightness looks really nice. However they still appear in the center bottom of the screen. How can i make them appear in the upper left?
How can i get rid of the notification when i raise the brightness to the max?
Thanks for the fast reply.

Offline

#7 2010-05-07 00:52:56

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: Ubuntu notify-osd on Gnome 2.30

No one installed notify-osd succesfully?

Offline

#8 2010-05-07 00:53:56

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Ubuntu notify-osd on Gnome 2.30

What WM/DE do you use?

EDIT: nvm, that's a stupid question.

Last edited by schen (2010-05-07 00:55:05)

Offline

#9 2010-05-07 01:08:46

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: Ubuntu notify-osd on Gnome 2.30

Thaks for reply anyway... (gnome 2.30 and metacity)...

Offline

#10 2010-05-07 01:31:27

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Ubuntu notify-osd on Gnome 2.30

i think you need to patch gnome-media and gnome-power-manager to achieve what you want


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2010-05-07 02:28:00

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: Ubuntu notify-osd on Gnome 2.30

But here http://wiki.archlinux.org/index.php/Notify_OSD says that you don't need anything else.
I there someone with gnome 2.30 and notify-osd working properly?

Offline

#12 2010-05-07 05:17:58

ahioros
Member
From: Panamá
Registered: 2005-11-26
Posts: 41
Website

Re: Ubuntu notify-osd on Gnome 2.30

notify-osd isn't work porperly ... show only one notification a time for app....

Offline

#13 2010-05-10 02:07:52

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: Ubuntu notify-osd on Gnome 2.30

Nothing yet?

Offline

#14 2010-05-10 22:00:04

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Ubuntu notify-osd on Gnome 2.30

Try installing the patches anyway.

Offline

#15 2010-05-11 06:08:43

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: Ubuntu notify-osd on Gnome 2.30

Mmm the installation from AUR failed....
The packages are marked as "Out of Date"...

Last edited by Hyugga (2010-05-11 06:09:19)

Offline

#16 2010-05-11 11:07:08

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Ubuntu notify-osd on Gnome 2.30

The packages are out of date - you have to figure out yourself if the patches for 2.28 still work with 2.30. Doubt it though.
You best bet would probably be to file a bug/ask here:
https://launchpad.net/notify-osd

Offline

#17 2010-05-11 11:10:26

elric
Member
Registered: 2010-01-14
Posts: 22

Re: Ubuntu notify-osd on Gnome 2.30

I found this script that allows you integrate the volume into notify-osd

http://bbs.archlinux.org/viewtopic.php?id=69589

Save the  script as "vol", cp to /usr/bin (or wherever in the PATH). Next, configure volume shortcuts under System -> Pref -> Keyb Shortcuts, being the commands "vol up" "vol down" and "vol mute". This done, it worked instantaneously in my system. I'm sure you can make more stuff, didn't read the script closely.

[Solved] If somebody comes up with the brightness issue, I would be forever grateful smile

Next, the brightness. This is the script  found in http://foro.archlinux.cl/viewtopic.php?id=61, where you can also find a different script for volume (didn't try that one is the one mentioned works perfectly).

#!/bin/sh
brightness=`cat /sys/class/backlight/acpi_video0/actual_brightness` 
brillo=`expr $brightness "*" 100 "/" 9`
notify-send " " -i notification-display-brightness-low -h int:value:$brillo -h string:x-canonical-private-synchronous:brightness &

Replace "9" with the number that the following returns when brightness is at its highest.

cat /sys/class/backlight/acpi_video0/actual_brightness

Now you need to configure the shortcuts, i.e. Create one called Brightdown, with the script as a command, and then you bind the shortcut to what you do to set the brightness down. Repeat for Brightup, same script/command, different shortcut.

Hooray!! I wanted to do this for long, just realized it is now possible.

Last edited by elric (2010-05-11 11:39:45)

Offline

Board footer

Powered by FluxBB