Difference between revisions of "Gnome3 tweaks"

From Finninday
Jump to: navigation, search
Line 10: Line 10:
  
 
install gnome-tweak-tool
 
install gnome-tweak-tool
 +
 +
=== remove clutter of notify-send alerts from thunderbird ===
 +
 +
Google for "notify-send thunderbird hint transient"
 +
 +
Try this at the command line:
 +
notify-send --hint=int:transient:1 Test
 +
 +
Make this fix to thunderbird:
 +
https://bugs.launchpad.net/libnotify-mozilla/+bug/818655
 +
 +
<pre>
 +
In Gnome3, each call to notify-send by this extension, leaves permanent icon in tray area. You have to click on notification to get rid of it.
 +
 +
To fix it, one have to change one line in thunderbird.indicator.jar -> content/options.xul (line 32) to:
 +
 +
var args = ["--hint=int:transient:1", "-i", iconName, "-c", category, summary, body];
 +
 +
 +
I'm using ubuntu 11.10 on mine machine it's:
 +
 +
in ~/.thunderbird/<random_string>.<email address hidden>/content/overlay.js
 +
 +
## The lines:
 +
136 // generate arguments for notifier
 +
137 if(sound != '' && player == 'libnotify')
 +
138 var args = [title, message, "-i", icon, "-c", "email.arrived", "-t", timeout, "-u", urgency, "-h", "string:sound-file:" + sound];
 +
139 else var args = [title, message, "-i", icon, "-c", "email.arrived", "-t", time out, "-u", urgency];
 +
 +
## have to be changed to:
 +
136 // generate arguments for notifier
 +
137 if(sound != '' && player == 'libnotify')
 +
138 var args = ["--hint=int:transient:1", title, message, "-i", icon, "-c", "email.arrived", "-t", timeout, "-u", urgency, "-h", "string:sound-file:" + sound];
 +
139 else var args = ["--hint=int:transient:1", title, message, "-i", icon, "-c", "email.arrived", "-t", time out, "-u", urgency];
 +
 +
Hope this helps ;-)
 +
 +
p.s. also I deactivated the notification in the Thunderbird main preferences, to not get two notifications for one email.
 +
</pre>

Revision as of 04:26, 25 October 2011

disable the auto-maximize when moving a window to the top of the screen

use gconf-editor and go to :

- apps -> compiz-1 -> pluging -> grid -> screen0 -> options -> top_edge_action

set this value to 0

set focus follows mouse

install gnome-tweak-tool

remove clutter of notify-send alerts from thunderbird

Google for "notify-send thunderbird hint transient"

Try this at the command line:

notify-send --hint=int:transient:1 Test

Make this fix to thunderbird: https://bugs.launchpad.net/libnotify-mozilla/+bug/818655

In Gnome3, each call to notify-send by this extension, leaves permanent icon in tray area. You have to click on notification to get rid of it.

To fix it, one have to change one line in thunderbird.indicator.jar -> content/options.xul (line 32) to:

var args = ["--hint=int:transient:1", "-i", iconName, "-c", category, summary, body];


I'm using ubuntu 11.10 on mine machine it's:

in ~/.thunderbird/<random_string>.<email address hidden>/content/overlay.js

## The lines:
136 // generate arguments for notifier
137 if(sound != '' && player == 'libnotify')
138 var args = [title, message, "-i", icon, "-c", "email.arrived", "-t", timeout, "-u", urgency, "-h", "string:sound-file:" + sound];
139 else var args = [title, message, "-i", icon, "-c", "email.arrived", "-t", time out, "-u", urgency];

## have to be changed to:
136 // generate arguments for notifier
137 if(sound != '' && player == 'libnotify')
138 var args = ["--hint=int:transient:1", title, message, "-i", icon, "-c", "email.arrived", "-t", timeout, "-u", urgency, "-h", "string:sound-file:" + sound];
139 else var args = ["--hint=int:transient:1", title, message, "-i", icon, "-c", "email.arrived", "-t", time out, "-u", urgency];

Hope this helps ;-)

p.s. also I deactivated the notification in the Thunderbird main preferences, to not get two notifications for one email.