简体   繁体   English

新鲜的ubuntu 18.04和超赞的gnome-control-center已死

[英]Fresh ubuntu 18.04 and awesome-wm gnome-control-center is dead

Fresh install of ubuntu 18.04 then standard apt-install of awesome with awesome-extra. 全新安装ubuntu 18.04,然后使用awesome-extra进行awesome的标准apt-install。

Awesome --version returns 很棒的--version返回

awesome v4.2 (Human after all)
 • Compiled against Lua 5.3.3 (running with Lua 5.3)
 • D-Bus support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.5
 • LGI version: 0.9.2

gnome-control-center sound -v gnome控制中心声音-v

** (gnome-control-center:14812): DEBUG: 14:27:19.737: Enabling debugging
** (gnome-control-center:14812): DEBUG: 14:27:19.850: No extra argument
** (gnome-control-center:14812): WARNING **: 14:27:19.850: Could not find settings panel "sound"

Basically there is no settings whatsoever. 基本上没有任何设置。

Anyone can suggest what went wrong? 任何人都可以建议出什么问题了吗?

Everything else works just fine, I have sound, keyboard, multiple displays. 其他一切工作正常,我有声音,键盘和多个显示器。 I just lost control over settings, cannot mute sound, cannot dim a screen, cannot lock my laptop. 我只是失去了对设置的控制,无法静音,无法使屏幕变暗,无法锁定笔记本电脑。

PS Previous ubuntu (16.04) had unity-control-center and it was working just fine (but with older version of awesome I think ) PS Previous ubuntu(16.04)拥有统一的控制中心,并且工作正常(但我认为使用的是旧版的真棒)

I reached to Awesome irc channel to figure out what might be wrong. 我到达Awesome irc频道,以了解可能出了什么问题。 Explanation I was given (I am not quoting, I am answering as I understand the problem) is that nowadays gnome is more and more strict over it's architecture. 给出的解释是(我不引用,而是在我理解问题时回答),是当今的gnome在其体系结构上越来越严格。 So in the past you could replace window manager on gnome with another tool and retain whatever underlying solution was (mentioned control panel, sound widgets and etc). 因此,过去您可以使用其他工具替换gnome上的窗口管理器,并保留所有底层解决方案(提到的控制面板,声音小部件等)。 But nowadays gnome has approach all or nothing. 但是如今,gnome几乎全无了。

So real solution to my problem is, because sound and screen is working and I am only missing settings-control over them, is to install widgets and/or tools. 真正的解决方案是安装声音小部件和/或工具,因为声音和屏幕可以正常工作,而我只缺少对它们的设置控制。 For example pavucontrol was mentioned as good tool for a sound and bind key shortcuts to control brightness. 例如,提到pavucontrol是声音的好工具,并且可以绑定快捷键来控制亮度。

Previous iteration of Ubuntu worked, because exactly it was running unity, not gnome. Ubuntu的上一个迭代之所以有效,是因为它确实在运行统一,而不是gnome。

gnome-control center can be run by tricking it into thinking it is in a gnome desktop 可以通过欺骗gnome-control center以使其位于gnome桌面中来运行它

env XDG_CURRENT_DESKTOP=GNOME gnome-control-center

or by editing the .desktop files for each control app. 或通过编辑每个控件应用程序的.desktop文件。 for example /usr/share/applications/gnome-display-panel.desktop find the line OnlyShowIn=GNOME;Unity; 例如,在/usr/share/applications/gnome-display-panel.desktop中找到OnlyShowIn=GNOME;Unity;OnlyShowIn=GNOME;Unity; add awesomewm 添加真棒

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM