Comment 60 for bug 331369

Revision history for this message
Andreas B. (andreas-b123) wrote :

Simple workaround (for developpers;-))

In a terminal:
# get sources
bzr branch lp:notify-osd
cd notify-osd
./autogen.sh

Open the file src/defaults.c
search the last line of the function "defaults_get_top_corner" (the 2nd last line at all, ~2266)
insert the following code:

 int x_conf = gconf_client_get_int (self->context, "/apps/notification-daemon/x", 0);
 if (x_conf != 0)
 {
  g_debug ("read x: %d", x_conf);
  *x = x_conf;
 }

in the commandline:
cd ..
make (ignor errors if there is the outputfile "src/notify-osd")
# backup original...
sudo mv /usr/lib/notify-osd/notify-osd /usr/lib/notify-osd/notify-osd_old
# copy new version (self compiled)
sudo cp ./src/notify-osd /usr/lib/notify-osd/notify-osd

Now you have to reboot or the kill the notify-osd and restart it...

So, you can now open the gconf-editor, insert a new integer in "/apps/notification-daemon/x" and set it to you prefered x coordinate, where de popups should be show, I choos 900, for a 17" TFT, the first of two...

Andreas