Sublime Text editor opens with no menu bar unless started with sudo

前端 未结 6 2323
死守一世寂寞
死守一世寂寞 2021-02-09 14:28

I have installed Ubuntu 13.10 on VirtualBox 4.3.6, running on Windows 7. I have installed the VirtualBox Guest Additions on Ubuntu.

I have used this .deb file to install

6条回答
  •  花落未央
    2021-02-09 14:46

    For Ubuntu create this file sublime in /usr/bin/

    #!/bin/bash
    env UBUNTU_MENUPROXY=0 /opt/sublime/sublime_text $@ 2>/dev/null &
    

    Then chmod +x sublime. Put it in your executable path and you're good to go! If you have sublime in a different location you'll have to set that at this part '/opt/sublime/sublime_text'

    You'll want to have errors routed to null since Glib throws up warnings (it's a known Ubuntu issue).

提交回复
热议问题