日期:2014-05-17  浏览次数:20725 次

Ubuntu技巧建立使用“Windows键”的快捷方式

定义Win+E来打开Nautilus


打开gconf-editor,找到“/apps/metacity /keybinding_commands”,双击command_1项,在Value输入框里面输入“nautilus computer://”。然后继续在gconf-editor里面,找到“/apps/metaciy/global_keybindings”,双击 “run_command_1”项,在出现的对话框里面输入“<Super>e”。关闭gconf-editor,按下Win+E,一个 Nautilus就会立刻弹出。
  gconf-editor可以定义12个这样的快捷方式,都可以在“/apps/metacity/keybinding_commands”和“/apps/metaciy/global_keybindings”里面定义。

给eclipse 应用程序定义菜单
$sudo gedit /usr/share/applications/eclipse-user.desktop

?

[Desktop Entry]
Comment=Java IDE
Name=Eclipse
Exec=/opt/eclipse/eclipse
Encoding=UTF-8
Terminal=false
Type=Application
Categories=Application;Development;
Icon=/opt/eclipse/icon.xpm

写入以上内容,大功告成!

?

?