Sublime starts without menu bar

瘦欲@ 提交于 2019-12-24 12:38:16

问题


Under Ubuntu in a VirtualBox I have installed Sublime in /opt and created a link (ln) in /usr/bin called 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.)

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.

How can I just start the program without sudo?


回答1:


Try to install Sublime in a different directory.
Your home directory should be ok, but so is any other directory where you are allowed to save files without using sudo.

Edit: I see now that I misunderstood your question, so it's not surprising that it isn't working this way. Sorry!




回答2:


To reset Sublime menu please do in Terminal:

initctl restart unity-panel-service

Hope this will help you :)



来源:https://stackoverflow.com/questions/15252271/sublime-starts-without-menu-bar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!