2011年05月11日 星期三 08:50
提示:在中文环境下,可能设置有所变化,请自行修改之。
#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
·完成。如果不见效果注销下。
#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啦。有效果吗?没有注销下。
#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。同上
#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。同上。
#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启动器上即可。
#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/
2011年05月11日 星期三 09:49
昨天编译了下内核,悲剧了。暂时没有时间搞了 。
unity还是不错的
2011年06月01日 星期三 10:30
好东东啊。
Zeuux © 2024
京ICP备05028076号