[SOLVED] Customising notify-osd appearence

Hi Everyone,
I'm installing Archlinux system on a laptop with plans to make it my default system in the future.
I come from Ubuntu so I like to get most of the features from that implemented in the new system.
However I decided to go with Openbox as my default WM (with minimal GNOME applications I want to use).
I really like the notify-osd (from Canonical) and I installed it from AUR. However it doean't look really nice, (Icon size, font size, etc.).
Is there a way to customise the notify-osd appearance?
I didn't find any details on this subject on the web except for one post that mentioned to create a ~/.notify-osd with some CSS like settings, but that didn't work for me.
Any ideas or hints?
Thanks.
Last edited by sudaraka (2011-06-17 14:04:14)

Thanks Pyntux,
There were build error on the package you mentioned, but I used another (notify-osd-customizable)
http://aur.archlinux.org/packages.php?ID=37576
Here are some references that helped me for anyone might be looking for in the future:
http://www.webupd8.org/2010/05/finally- … otify.html
https://launchpad.net/~leolik/+archive/leolik

Similar Messages

  • [SOLVED] Compton drawing ugly Notify-OSD shadow

    I have Openbox installed in my machine. For compositing I installed compton-git from AUR and everything is working fine. The problem is that I cannot prevent compton from drawing a shadow to the notification window (notify-osd). Here's a screenshot:
    http://i.imgur.com/3oHHJis.png
    and this is my ~/.compton.conf file:
    # Shadow
    shadow = true;
    no-dnd-shadow = true;
    no-dock-shadow = false;
    clear-shadow = true;
    shadow-radius = 7;
    shadow-offset-x = -7;
    shadow-offset-y = -7;
    # shadow-opacity = 0.7;
    # shadow-red = 0.0;
    # shadow-green = 0.0;
    # shadow-blue = 0.0;
    shadow-exclude = [ "n:e:Notification", "name = 'Notification'", "class_g = 'Conky'" ];
    # shadow-exclude = "n:e:Notification";
    shadow-ignore-shaped = false;
    # Opacity
    menu-opacity = 0.9;
    inactive-opacity = 0.9;
    frame-opacity = 1.0;
    inactive-opacity-override = false;
    alpha-step = 0.06;
    # inactive-dim = 0.2;
    # inactive-dim-fixed = true;
    # blur-background = true;
    # blur-background-frame = true;
    blur-background-fixed = false;
    # Fading
    fading = true;
    # fade-delta = 30;
    fade-in-step = 0.1;
    fade-out-step = 0.1;
    # no-fading-openclose = true;
    # Other
    mark-wmwin-focused = true;
    mark-ovredir-focused = true;
    use-ewmh-active-win = false;
    detect-rounded-corners = true;
    detect-client-opacity = true;
    refresh-rate = 0;
    vsync = "none";
    dbe = false;
    paint-on-overlay = false;
    sw-opti = false;
    unredir-if-possible = false;
    focus-exclude = [ ];
    detect-transient = true;
    detect-client-leader = true;
    invert-color-include = [ ];
    # Window type settings
    wintypes:
    tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
    How can I fix this? I tried with the shadow-exclude value, but it didn't work.
    Regards.
    Edit: I was playing around with the configuration file and found that the option 'clear-shadow = false' makes the trick, but now the shadow rendered behind notify-osd is too dark, check here. Is there any way to add an exception rule to the notification window?
    Edit 2: The problem gets solved by adding the following exclusion rule to the 'shadow-exclude' variable:
    "class_g ?= 'Notify-osd'"
    Including quotes.
    Last edited by AurosGamma (2013-02-23 17:04:31)

    valr wrote:
    Stupid question: are you sure that the window name of the notification is "Notification" ?
    Have you checked with xwininfo ?
    If all seems correct, you could ask on IRC in the chan #compton
    That's the problem, I'm not sure about that. And I'm not sure how I should use xwininfo to get the values for notify-osd, and how should I put those values in the config file. I searched for documentation and found nothing. I'll try to ask in the IRC channel and report back.
    Best regards.

  • [SOLVED] No icon or progress bar with notify-osd-customizable

    Hello,
    I just reinstalled my system; I use a script to know my brightness and audio volume but I can't get it working anymore.
    With this
    notify-send 'Hello world!' -i dialog-information
    I only get the text. If I try this to have a progress bar
    notify-send 'Hello world!' -i dialog-information -h int:value:50
    I just get a notification with 1px height.
    I installed notify-osd-icons to have more icons, but it didn't help.
    The arguements have changed?
    Last edited by Dreamkey (2013-02-13 13:02:29)

    Ok, I'm not sure if it's because of that, but I installed human-icon-theme and after a reboot, it worked.

  • [Solved] Notify-osd-customizable activate "bubble-close-on-click"

    Hello again. I installed notify-osd-customizable in Xfce and it works fine. But, I can't find a way to close the notification bubble when clicking it.
    I don't like this, so I'm using xfce-notifyd right now, which have that option available for default.
    I know in Ubuntu you can do this, because I read about it and saw images about it. But, the Arch linux build of Notify-osd-customizable doesn't have this option available.
    Here are two screenshots of the notify-osd-customizable graphical configuration:
    Ubuntu version:
    http://i.stack.imgur.com/4WJZv.png
    Arch Linux version (not the original, but looks exactly like this):
    http://i.imgur.com/uZZK73S.png?1
    As you can see, Ubuntu's version does have some more options available, probably because they have a newer version of the same program. Between those options it is "Close bubble on click"
    I tried configuring this program, manually, via text file, but it didn't work. What I did was including this line at the end of the configuration file:
    bubble-close-on-click = 1
    and also tried with:
    bubble-close-on-click = 0
    But had no luck.
    I also tried enabling composition, but it didn't work either.
    Do you know what am I doing wrong? or if there's a solution to this?
    I have read the commentaries in the AUR page of notify-osd-customizable and it seems someone could make it work. https://aur.archlinux.org/packages/noti … tomizable/
    Regards
    Solution:
    I was editing the wrong configuration file. So, to make the bubbles close on click you have to edit /home/joaco/notify-osd and add this line at the end:
    bubble-close-on-click = 1
    That's all, but it only works if composite is activated.
    Anyway, I didn't stay with notify-osd, because it doesn't stack notifications.
    Last edited by joacoej (2015-05-17 04:37:53)

    jasonwryan wrote:
    joacoej wrote:
    jasonwryan wrote:Stop posting oversized images: read the Forum Etiquette and only post thumbnails https://wiki.archlinux.org/index.php/Fo … s_and_code
    Ok, which is the wright proportion then?
    It's explicitly stated in the link I posted...
    That proportion (250x250) is too little, noone will read anything smaller than 640x356, because it gets distorted. That's the smalller I can resize them, without them being unreadable and they don't occupy a lot of space, so I don't see the problem.
    jasonwryan wrote:
    PD: I think the rezising should be done automatically like in any webpage. You can't expect everyone to download an image from the internet just to resize it an upload it again.
    Like automatically in what web page? Use `convert...`
    Like disqus, facebook, etc, you can upload an image with a big resolution and they just convert it
    Last edited by joacoej (2015-05-14 01:49:35)

  • Notify-osd replace notification

    As many of you know it seems actually not possible to replace the current notification of notify-osd's "notify-send".
    An user posted a solution on askubuntu but it is for ubuntu only because you only can download the patched libnotify-bin from his PPA.
    Does anyone know how to solve the problem with notification replacement on Archlinux?

    >edit  /usr/share/gnome-session/sessions/gnome.session
    gnome.session doens't have a RequiredProviders or DefaultProvider-notifications line like gnome-fallback.session, there are only entries for RequiredComponents, IsRunnableHelper and FallbackSession at the bottom of the file, none of which mention notifications.
    >install notify-osd(you didn't HAVE to remove notification-daemon btw, I had problems with starting gnome with it removed)
    I did install notify-osd-customizable from AUR and while installing it pacman said this would remove notification-daemon, which it did.
    Oddly enough I still get the normal notifications after rebooting, even with notification-daemon uninstalled.
    I think that I'll make my own topic if I haven't found a solution by tomorrow, as the original question in this topic is solved.

  • Ncurse based apps + Notify-OSD?

    Hi. I am wanting to configure either calcurse or ncmpcpp to send notifications to my desktop (through Notify-OSD). I am very unclear on how to do this, all that comes to mind is to pipe the internal notification commands into notify-send somehow?
    In the calcurse config file there is this:
    # Command used to notify_user of an upcoming appointment :
    notification.command=printf '\a'
    and for Ncmpcpp there is this:
    #execute_on_song_change = "ncmpcpp --now-playing '{%a - %t}|{%f}' | notify-send"
    I know the ncmpcpp setting is obviously wrong since notify-send needs to have a "body/summary" entered as well.
    I believe that if one of these is solved I can figure out the other.

    JoshuaK wrote:
    I would like to know if anyone here has used Notify-OSD (notify-osd-bzr in AUR) in OpenBox. I love both, and would love it if they played nicely with each other. Any luck people? Just some apps I use in case they dont work either:
    Firefox (I've read Ubuntu's teaming with Mozilla for this)
    Pidgin, Gajim or Empathy (pidgin-libnotify-notify-osd, and Empathy should work, but Gajim?)
    Skype (Doesn't even play nice with N-OSD in Ubuntu...)
    Rhythmbox / Goggle's Music Manager / Banshee (banshee has package in AUR, Rhythmbox supposedly works, would like confirmation on these three)
    Sometimes I use Xchat (haven't tested, any data on this?)
    Thanks! I sound like a newb here, sorry for that (you'll see and hear that I have used Arch off and on since September
    Gajim has been patched to work with -> http://aur.archlinux.org/packages.php?ID=24596

  • Notify-osd-customizable and awesome conflict

    I was trying to install the notify-osd-customizable package from aur, but I'm running in a conflict because both packages "provides" notification-daemon.
    I don't know how to deal when two packages provides the same package. I've read the pacman man and wiki, but I haven't being able to solve the problem =/
    Any help/feedback is welcome :)

    anonymous_user wrote:
    If you don't want to wait for ABS to be updated, you can just download the files and PKGBUILD:
    https://projects.archlinux.org/svntogit … es/awesome
    Thanks to point it out. If you use yaourt,
    yaourt -G awesome
    do the work (pretty handy, even if you don't use it on an everyday basis).
    ZekeSulastin wrote:
    MOPSTER wrote:Since awesome provides a notification module which is optional, it doesn't need the provides line.
    Actually, it kinda does - consider why both awesome and notify-osd-* provide the metapackage notification-daemon; if it didn't provide that, you'd have to edit the PKGBUILD to provide it if you just wanted to use awesome's built-in module.
    It's kinda damned-if-you-do, damned-if-you-don't, unless the maintainer breaks the upstream package and provides naughty as a separate package - maybe something to bug report?
    {edit}I feature-requested it - https://bugs.archlinux.org/task/29874{/edit}
    Thanks, I'm following the 'bug' now, and I -obviously- voted

  • 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???

    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
    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)

  • How to use notify-osd with qt apps in openbox

    Hi, i'm using openbox and Notify-osd. With qhte GTK apps it works fine and i have no problems. But, all the QT apps don't work with notify-osd. Is there a way to get it work?
    I've tried editing the  this /usr/share/dbus-1/services/org.freedesktop.Notifications.service file, and it says:
    [D-BUS Service]
    Name=org.freedesktop.Notifications
    Exec=/usr/lib/notify-osd/notify-osd
    But, it still not working with the QT or the KDE apps. like amarok or choqok.

    na12 wrote:How can I change theme of qt applications in openbox? Qtconfig works only for gnome but not for openbox.It is ugly to have dark gtk apps and light qt apps.
    This is what worked for me:
    Put style=GTK+ at the end of your.config/Trolltech.conf. Got idea from here.

  • OpenBox + Notify-OSD = What...

    I would like to know if anyone here has used Notify-OSD (notify-osd-bzr in AUR) in OpenBox. I love both, and would love it if they played nicely with each other. Any luck people? Just some apps I use in case they dont work either:
    Firefox (I've read Ubuntu's teaming with Mozilla for this)
    Pidgin, Gajim or Empathy (pidgin-libnotify-notify-osd, and Empathy should work, but Gajim?)
    Skype (Doesn't even play nice with N-OSD in Ubuntu...)
    Rhythmbox / Goggle's Music Manager / Banshee (banshee has package in AUR, Rhythmbox supposedly works, would like confirmation on these three)
    Sometimes I use Xchat (haven't tested, any data on this?)
    Thanks! I sound like a newb here, sorry for that (you'll see and hear that I have used Arch off and on since September

    JoshuaK wrote:
    I would like to know if anyone here has used Notify-OSD (notify-osd-bzr in AUR) in OpenBox. I love both, and would love it if they played nicely with each other. Any luck people? Just some apps I use in case they dont work either:
    Firefox (I've read Ubuntu's teaming with Mozilla for this)
    Pidgin, Gajim or Empathy (pidgin-libnotify-notify-osd, and Empathy should work, but Gajim?)
    Skype (Doesn't even play nice with N-OSD in Ubuntu...)
    Rhythmbox / Goggle's Music Manager / Banshee (banshee has package in AUR, Rhythmbox supposedly works, would like confirmation on these three)
    Sometimes I use Xchat (haven't tested, any data on this?)
    Thanks! I sound like a newb here, sorry for that (you'll see and hear that I have used Arch off and on since September
    Gajim has been patched to work with -> http://aur.archlinux.org/packages.php?ID=24596

  • Is there an alternative to notify-osd that supports centered messages

    Using crontab I run a backup script at 9PM every evening, at 8:55 my computer reminds me to switch on my external with notify-osd.
    The only problem is that I keep missing the alerts because they aren't centered. The developers of notify-osd seem to have lumped all notifications in the same boat - knowing what song is being played is just as important as a crucial backup!
    Design choices aside, is there an alternative to notify-osd that supports centered messages? I'd use xmessage but, well, it's ugly as hell.
    Alternatively is there a data bank of stock system sounds anywhere so that I can have a 'DING' played when the important messages come up?
    Last edited by BaconPie (2010-08-29 22:04:42)

    BaconPie wrote:
    vae77 wrote:For notifications I can't miss (like battery status) I add an icon (of 100 px size) and set timeout to 6 seconds.
    How do you get it to print at 100px - notify-send always crops my image.
    I use notifyconf, which depends on notify-osd-customizable,  both are on aur.
    But I've just remember one thing. Using python-notify with the set_timeout(pynotify.EXPIRES_NEVER) display the notification on center of screen with buttons 'ok' and 'cancel' (but the notification gets uglier). I don't know if is possible to have the same behavior with notify-send.
    e.g:
    #!/usr/bin/python
    import pynotify
    pynotify.init('test')
    n = pynotify.Notification('title','body')
    n.set_timeout(pynotify.EXPIRES_NEVER)
    n.show()
    Last edited by vae77 (2010-08-30 00:28:16)

  • Notify-osd Gnome 3 Volume OSD

    I have installed the notify-osd package but it does not look like gnome 3 in fallback mode is using it.
    I want the volume osd as in Ubuntu at the upper right.
    My /usr/share/gnome-session/sessions/gnome-fallback.session
    RequiredComponents=gnome-panel;gnome-settings-daemon;
    RequiredProviders=windowmanager;
    DefaultProvider-windowmanager=metacity
    DefaultProvider-notifications=notify-osd

    This functionality relies on a patch for gnome-settings-daemon:
    http://bazaar.launchpad.net/~ubuntu-des … ions.patch

  • Notifications Using Notify-OSD and Dbus

    I am writing a quick script to show a Notify-OSD bubble whenever I switch songs in MPD. The easiest way I can think of doing this is to make an MPD controller in Python that uses pynotify to show the bubble. This works, but the problem comes whenever I try to change songs quickly. Notify-osd shows the first bubble for several seconds, then the next for severals seconds, and so on. This is obviously not the desired functionality: I want the notifications to update immediately on song change.
    Luckily, pynotify has an "update" ability which does exactly what I want. Unfortunately, it requires a Python object handle to the notification. This handle dies after the python program exits, so this method won't work unless I have my python controller sit in the background and watch for keypresses, which I don't want to do.
    I know notify-osd can use dbus, and I have been able to send a message to it through Dbus, but I can't find sufficient documentation to be able to use notify-osd's "update" feature. Without it, I get the message pileup described above.
    Does anyone know of notify-osd documentation specifically regarding Dbus, or have a better way to do this in general?

    Never mind, I have been able to hack together a solution. For those interested, I use python's Pyro module to start a server that serves up a pynotify object. Meanwhile, I have another script that runs on a keypress. This script connects to the Pyro server, accesses the object, and updates the info. Not pretty, but it is fast and does what I want it to.

  • Notify-osd +Gnome 2.32.1 with Compiz doesn't work.

    I just installed notify-osd and I cannot get it to work.
    I installed the package and rebooted like the Wiki suggested but nothing pops up when I do the following:
    Mount a drive like a USB flash drive
    Play a song in Exaile
    Get an IM in pidgin.  I have the pidgin-libnotify-notify-osd installed as well as the plugins for notification in pidgin.
    I have manually started notify-osd with /user/lib/notify-osd/notify-osd and I can see it running but still nothing.
    I'm kind of stuck.  Googlefu has not helped.
    However, when I use notify-send "Hello World" that does work.  I looked into dbus-1 from a fedora tutorial and it is properly executing notify-osd.
    What am I missing guys?
    Update!!!!  I got exaile and pidgin to work by installing python-notify and turning on the right plugins.  Still can't figure out how to get it to notify me of mounted drives.
    Last edited by TFB (2011-01-15 00:34:13)

    for other notification to work like mounts, network connections, volume keys, bat status you need gnome-power-manager-notify-osd and gnome-settings-daemon-notify-osd
    regards

  • [SOLVED] Working notify-sharp

    Hi,
    the PKGBUILD of community/notify-sharp isn't working anymore since the code repository is down.
    On the project site there is no further information and i found no way to download the sources directly.
    But there are source packages for other distros:
    http://rpmfind.net/linux/RPM/opensuse/1 … .i586.html
    more here
    unfortunately i have no clue how to create a new PKGBUILD out of the rpm source package.
    Last edited by gimpel (2008-10-24 19:39:06)

    I do not have a problem with the PKGBUILD in community:
    > makepkg
    ==> Determining latest svn revision...
    -> Version found: 3009
    ==> Making package: notify-sharp-svn 3009-2 i686 (Thu Oct 23 20:32:40 EST 2008)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Validating source files with md5sums...
    ==> Extracting Sources...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    A notify-sharp/configure.ac
    A notify-sharp/AUTHORS
    A notify-sharp/ChangeLog
    A notify-sharp/src
    A notify-sharp/src/notify-sharp.dll.config
    A notify-sharp/src/AssemblyInfo.cs.in
    A notify-sharp/src/Global.cs
    A notify-sharp/src/Makefile.am
    A notify-sharp/src/Notification.cs
    A notify-sharp/src/notify-sharp.snk
    A notify-sharp/COPYING
    A notify-sharp/docs
    A notify-sharp/docs/en
    A notify-sharp/docs/en/index.xml
    A notify-sharp/docs/en/Notifications.xml
    A notify-sharp/docs/en/Notifications
    A notify-sharp/docs/en/Notifications/Global.xml
    A notify-sharp/docs/en/Notifications/CloseArgs.xml
    A notify-sharp/docs/en/Notifications/CloseHandler.xml
    A notify-sharp/docs/en/Notifications/Notification.xml
    A notify-sharp/docs/en/Notifications/ActionArgs.xml
    A notify-sharp/docs/en/Notifications/ActionHandler.xml
    A notify-sharp/docs/en/Notifications/ServerInformation.xml
    A notify-sharp/docs/en/Notifications/Urgency.xml
    A notify-sharp/docs/en/Notifications/CloseReason.xml
    A notify-sharp/docs/notify-sharp-docs.source
    A notify-sharp/docs/Makefile.am
    A notify-sharp/Makefile.am
    A notify-sharp/notify-sharp.pc.in
    A notify-sharp/autogen.sh
    A notify-sharp/NEWS
    A notify-sharp/README
    U notify-sharp
    Checked out revision 3009.
    ==> SVN checkout done or server timeout
    ==> Starting make...

Maybe you are looking for