[问题求助] 请问如何通过命令行呼出通知中心?
Tofloor
poster avatar
linyk
deepin
2020-09-03 18:47
Author
如题,请问如何通过命令行呼出通知中心?我想设置一个快捷键,进一步的话设置一个手势。 最新版本。
Reply Favorite View the author
All Replies
avatar
Ziggy
deepin
2020-09-03 19:07
#1
deepin-notifications,感谢分享
Reply View the author
avatar
linyk
deepin
2020-09-03 19:12
#2
https://bbs.deepin.org/post/201248
deepin-notifications,感谢分享

没有这个命令呀
Reply View the author
avatar
Maicss
deepin
2020-09-03 19:12
#3
这个应该没有命令吧,通知中心是dock的一个插件,并不是一个独立的软件
Reply View the author
avatar
enforcee
deepin
2020-09-03 20:25
#4
dbus-send --session --print-reply --dest=com.deepin.dde.Notification /com/deepin/dde/Notification com.deepin.dde.Notification.Toggle
别看他长,可以用
大家不熟悉dbus所以不太了解
dbus的接口可以用d-feet查看
用python调用dbus比shell好,由于设计问题shell的dbus-send有些发送不了的
Reply View the author
Comments
ieayoio
2020-09-03 23:51
666
avatar
linyk
deepin
2020-09-03 23:16
#5
https://bbs.deepin.org/post/201248
dbus-send --session --print-reply --dest=com.deepin.dde.Notification /com/deepin/dde/Notification co ...

要的就是这个,非常感谢!
Reply View the author
avatar
灵兮之
deepin
2020-09-03 23:59
#6
https://bbs.deepin.org/post/201248
dbus-send --session --print-reply --dest=com.deepin.dde.Notification /com/deepin/dde/Notification co ...

设置哪些软件通知,哪些软件不通知,是在哪里设置的呢,状态栏的通知按钮,左键右键点了都没有设置选项
Reply View the author
avatar
linyk
deepin
2020-09-04 00:12
#7
https://bbs.deepin.org/post/201248
设置哪些软件通知,哪些软件不通知,是在哪里设置的呢,状态栏的通知按钮,左键右键点了都没有设置选项 ...

这个我知道,就在控制中心——通知。
Reply View the author
avatar
灵兮之
deepin
2020-09-04 01:13
#8
https://bbs.deepin.org/post/201248
这个我知道,就在控制中心——通知。

我的没有那个通知的选项,是系统版本不一样?我的是20beat版本
能否通过终端代码调出来?

Reply View the author
avatar
linyk
deepin
2020-09-04 01:58
#9
https://bbs.deepin.org/post/201248
我的没有那个通知的选项,是系统版本不一样?我的是20beat版本
能否通过终端代码调出来?

试试看上面说的d-feet能不能设置?我觉得可以,不过暂时没摸索出来
Reply View the author
avatar
enforcee
deepin
2020-09-04 03:12
#10
https://bbs.deepin.org/post/201248
要的就是这个,非常感谢!

平常学过一些很有趣的知识 但是总觉得各位对他们有热情的不多

非常荣幸
我希望论坛能有更多脚本爱好者x
Reply View the author