Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-11-13 21:46:23

Mellowbob
Member
Registered: 2011-10-16
Posts: 286

notification themes

Are there (and where are they) themes for the notification panel on the desktop. I have "default", "ponies" and "smoke".

And, if there aren't others available ... how does one modify what's on the desktop right now?

Thanks.

Offline

#2 2011-11-14 17:45:46

jeromeg
Member
From: France
Registered: 2010-11-11
Posts: 131
Website

Re: notification themes

"Default", "Ponies" and "Smoke" are themes for the notification bubbles which for example pop up when network-manager connects to a Wifi network. Thus, they have nothing to do with the notification area of the panel, which holds status icons of the running application.

What do you mean by "how does one modify what's on the desktop right now?"?

Offline

#3 2011-11-14 18:46:35

Mellowbob
Member
Registered: 2011-10-16
Posts: 286

Re: notification themes

Right ... I'm speaking of the notification "bubbles" or messages. The one I see the most is generated by my music player each time a new track starts, etc.

So, the correct term is ... the setting dialogue is "Notifications".

Yes, default, ponies and smoke are the standard ones supplied with a distro. I'd like to know:

- can one modify these or create a new one. What file are involved?

- are there other notification themes available? Where?

Sorry if I was not quite accurate enough in the 1st message.

Offline

#4 2011-11-15 00:57:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,534

Re: notification themes

On my system, I have a /usr/share/themes/ZOMG-PONIES! directory (the other theme directories exist there as well). The theme configuration settings are in xfce-notify-4.0/gtkrc. It looks pretty simple to configure. The content of the file is:

style "ponies-window"
{
    bg[NORMAL] = "#ff69b4"
    XfceNotifyWindow::border-color = "#ffff00"
    XfceNotifyWindow::border-radius = 10.0
    XfceNotifyWindow::border-width = 6.0
}
class "XfceNotifyWindow" style "ponies-window"

style "ponies-text"
{
    font_name = "Comic Sans MS 26"
    fg[NORMAL] = "#ffff00"
    GtkWidget::link-color = "#c17800"
}
widget_class "XfceNotifyWindow.*.<GtkLabel>" style "ponies-text"

style "ponies-btn"
{
    bg[NORMAL] = "#9400d3"
    bg[PRELIGHT] = "#5e0086"
}
widget "XfceNotifyWindow.*.GtkButton" style "ponies-btn"

You could probably also throw this code into ~/.gtkrc-2.0 and have it take effect.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2011-11-15 02:18:24

Mellowbob
Member
Registered: 2011-10-16
Posts: 286

Re: notification themes

Thanks.

I see them all now in my /usr/share/themes as well.

I'm a bit confused as to why these themes are in a generic /usr/share/theme directory instead of /usr/share/xfce4.

Can these themes be used by other desktops than xfce4?

I'll have to try to modify an existing theme and placing it in ~/.gtkrc-2.0 as you suggest.

Offline

#6 2011-11-15 18:00:56

Mellowbob
Member
Registered: 2011-10-16
Posts: 286

Re: notification themes

I copied the /usr/share/themes/ZOMG-PONIES to a newly created ~/.gtk-2.0 directory. Renamed the directory from ZOMG.. to "test-theme" and in the file .gtk-2.0/test-theme/xfce-notify-4.0/gtkrc I changed the test "ponies" to "bob".

But, in the settings->notifications dialog I don't get anything other that the original ponies, default and smoke options.

I'm thinking that .gtk-2.0 might be the wrong location?

Offline

#7 2011-11-15 18:09:52

angstrom
Member
Registered: 2011-08-13
Posts: 267

Re: notification themes

~/.gtkrc-2.0 has to be a file, not a directory. You will only copy the *content* of your gtkrc theme file in your file ~/.gtkrc-2.0 (be carefull about filename)

Otherwise, try to copy this time the directory /usr/share/themes/ZOMG-PONIES to ~/.themes/mynotification and see if it appears in settings->notifications dialog (to be sure, logout and re-login)


Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...

Offline

#8 2011-11-16 00:25:43

Mellowbob
Member
Registered: 2011-10-16
Posts: 286

Re: notification themes

Bingo!

Copying the directory to .themes works just fine. Didn't even need a log in/out.

Offline

#9 2011-11-17 06:27:08

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: notification themes

I don't seem to have any "Notifications" under Preferences.  What program does it run?  Maybe I need to install it.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#10 2011-11-17 11:12:29

angstrom
Member
Registered: 2011-08-13
Posts: 267

Re: notification themes

For xfce 4.8, you need to have xfce4-notifyd to be installed. You can run the Notification dialog by : /usr/bin/xfce4-notifyd-config. And finally you have to make sure that notification daemon (xfce4-notifyd) is running during your Xfce session.

Last edited by angstrom (2011-11-17 11:13:56)


Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...

Offline

#11 2011-11-17 17:52:43

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: notification themes

Thank you; now installing it.

Edit:

No package xfce4-notifyd-config available.

Last edited by Sideburns (2011-11-17 17:57:19)


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#12 2011-11-17 18:19:46

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,534

Re: notification themes

The binray file xfce4-notifyd-config is included as part of the xfce4-notifyd package.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#13 2011-11-17 18:25:16

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: notification themes

OK, I've got it installed, but it doesn't do anything.  All of the themes look the same and I can't move it from top right.  Will play around with it later, when I have the time.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#14 2011-11-17 20:28:04

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,534

Re: notification themes

xfce4-notifyd needs to be running. If...

ps -ef | grep xfce4-notifyd | grep -v grep

...returns nothing, then:

/usr/lib/xfce4/notifyd/xfce4-notifyd &

...(depending on where it was installed, of course)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#15 2011-11-17 20:50:02

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: notification themes

The daemon was running, but it doesn't change anything.  I'll try logging out and in, partially because there are some updated programs that need restarting and that's the best way to get some of them taken care of.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#16 2011-11-21 02:26:10

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: notification themes

Interesting: it works fine on my laptop.  Now, to see if I can get it going on my desktop as well.

No.  I get an error that some other xndaemon is running, but I've no idea what.

Last edited by Sideburns (2011-11-21 02:34:24)


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#17 2011-11-21 12:18:08

wkr
Member
Registered: 2011-01-01
Posts: 88

Re: notification themes

Removing notify-osd fixed it

Offline

#18 2011-11-21 18:25:03

Nice&Gently
Member
From: Berlin, old europe
Registered: 2011-05-22
Posts: 26

Re: notification themes

Nice workaround, but the entry 'bg[NORMAL] = "#ff69b4"' ' with any color key doesn't change anything. In the notify window i see always the color key 'bg[NORMAL] = "#ECB850" from my theme gtkrc. All other entrys can be changed.
Is this normal or a bug?


Life's too short for boring desktops

Offline

#19 2011-11-21 19:24:07

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: notification themes

It looks like notify-osd is part of orca.  I don't use it, but did experiment with it on my desktop just long enough to know I didn't like or want it.  I'll try removing it, as it's still installed (part of the default install), and see if that does it.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 613.1 KiB (Peak: 629.95 KiB) ]