Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
notify-send doesn't show a bold title when using c… [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Hund
n00b
n00b


Joined: 18 Jul 2016
Posts: 56
Location: Sweden

PostPosted: Sun Oct 06, 2019 9:05 am    Post subject: notify-send doesn't show a bold title when using c… [SOLVED] Reply with quote

When I run `notify-send "Example" "text"` I get this notfification:

Quote:
Example
text


When I run `notify-send "Example" "$(cat example.file)"` I get this:

Quote:
Example
text


Note the missing bold text. Is this a bug or am I doing something wrong? I'm using libnotify 0.7.7 and Dunst 1.3.2.
_________________
$_Linuxkompis.se


Last edited by Hund on Sun Oct 06, 2019 9:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7195

PostPosted: Sun Oct 06, 2019 9:32 am    Post subject: Reply with quote

Code:
notify-send "example" "$(cat /etc/gentoo-release)"

i get
example
Gentoo Base System release 2.6

[binary R ] x11-libs/libnotify-0.7.8::gentoo USE="introspection -test" ABI_X86="32 (64) (-x32)" 0 KiB
Back to top
View user's profile Send private message
Hund
n00b
n00b


Joined: 18 Jul 2016
Posts: 56
Location: Sweden

PostPosted: Sun Oct 06, 2019 10:12 am    Post subject: Reply with quote

Hm, that worked for me as well. I turned out to the be the content causing the issue. For some reason it doesn't work when the file contains the character "&".
_________________
$_Linuxkompis.se
Back to top
View user's profile Send private message
kajzer
Guru
Guru


Joined: 27 Nov 2014
Posts: 484

PostPosted: Sun Oct 06, 2019 10:47 am    Post subject: Reply with quote

Hund wrote:
Hm, that worked for me as well. I turned out to the be the content causing the issue. For some reason it doesn't work when the file contains the character "&".


That's being fixed in later versions, don't know why the maintainer for dunst doesn't release new ebuilds for it.
There are v1.4.0 and v1.4.1 available after 1.3.2

Anyway, I'm using 9999 version for a long time now, maybe you should give that one a try.

EDIT:
Ah I'm sorry, there's no 9999 version in the tree either, I made one long time ago so I forgot
in case you need it here it is:
https://pastebin.com/ni1ay2fV
Back to top
View user's profile Send private message
Hund
n00b
n00b


Joined: 18 Jul 2016
Posts: 56
Location: Sweden

PostPosted: Sun Oct 06, 2019 5:21 pm    Post subject: Reply with quote

kajzer wrote:
Hund wrote:
Hm, that worked for me as well. I turned out to the be the content causing the issue. For some reason it doesn't work when the file contains the character "&".


That's being fixed in later versions, don't know why the maintainer for dunst doesn't release new ebuilds for it.
There are v1.4.0 and v1.4.1 available after 1.3.2

Anyway, I'm using 9999 version for a long time now, maybe you should give that one a try.

EDIT:
Ah I'm sorry, there's no 9999 version in the tree either, I made one long time ago so I forgot
in case you need it here it is:
https://pastebin.com/ni1ay2fV


Thank you! I made my own ebuild with version 1.4.1 and it works just fine now. :)
_________________
$_Linuxkompis.se
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14273

PostPosted: Sun Oct 06, 2019 8:32 pm    Post subject: Reply with quote

Since the in-tree version has a known issue, and you got the newer version to work, you should consider submitting a bump request and the associated ebuild, so that other users can more readily get the good version.
Back to top
View user's profile Send private message
Hund
n00b
n00b


Joined: 18 Jul 2016
Posts: 56
Location: Sweden

PostPosted: Sun Oct 06, 2019 9:04 pm    Post subject: Reply with quote

Hu wrote:
Since the in-tree version has a known issue, and you got the newer version to work, you should consider submitting a bump request and the associated ebuild, so that other users can more readily get the good version.


I will do that! :)
_________________
$_Linuxkompis.se
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum