问题描述
在 VirtualBox 中的 Ubuntu 下我已经在/opt 中安装了 Sublime 并在/usr/bin 中创建了一个名为 sublime
Under Ubuntu in a VirtualBoxI have installed Sublime in /opt and created a link (ln) in /usr/bin called sublime
当我只是从终端窗口调用 sublime 或在任务栏中使用 Ubunto 键时,Sublime 启动时窗口顶部没有菜单栏.(因此无法保存例如菜单)
When I just call sublime from a terminal window or using the Ubunto key in the task bar Sublime starts without the menu bar in the top of the window. (So it is impossible to a menu to save e.g.)
当我用 sudo sublime 启动 sublime 时,一切正常,但是每次启动程序时我都需要提供密码.
When I start sublime with sudo sublime then everything is ok, but then I need to give the password with every start of the program.
如何在没有 sudo 的情况下启动程序?
How can I just start the program without sudo?
推荐答案
要重置 Sublime 菜单,请在终端中执行:
To reset Sublime menu please do in Terminal:
initctl restart unity-panel-service
initctl restart unity-panel-service
希望对你有帮助:)
这篇关于Sublime 启动时没有菜单栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!