Manual use of 'notify-send' not working as it used to.

Bug #1011233 reported by lucio messina
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi, i'm italian and i don't speak english very well (and i don't know if this is the right place to report this bug, because my bug is in the command notify-send)

When i had a previous Ubuntu's version I could send notification using the command "notify-send body message" on the terminal.
If "body" or "message" were too long for a line, I saw the text split in two lines.
For example, if i wrote "notif-send hello, how are you? I'm fine, thanks, and you? Me too. What are you doing now? i'm studying"

I saw;
hello, how are you? I'm fine, thanks,
and you? Me too. What are you
doing now? i'm studying

(the text was split in three lines because there wasn't enough space)

But now (with Ubuntu 12.04) i see:
hello, how are you? I'm fine, thanks,

because it doesn't split the lines.
Are there a know solution for this problem?

Lucio

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: notify-osd 0.9.34-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Sun Jun 10 18:35:02 2012
GtkTheme: Ambiance
IconTheme: ubuntu-mono-dark
InstallationMedia: Ubuntu "Precise" - Build amd64 LIVE Binary 20120426-22:45
MachineType: Acer Extensa 5235
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=496935d1-6bd3-43d8-96fc-5413b9bc347b ro quiet splash vt.handoff=7
RelatedPackageVersions:
 xserver-xorg 1:7.6+12ubuntu1
 libgl1-mesa-glx 8.0.2-0ubuntu3.1
 libdrm2 2.4.32-1ubuntu1
 xserver-xorg-video-intel 2:2.17.0-1ubuntu4
 xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
SourcePackage: notify-osd
UpgradeStatus: No upgrade log present (probably fresh install)
WindowManager: No value set for `/desktop/gnome/session/required_components/windowmanager'
dmi.bios.date: 12/21/2009
dmi.bios.vendor: Phoenix
dmi.bios.version: V1.3311
dmi.board.name: BA50-MV
dmi.board.vendor: Acer
dmi.board.version: Not Applicable
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenix:bvrV1.3311:bd12/21/2009:svnAcer:pnExtensa5235:pvrNotApplicable:rvnAcer:rnBA50-MV:rvrNotApplicable:cvnAcer:ct10:cvrN/A:
dmi.product.name: Extensa 5235
dmi.product.version: Not Applicable
dmi.sys.vendor: Acer
glxinfo: Error: [Errno 2] File o directory non esistente

Revision history for this message
lucio messina (lucio-messina-w) wrote :
summary: - display error
+ Manual use of 'notify-send' not working as it used to.
Revision history for this message
Mitesh Shah (miteshshah) wrote :

@ucio-messina-w

You forget to add SUMMARY

notify-send [OPTION...] <SUMMARY> [BODY] - create a notification

For Example:
notify-send SOMETITLE "hello, how are you? I'm fine, thanks, and you? Me too. What are you doing now? i'm studying"

Revision history for this message
Mirco Müller (macslow) wrote :

notify-osd still does split the lines as usual. Summary-text can get up to three lines before it is ellipsized and body-text upto ten lines.

Revision history for this message
Mirco Müller (macslow) wrote :

Try this command:

notify-send "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet." "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."

Revision history for this message
lucio messina (lucio-messina-w) wrote :

It still giving me an error.

The first command split BODY after "sadipscing", and the first word of the second line is "eirmod" (three words are missing: ", sed diam nonumy")

The second command is

notify-send ciao "1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 "

"ciao" is the summary, and as you can see it split the line after digit "1" and restart with "1" in the second line.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in notify-osd (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers