You are not logged in.

#1 2017-01-17 00:52:52

Saitohs
Member
Registered: 2016-12-17
Posts: 29

[SOLVED] Notifications problem

Hi, i have a problem with my arch.
When i use << notify-send "something" >> in the command line nothing happens, no erros but doesn't show anything.
I have libnotify installed, and i try dunst too, but nothing works.
Any suggestions?

I use i3 as wm but i have tried in awesome and openbox with the same problem, my laptop is intel.

*Sorry for my english*

Last edited by Saitohs (2017-01-17 02:52:13)

Offline

#2 2017-01-17 00:54:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Notifications problem

Do you have a notification daemon running?

Offline

#3 2017-01-17 00:58:02

Saitohs
Member
Registered: 2016-12-17
Posts: 29

Re: [SOLVED] Notifications problem

I don't know
In all of my previous installations i didn't need to do nothing, only install libnotify and notify-osd.
How can i see?

Offline

#4 2017-01-17 01:00:17

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Notifications problem

https://wiki.archlinux.org/index.php/De … ifications

So it looks like notify-osd covers it, and is activated by dbus. Is DBUS_SESSION_BUS_ADDRESS set?

Last edited by Scimmia (2017-01-17 01:03:01)

Offline

#5 2017-01-17 01:08:55

Saitohs
Member
Registered: 2016-12-17
Posts: 29

Re: [SOLVED] Notifications problem

I have this:
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-6VirSTVZPZ,guid=3fddc8b122fa2000171e1424587d6e9e
DBUS_SESSION_BUS_PID=16973

What value must it be?

Offline

#6 2017-01-17 02:29:16

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Notifications problem

Yeah, that's the wrong DBUS_SESSION_BUS_ADDRESS. Are you using dbus-launch anywhere?

Offline

#7 2017-01-17 02:31:21

Saitohs
Member
Registered: 2016-12-17
Posts: 29

Re: [SOLVED] Notifications problem

Yes, i did
how can i edit it?

Last edited by Saitohs (2017-01-17 02:31:36)

Offline

#8 2017-01-17 02:37:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Notifications problem

Just remove it anywhere you've got it.

Offline

#9 2017-01-17 02:51:28

Saitohs
Member
Registered: 2016-12-17
Posts: 29

Re: [SOLVED] Notifications problem

Well, that works.
thanks!

If isn't annoyance, can you say me why had it not work?

Offline

#10 2017-01-17 02:59:27

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

Re: [SOLVED] Notifications problem

in addition to that if you are using dunst you need that running, you can add this to your i3 config file to start it when i3 starts

 exec --no-startup-id dunst 

EDIT: previous post appeared while I was typing this

Last edited by Docbroke (2017-01-17 03:11:31)

Offline

#11 2017-01-17 03:15:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Notifications problem

Saitohs wrote:

Well, that works.
thanks!

If isn't annoyance, can you say me why had it not work?

https://www.archlinux.org/news/d-bus-no … ser-buses/

You were starting a new bus instead of using the one already there.

Offline

#12 2017-01-17 09:19:22

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] Notifications problem

Docbroke wrote:

in addition to that if you are using dunst you need that running

dunst can also be activated by d-bus when it's needed.

Offline

Board footer

Powered by FluxBB