Ubuntu 11.04 Unity所需的6个快捷列表

系统 Linux 游戏开发
Ubuntu 11.04已经于4月28日发布,这一代最大的特色是全面导入名为Unity的新界面,这也是先前使用在Netbook Remix版本上的界面,相较过去的界面号称更为美观且简单易用。本文为您介绍,在使用Ubuntu 11.04 Unity所需的6个快捷列表 。

提示:在中文环境下,可能设置有所变化,请自行修改之。

#1,添加收藏的文件夹到主目录

 

添加收藏的文件夹到主目录

 

·复制“Home Folder”启动文件到主目录。我们打开终端,复制下列命令:

cp /usr/share/applications/nautilus-home.desktop ~/.local/share/applications/

·打开文本编辑器,编辑收藏文件夹

gedit ~/.local/share/applications/nautilus-home.desktop

·用下面内容替代原来文本内容

[Desktop Entry]
Name=Home Folder
Comment=Open your personal folder
TryExec=nautilus
Exec=nautilus --no-desktop
Icon=user-home
Terminal=false
StartupNotify=true
Type=Application
Categories=GNOME;GTK;Core;
OnlyShowIn=GNOME;Unity;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=nautilus
X-GNOME-Bugzilla-Component=general
X-Ubuntu-Gettext-Domain=nautilus
X-Ayatana-Desktop-Shortcuts=Videos;Documents;Music;Pictures;Downloads
[Videos Shortcut Group]
Name=Videos
Exec=nautilus Videos
TargetEnvironment=Unity
[Documents Shortcut Group]
Name=Documents
Exec=nautilus Documents
TargetEnvironment=Unity
[Music Shortcut Group]
Name=Music
Exec=nautilus Music
TargetEnvironment=Unity
[Pictures Shortcut Group]
Name=Pictures
Exec=nautilus Pictures
TargetEnvironment=Unity
[Downloads Shortcut Group]
Name=Downloads
Exec=nautilus Downloads
TargetEnvironment=Unity

·重启Unity。按住ALT+F2,输入下面命令:

unity --replace

·完成。如果不见效果注销下。#p#

#2,添加Ubuntu软件中心的相关快捷键

 

添加Ubuntu软件中心的相关快捷键

 

·像我们第一个一样,复制Ubuntu软件中心启动文件到主目录下。打开终端,输入下面命令:

cp /usr/share/applications/ubuntu-software-center.desktop ~/.local/share/applications/

·编辑文件

gedit ~/.local/share/applications/ubuntu-software-center.desktop

·复制下面的几行内容到Ubuntu软件中心启动文件底部:

X-Ayatana-Desktop-Shortcuts=SoftwareProperties;SoftwareSources;
[SoftwareProperties Shortcut Group]
Name=Update Manager
Exec=update-manager -c %u
TargetEnvironment=Unity
[SoftwareSources Shortcut Group]
Name=Add/Edit PPAs
Exec=gksu software-properties-gtk
TargetEnvironment=Unity

·重启Unity。打开终端,输入命令:

unity --replace

·OK啦。有效果吗?没有注销下。#p#

#3,Banshee播放器快捷键设置

 

Banshee播放器快捷键设置

 

·复制Banshee启动文件到主目录:

cp /usr/share/applications/banshee.desktop ~/.local/share/applications

·打开终端,输入命令:

gedit ~/.local/share/applications/banshee.desktop

·复制下面内容到该文件底部!

X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Previous;Next;Preferences
[Play Shortcut Group]
Name=Play
Exec=banshee --play
TargetEnvironment=Unity
[Pause Shortcut Group]
Name=Pause
Exec=banshee --pause
TargetEnvironment=Unity
[Stop Shortcut Group]
Name=Stop
Exec=banshee --stop
TargetEnvironment=Unity
[Previous Shortcut Group]
Name=Previous
Exec=banshee --previous
TargetEnvironment=Unity
[Next Shortcut Group]
Name=Next
Exec=banshee --next
TargetEnvironment=Unity
[Preferences Shortcut Group]
Name=Preferences
Exec=banshee --show-preferences
TargetEnviroment=Unity

·重启Unity。按住ALT+F2,输入

unity --replace

·OK。同上#p#

#4,Chromium浏览器

 

Chromium浏览器

 

·复制hromium启动文件到主目录

cp /usr/share/applications/chromium-browser.desktop ~/.local/share/applications

·打开终端,输入命令,编辑

gedit ~/.local/share/applications/chromium-browser.desktop

·复制下面内容到文件底部

X-Ayatana-Desktop-Shortcuts=NewWindow;Incognito;
[NewWindow Shortcut Group]
Name=New Window
Exec=chromium-browser
TargetEnvironment=Unity
[Incognito Shortcut Group]
Name=New incognito window
Exec=chromium-browser --incognito
TargetEnvironment=Unity

·重启Unity。同上。#p#

#5,添加终端的快捷键列表

 

添加终端的快捷键列表

 

·打开终端

cp /usr/share/applications/gnome-terminal.desktop ~/.local/share/applications

·编辑文件

gedit ~/.local/share/applications/gnome-terminal.desktop

·使用Ctrl+f,查找下面一行内容

OnlyShowIn=GNOME;

用下面内容代替上面的内容:

OnlyShowIn=GNOME;Unity;

·现在复制下面内容到该文件底部:

X-Ayatana-Desktop-Shortcuts=NewWindow;NewTab;Top;Root;
[NewWindow Shortcut Group]
Name=New Window
Exec=gnome-terminal --window
TargetEnvironment=Unity
[NewTab Shortcut Group]
Name=New Tab
Exec=gnome-terminal --tab
TargetEnvironment=Unity
[Root Shortcut Group]
Name=Root Terminal
Exec=gksudo gnome-terminal
TargetEnvironment=Unity
[Top Shortcut Group]
Name=Top
Exec=gnome-terminal --command top
TargetEnvironment=Unity

·关闭所有终端窗口,右键单击终端启动图标,取消“Keep in launcher”选项

·现在,到~/.local/share/applicationgs/ 目录下,把终端启动(gnome-terminal.desktop)拖到unity启动器上即可。#p#

#6,建立LibreOffice启动快捷键列表

 

建立LibreOffice启动快捷键列表

 

·打开终端,复制下面命令:

cp /usr/share/applications/libreoffice-startcenter.desktop ~/.local/share/applications

·编辑文档

gedit ~/.local/share/applications/libreoffice-startcenter.desktop

·复制下面内容到该文件的底部:

##Start of shortcut menu
##List of shortcuts
X-Ayatana-Desktop-Shortcuts=Writer;Impress;Calc;Math;Draw
##Define Shortcuts
[Writer Shortcut Group]
Name=Writer
Exec=libreoffice -writer %U
TargetEnvironment=Unity
[Impress Shortcut Group]
Name=Impress
Exec=libreoffice -impress %U
TargetEnvironment=Unity
[Calc Shortcut Group]
Name=Calc
Exec=libreoffice -calc %U
TargetEnvironment=Unity
[Math Shortcut Group]
Name=Math
Exec=libreoffice -math %U
TargetEnvironment=Unity
[Draw Shortcut Group]
Name=Draw
Exec=libreoffice -draw %U
TargetEnvironment=Unity
##End of shortcut menu

·依次打开文件~/.local/share/applications,托动LibreOffice桌面文件(libreoffice-startcenter.desktop) 到Unity启动器即可。

原文:http://www.bentutu.com/2011/05/top-6-quicklists-for-ubuntu-natty/

【编辑推荐】

  1. 在Ubuntu 11.04顶栏上显示网络速度
  2. 快速上手Ubuntu 11.04的19条小技巧
  3. 意外断电后 离线升级Ubuntu 11.04的方法
责任编辑:黄丹 来源: bentutu.com
相关推荐

2011-03-31 11:05:21

Ubuntu Unit

2011-05-30 16:55:45

Ubuntu 11.0Unity

2010-10-26 09:36:00

UnityGNOME ShellUbuntu 11.0

2011-04-06 09:12:51

Unity界面Ubuntu 11.0

2011-08-12 10:17:37

Ubuntu 11.1Unity

2011-04-28 09:14:02

Ubuntu 11.0

2011-03-31 11:19:03

Ubuntu 11.0

2011-03-08 17:00:34

Ubuntu 11.0

2011-02-13 15:16:19

Ubuntu 11.0Unity

2011-05-13 09:56:23

Ubuntu 11.0

2011-02-28 09:05:28

LibreOfficbuntu 11.04

2011-05-05 11:02:55

Ubuntu 11.0 Medibuntu

2011-08-29 18:37:47

Ubuntu11.04

2011-04-15 09:08:09

Ubuntu 11.0

2011-03-24 14:32:28

Ubuntu 11.0墙纸

2011-04-29 09:15:10

Ubuntu 11.0

2011-04-28 09:55:43

Ubuntu 11.0常用软件

2011-08-11 10:00:40

Ubuntu 11.0Xfce桌面环境

2011-09-27 09:13:16

Ubuntu 11.0

2011-05-01 21:48:54

Ubuntu 11.0
点赞
收藏

51CTO技术栈公众号