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

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

创新新互联,凭借10年的成都网站设计、成都做网站经验,本着真心·诚心服务的企业理念服务于成都中小企业设计网站有近千家案例。做网站建设,选创新互联

#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软件中心启动文件到主目录下。打开终端,输入下面命令:

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启动文件到主目录:

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浏览器

·复制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启动快捷键列表

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

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的方法

网站标题:Ubuntu 11.04 Unity所需的6个快捷列表
网页URL:http://www.shufengxianlan.com/qtweb/news11/92161.html

网站建设、网络推广公司-创新互联,是专注品牌与效果的网站制作,网络营销seo公司;服务项目有等

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联