简体   繁体   English

gnome shell 3.16-如何添加重新启动按钮

[英]gnome shell 3.16 - how to add reboot butotn

I have a problem with my gnome shell 3.16.1 (on Arch linux) I want to add a reboot button to the drop down menu at top right corner. 我的gnome shell 3.16.1(在Arch linux上)遇到问题,我想在右上角的下拉菜单中添加一个重新启动按钮。

when I press shutdown button - it shutdowns the computer. 当我按下关机按钮时-它会关闭计算机。 (suspend button was added via extensions, but I cannot find an extension for reboot button), how do I add reboot button? (通过扩展名添加了暂停按钮,但找不到重启按钮的扩展名),如何添加重启按钮? or modify shutdown button so It brings a menu where there is a reboot option? 或修改关闭按钮,以便在菜单中提供重新启动选项?

ps When I logged out, shutdown button bring a menu where I can choose to reboot or shutdown a computer. ps当我注销时,关闭按钮会显示一个菜单,在该菜单中,我可以选择重新启动或关闭计算机。 But I guess it because it is a gdm. 但我猜是因为这是gdm。

Maybe that`s not what you want, but you can simply reboot with pressing top-right corner, shut-down button and restart button . 也许这不是您想要的,但是您只需按右上角, shut-down buttonrestart button shut-down button restart button Or simply type reboot in your terminal. 或者只是在您的终端中键入reboot
PS There is no need in extension for suspending, 'cause all you need is to go to gnome settings and configure suspend on power button as so: PS不需要扩展名即可挂起,因为您只需要进入gnome设置并配置电源按钮上的挂起,如下所示:

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

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