我使用KDE中的活动来单独组织kubuntu桌面,但不幸的是,默认情况下,我的媒体活动是启动的。我怎么能定制呢?
Kubuntu14.04内核:3.13.0-38-通用(64位) KDELibs: 4.13.3 QTversion: 4.8.6
谢谢你的帮助,如果你需要更多关于我的系统的信息,请告诉我。
发布于 2014-11-29 19:33:52
~/..kde/share/config/activitymanagerrc具有可用、运行和当前活动的信息。
在这里,KDE更新activitymanagerrc的速度很慢。如果我更改活动并注销,当前的活动仍然是旧的。KDE中的下一个日志正在开始旧的活动。
解决办法:
kwriteconfig帮助文件:
:~$ kwriteconfig --help
Usage: kwriteconfig [Qt-options] [KDE-options] [options] value
Write KConfig entries - for use in shell scripts
Generic options:
--help Show help about options
--help-qt Show Qt specific options
--help-kde Show KDE specific options
--help-all Show all options
--author Show author information
-v, --version Show version information
--license Show license information
-- End of options
Options:
--file <file> Use <file> instead of global config
--group <group> Group to look in. Use repeatedly for nested groups. [KDE]
--key <key> Key to look for
--type <type> Type of variable. Use "bool" for a boolean, otherwise it is treated as a string
Arguments:
value The value to write. Mandatory, on a shell use '' for empty在这里,activitymanagerrc有:
[activities]
43ef904a-bf13-4770-87b4-3804059f073f=Media
5dfa29b8-765b-4860-ad56-3b0e257e8923=Desktop
afcf7ba3-4aa7-433f-abad-14db4f31b44b=New Activity
[activities-icons]
43ef904a-bf13-4770-87b4-3804059f073f=
[main]
currentActivity=43ef904a-bf13-4770-87b4-3804059f073f
runningActivities=43ef904a-bf13-4770-87b4-3804059f073f,5dfa29b8-765b-4860-ad56-3b0e257e8923所以命令:
kwriteconfig --file activitymanagerrc --group main --key currentActivity -type string 5dfa29b8-765b-4860-ad56-3b0e257e8923将当前活动设置为桌面。
可以将kwriteconfig命令添加到KDE系统设置>启动和关闭>自动启动

https://askubuntu.com/questions/554533
复制相似问题