LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2011, 02:16 AM   #1
michal017
Member
 
Registered: Jan 2004
Location: EU
Distribution: Debian
Posts: 90

Rep: Reputation: 15
notify-send notification look (design)


notify-send is working fine on my system (Debian).
However, when running as a regular user, the notification is displayed in right lower corner and is white (looks like this http://wagiaalla.com/2007/06/06/notify-send/).
When running as root, the notification is displayed in upper right corner and is black (looks like this http://hackaday.com/2009/09/03/simpl...notifications/).
What is the difference? How can I make it look black even for regular user?
Thanks..
m.
 
Old 07-20-2011, 07:14 AM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
Different users have different DBus connections to keep data safe. As only your current user provide the correct notification service, if any other user try to use notify, it will have to launch it's own service with it's own settings as it can't access your current user service. You can make a wrapper around notify-send with some sudo tricks to force it to be launched as a single user. chown and chmod u+s might also work. The simpliest way would be to share your ~/.config/.gnome or whatever the config folder for debian is called these day.
 
Old 07-20-2011, 08:01 AM   #3
michal017
Member
 
Registered: Jan 2004
Location: EU
Distribution: Debian
Posts: 90

Original Poster
Rep: Reputation: 15
Sorry, I was asking "How can I make it look black even for regular user?".
 
Old 07-20-2011, 06:15 PM   #4
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
As I said above, you have to use a theme and set it black then match all your account to use it. LibNotify have many frontend. I don't knwo the one your using and I am aware you probably don't, but you have to find out and then make it the same across different users to have a consisted look and feel.

I the screenshot, the "black one" is using Unity engine and the "white" one plain old Gnome2 without any theme.
 
Old 07-21-2011, 01:32 AM   #5
michal017
Member
 
Registered: Jan 2004
Location: EU
Distribution: Debian
Posts: 90

Original Poster
Rep: Reputation: 15
Ok, thanks. I figured it out now.
First I tried to change GTK theme via 'gtk-chtheme', but it does not affect the notification.
Then I found 'notification-properties', and that's it. I only have 2 themes installed 'Standard theme' which is the white one, and 'Slider' which is the black one.
Thanks for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlink --> Notify-Send jv2112 Linux - Newbie 3 06-19-2011 06:39 AM
Libnotify and notify-send problems J_Humphrey Slackware 8 07-27-2010 04:43 PM
LXer: Finally An Easy Way To Customize Notify OSD Notification Bubbles [Ubuntu PPA] LXer Syndicated Linux News 0 05-13-2010 04:20 PM
Notification-daemon vs notify-osd potuz Linux - Software 0 11-27-2009 04:58 PM
using notify-send ashikahamed Ubuntu 0 05-02-2008 06:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration