Six shortcuts required by Ubuntu11.04Unity

Source: Internet
Author: User
In the Ubuntu11.04 Chinese environment, the settings may change. Modify the settings on your own. #1. Add a folder to the home directory. Copy the "HomeFolder" Startup file to the home directory. We open the terminal and copy the following command: cp/usr/share/applications/nautilus-home.desktop ~ /. Local/share/applications · open the text editor and edit the favorite folder gedit.

In the Chinese environment of Ubuntu 11.04, the settings may change. Modify the settings on your own.

#1. Add a folder to the Home Directory

· Copy the "Home Folder" Startup file to the Home directory. Open the terminal and copy the following command:

Cp/usr/share/applications/nautilus-home.desktop ~ /. Local/share/applications

· Open the text editor and edit the favorite folder

Gedit ~ /. Local/share/applications/nautilus-home.desktop

· Replace the original text content with the following content

[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 = 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

· Restart Unity. Press ALT + F2 and enter the following command:

Unity -- replace

· Complete. Log out if no effect is found.

#2. Add shortcuts for the Ubuntu Software Center

· Copy the Startup file of the Ubuntu Software Center to the main directory, just like the first one. Open the terminal and enter the following command:

Cp/usr/share/applications/ubuntu-software-center.desktop ~ /. Local/share/applications/

· Editing files

Gedit ~ /. Local/share/applications/ubuntu-software-center.desktop

· Copy the following lines to the bottom of the Startup file of the Ubuntu Software Center:

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

· Restart Unity. Open the terminal and enter the following command:

Unity -- replace

· OK. Is it effective? Not canceled.

#3. Banshee Player shortcut key settings

· Copy the Banshee Startup file to the main directory:

Cp/usr/share/applications/banshee. desktop ~ /. Local/share/applications

· Open the terminal and enter the following command:

Gedit ~ /. Local/share/applications/banshee. desktop

· Copy the following content to the bottom of the file!

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

· Restart Unity. Press ALT + F2 and enter

Unity -- replace

· OK. Same as above

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.