Linux 用户(Linux users)可以根据自己的喜好自由定制系统,包括桌面主题和图标。有许多简单的方法可以在Linux中创建自定义图标来改变系统的外观。我们将讨论以下使用自定义图标的方法:
- (Finding)从受信任的网站查找和安装自定义图标
- 将Tar 命令(Tar Command)用于单个用户(User)或系统范围的(System-Wide)使用
- (Modernize Xfce Desktop)使用酷炫的(Cool-Looking)图标使 Xfce 桌面现代化
- (Install Paper Icon Theme)在Linux Mint Cinnamon中(Linux Mint Cinnamon)安装 Paper Icon 主题
- (Create App Shortcut)使用GNOME 桌面(GNOME Desktop)在Ubuntu上(Ubuntu)创建应用程序快捷方式
从受信任的网站在 Linux 中查找和安装自定义图标(Finding and Installing Custom Icons in Linux from Trusted Websites)
网上有很多地方供用户下载自定义图标主题。以下是Linux社区信任的网站。
(Look)浏览上面列出的网站之一,找到您喜欢的图标主题,然后下载它。右键单击(Right-click)存档以提取其内容,然后单击在此处提取(extract here)。
您系统的文件管理器将自动创建一个文件夹并将存档的内容放入其中。
在终端中输入(Enter)以下命令,在您的主目录中创建一个隐藏图标文件夹:
mkdir -p ~/.icon
找到下载的图标主题,通常可以在您的下载文件夹中找到。使用下面的 CD 命令到达那里。
cd ~/Downloads
要在那里安装图标,请将其移动到您创建的隐藏图标目录。
mv <your-icon theme folder name-folder> ~/.icons
(Replace)<>替换上述命令中图标主题文件夹名称的名称。
将 Tar 命令用于单个用户或系统范围的使用(Using the Tar Command for One User or System-Wide Usage)
从上面列出的受信任网站之一中搜索图标主题。下面(Below)是来自 openDesktop.org 的一组图标的屏幕截图。
(Download)使用以下 tar 命令下载图标集:
$ tar xJpf papirus-icon-theme-20190203.tar.xz
接下来,将提取的图标文件夹移动到位。如果您只为一位用户安装它,请将其移至:
~/.local/share/icons/
将文件夹放入以下位置以进行系统端安装:
~/usr/share/icons/
打开终端并根据安装类型使用以下命令之一:
$ cp -r ~/Downloads/papirus-icon-theme-20190203 ~/.local/share/icons/
或者
$ sudo cp -r ~/Downloads/papirus-icon-theme-20190203 /usr/share/icons/
选择主题(Themes )或外观(Appearance)选项卡。
找到选项以选择您下载的图标主题并选择它以应用。
使用酷炫的图标使 Xfce 桌面现代化(Modernize Xfce Desktop with Cool-Looking Icons)
Xfce 是一种流行的Linux(Linux)桌面环境,因为它是轻量级的并且在低资源上运行。但是,它看起来和感觉都很旧。
(Customizing themes)在Linux中(Linux)自定义主题和添加自定义图标可以美化桌面,使其看起来更加现代和新鲜。
去Xfce-look.org找到并下载一个你喜欢的图标主题集(如下图),解压,放到你家目录下的 .icons 目录下。
要选择图标主题,请转到设置(Settings)>外观(Appearance)>图标(Icons)。
在 Linux Mint Cinnamon 中安装 Paper Icon 主题(Install Paper Icon Theme in Linux Mint Cinnamon)
在Linux Mint(Linux Mint)中有两种安装图标主题集的方法。上面讨论了下载图标主题并将其解压缩到~/.icons directory。
另一种方法是使用PPA(个人包存档(Personal Package Archive))。下面是一个名为(Below)Paper Icon Theme的酷炫图标集的屏幕截图。
打开终端(Ctrl+Alt+T)并使用以下命令:
sudo add-apt-repository ppa:snwh/pulp
sudo apt-get 更新(sudo apt-get update)
sudo apt-get install paper-icon-theme
安装图标主题后,从Menu转到Settings,然后转到Themes。
要在Linux Mint(Linux Mint)中找到图标,请查看主题选项(Themes Options)。要仅更改图标而不更改主题,请单击Icons。
在这里,您将看到所有可用的图标。选择要使用的集。
使用 GNOME 桌面在 Ubuntu 上创建应用程序快捷方式(Create App Shortcut on Ubuntu with GNOME Desktop)
下面的说明也适用于使用GNOME 桌面(GNOME desktop)的任何其他发行版。
经典桌面操作系统包括屏幕上的图标,例如垃圾桶、文件管理器和应用程序快捷方式。
在Windows中,许多程序会询问您是否要创建桌面快捷方式,而Linux发行版则不会。
确保(Make)您已安装 GNOME Tweak Tool(GNOME Tweak Tool Installed)并启用Show Icons选项。
要添加桌面快捷方式,请找到 .desktop 应用程序文件。转到文件(Files)>其他位置(Other Location)>计算机(Computer)。
然后转到目录 usr(directory usr) > share > applications。您应该能够看到已在此位置安装的其他Ubuntu应用程序。(Ubuntu)查找.desktop文件名。
查找应用程序图标并将其拖放到桌面上或从.desktop文件中复制它(Ctrl+C shortcut)并将其粘贴到桌面上(Ctrl+V shortcut)。
您将看到一个带有警告的文本文件,而不是应用程序的徽标或图标:不受信任的应用程序启动器(untrusted application launcher)。
单击信任并启动(Trust and Launch)。应用程序不仅会启动,而且您还会看到.desktop文件现在将成为应用程序图标。
如果您厌倦了查看相同的用户界面并想使用与默认不同的图标,您可以。按照上面的一些建议自定义您的图标,让您的桌面焕然一新。
How to Find, Download, and Install Custom Icons in Linux
Linux users have the freedom to customize their system to fit their preferences, including the desktop theme and icons. There are many simple ways to create custom icons in Linux to change the look and feel of your system. We will discuss the following methods to use custom icons:
- Finding and installing custom icons from trusted websites
- Using the Tar Command for One User or System-Wide Usage
- Modernize Xfce Desktop with Cool-Looking Icons
- Install Paper Icon Theme in Linux Mint Cinnamon
- Create App Shortcut on Ubuntu with GNOME Desktop
Finding and Installing Custom Icons in Linux from Trusted Websites
There are many places online for users to download custom icon themes. Below are websites that are trusted by the Linux community.
- The source for almost all open source projects, including custom icons, is Github.
- Gnome-look.org hosts high-quality Gnome-based icon themes.
- The artwork sharing community, deviantart.com, is known for the high-quality themes and icons created by its contributors
- Users can download custom widgets from the official KDE store.
- OpenDesktop.org is another trusted website for icon themes.
Look through one of the websites listed above, find an icon theme you like, and download it. Right-click on an archive to extract its contents and click extract here.
Your system’s file manager will create a folder automatically and put the contents of the archive inside it.
Enter the following command in terminal to create a hidden icon folder in your home directory:
mkdir -p ~/.icon
Locate the downloaded icon theme, usually found in your download folder. Use the CD command below to get there.
cd ~/Downloads
To install the icon there, move it to the hidden icons directory you created.
mv <your-icon theme folder name-folder> ~/.icons
Replace the name of your icon theme folder name in the above command between the <>.
Using the Tar Command for One User or System-Wide Usage
Search for an icon theme from one of the trusted websites listed above. Below is a screenshot of a set of icons from openDesktop.org.
Download the icon set using the following tar command:
$ tar xJpf papirus-icon-theme-20190203.tar.xz
Next, move your extracted icon folder into place. If you are installing it for just one user, move it to:
~/.local/share/icons/
Put the folder into the following location for a system-side installation:
~/usr/share/icons/
Open a terminal and use one of the following commands depending upon the type of installation:
$ cp -r ~/Downloads/papirus-icon-theme-20190203 ~/.local/share/icons/
or
$ sudo cp -r ~/Downloads/papirus-icon-theme-20190203 /usr/share/icons/
Select Themes or Appearance tab.
Find the option to select the icon theme you downloaded and select it to apply.
Modernize Xfce Desktop with Cool-Looking Icons
Xfce is a popular desktop environment for Linux because it’s lightweight and runs on low resources. However, it looks and feels old.
Customizing themes and adding custom icons in Linux can spruce up the desktop and make it look more modern and fresh.
Go to Xfce-look.org to find and download an icon theme set you like (such as the one below), extract it, and put it in the .icons directory in your home directory.
To select the icon theme, go to Settings > Appearance > Icons.
Install Paper Icon Theme in Linux Mint Cinnamon
There are two ways to install icon theme sets in Linux Mint. Downloading the icon theme and extracting it to the ~/.icons directory is discussed above.
Another way is to use a PPA (A Personal Package Archive). Below is a screenshot of a cool-looking icon set called Paper Icon Theme.
Open a terminal (Ctrl+Alt+T) and use the command below:
sudo add-apt-repository ppa:snwh/pulp
sudo apt-get update
sudo apt-get install paper-icon-theme
After installing the icon theme, from the Menu, go to Settings, then Themes.
To find the icons in Linux Mint, look inside Themes Options. To only change the icons and not the theme, click on Icons.
Here you will see all the available icons. Select the set you want to use.
Create App Shortcut on Ubuntu with GNOME Desktop
The instructions below will also work for any other distributions that use the GNOME desktop.
Classic desktop operating systems include icons on the screen such as the trash bin, the file manager, and application shortcuts.
While in Windows, many programs will ask if you want to create a desktop shortcut, Linux distributions do not.
Make sure you have the GNOME Tweak Tool Installed and enable the Show Icons option.
To add desktop shortcuts, find the .desktop application files. Go to Files > Other Location > Computer.
Then go to directory usr > share > applications. You should be able to see other Ubuntu applications that you have already installed in this location. Look for the .desktop file names.
Look for the application icon and either drag and drop it onto the desktop or copy it from the .desktop file (Ctrl+C shortcut) and paste it on your desktop (Ctrl+V shortcut).
Instead of seeing a logo or icon for the application, you will see a text file with a warning that says: untrusted application launcher.
Click Trust and Launch. Not only will the app launch, but you will also see that the .desktop file will now be the application icon.
If you are bored or tired of looking at the same user interface and want to use different icons than the default, you can. Customize your icons following some of the suggestions above and give your desktop a facelift.