首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >没有这样的模式“com.canonical.indicator.datetime”

没有这样的模式“com.canonical.indicator.datetime”
EN

Ask Ubuntu用户
提问于 2018-07-28 23:54:09
回答 1查看 1.9K关注 0票数 0

我正试着把这一年加到我的面板上的时钟里。从这里开始

https://superuser.com/questions/443982/how-can-i-show-the-current-year-in-ubuntus-clock-indicator-applet

代码语言:javascript
复制
gsettings set com.canonical.indicator.datetime time-format "'custom'"
No such schema “com.canonical.indicator.datetime”

7/29/18

在完成一些新的安装之后,这些程序将顺利运行。然而,我仍然没有一年。

代码语言:javascript
复制
gsettings set com.canonical.indicator.datetime time-format "'custom'"
gsettings set com.canonical.indicator.datetime custom-time-format "'%a, %d. %h  %H:%M %Y'"

@DK @AlexP我认为这能展示世纪。有人能看到我犯了什么错误吗?

EN

回答 1

Ask Ubuntu用户

发布于 2018-07-30 12:18:53

我发现了问题。我不得不将格式设置为自定义。

我用了dconf-editor,然后去了org/mate/panel/objects/clock/prefs/。我将格式设置为“定制”,自定义格式设置为%a %b %d %Y %I:%M %p

注意:如果你不小心删除了你的面板,你可以再次这样做。

票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1060410

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档