隐藏任务栏
Tofloor
poster avatar
java
deepin
2017-05-23 00:57
Author
使用什么命令可以隐藏任务栏.
Reply Favorite View the author
All Replies
avatar
paopao123
deepin
2017-05-23 01:02
#1
右击任务栏/状态
Reply View the author
avatar
java
deepin
2017-05-23 01:15
#2
https://bbs.deepin.org/post/139839
右击任务栏/状态

这个我知道 , 那么如果用命令或是改什么配置文件做可以做到吗
Reply View the author
avatar
justforlxz
deepin
2017-05-23 01:34
#3
https://bbs.deepin.org/post/139839
这个我知道 , 那么如果用命令或是改什么配置文件做可以做到吗

通过dbus给com.deepin.dde.daemon.Dock的HideMode和HideState属性来操作dock的隐藏
Reply View the author
avatar
java
deepin
2017-05-23 01:36
#4
https://bbs.deepin.org/post/139839
通过dbus给com.deepin.dde.daemon.Dock的HideMode和HideState属性来操作dock的隐藏

谢谢,这个东西怎么用或是有什么资料说明...
Reply View the author
avatar
justforlxz
deepin
2017-05-23 21:56
#5
https://bbs.deepin.org/post/139839
谢谢,这个东西怎么用或是有什么资料说明...

我说的这个方法,和直接操作dock去设置位置是一样的,只不过调用被你用其他程序操作了。dbus这方面有点难,你可以多谷歌多百度。或者直接扒Dock的源码,看dock是如何和daemon的接口互相操作的。
Reply View the author
avatar
wangyingtao
deepin
2017-05-23 22:11
#6
  1. dbus-send --print-reply --type=method_call --dest=com.deepin.dde.daemon.Dock /com/deepin/dde/daemon/Dock org.freedesktop.DBus.Properties.Set string:'com.deepin.dde.daemon.Dock' string:'HideMode' variant:int32:1
Copy the Code
Reply View the author