Linux icon for apps

How to create a desktop icon for an executable?

I am new to Linux and this may seem trivial but I can’t find a easy solution.
I downloaded VS Code to my Home directory and unzipped it. I know that I have to modify the file with chmod +x code and then run it via ./code in terminal.
But how do I add it as a desktop icon or even as fav in my taskbar? I found this solution (https://askubuntu.com/a/66918), but Gnome Desktop Icon seem to be removed in Ubuntu 20.04.

Don’t be hard on yourself. It’s not trivial. It used to be, but for whatever reason (and alike many other (even essential) things) it seems to have gotten removed from the Gnome desktop. We are going through such an era. I hope it improves.

2 Answers 2

To get it into the dock:

Once the application is running, its icon will show up in the «dock», next to the other app launchers, on the side of the screen. There you can right-click it, and choose the Add to favorites option, that will persist it in there. This step I believe should be able to help you even before you do any of the following steps below, so it’s your quickest first aid for the situation.

To get it onto the desktop:

  1. For an icon on the desktop itself, you need to look for the corresponding *.desktop file: it’s comparable to those desktop shortcuts in Windows. I look for *.desktop files first in the /usr/share/applications location. If the desired one is not in this location, I am usually stuck, and have no idea where else to look. (Someone please could suggest more ideas?)
  2. You need to copy that *.desktop file to your ~/Desktop directory. If you want to override / customize anything in this file, you need to copy it to ~/.local/share/applications/ too: you can modify the copy in there, it will take precedence. Additionally, you would copy this modified variant into ~/Desktop .
  3. You need to ensure that the Desktop Icons gnome-shell-extension is being enabled (which is indispensable for this feature). (Just for a note, in newer Ubuntu releases, it will have a twist on the name, like Desktop Icons NG or somesuch.) See more below:
Читайте также:  Настройки политики безопасности astra linux

To manage gnome-shell extensions, on Ubuntu 20.04 (equipped with a Gnome 3 desktop) there seem to be two convenient graphical UI solutions to manage gnome-shell-extensions:

One using the Gnome-tweaks app:

sudo apt install gnome-tweaks 

Mind you, in upcoming Gnome versions (starting with Gnome 4, (already available in Ubuntu 21.04, I believe) Tweaks will not be used for managing extensions any more.)

sudo apt install gnome-shell-extension-prefs 

However, while this works (mind you, in a fashion of being capable of overriding the above Tweaks app (!)), running its name as command in the terminal, it now says it’s «deprecated», and points to this Flatpak package variant of it as recommended alternative. (Which is pretty crazy to me, because why would you need to install a third package management discipline on your machine (beyond the default apt , and the additional snap ) for such an essential thing as managing gs extensions. )

As I said in my comment above, we are living in «interesting» times.

Источник

Top 10 Linux Icon Packs & Themes

Icon themes are the simplest thanks to changing the design and feel of your Linux desktop.

Top 10 Linux Icon Packs & Themes

A n icon may be a graphical representation of something. It is often termed as being a symbolic thing or noted figure. An icon theme is, therefore, a mixture of icons that share an equivalent feel and appearance. Thus, when a user selects a selected icon theme, all the apps will look and feel as specified by the icon theme used. Icon themes are the simplest thanks to changing the design and feel of your Linux desktop. Your Linux desktop is transformed to your required theme.

Top 10 Linux Icon Packs & Themes

Before beginning, you ought to know that there are two alternative ways of putting in themes on your system:

  • The primary step is using command-line
  • The second step is downloading the theme manually and extracting it to the ~/.icons (this folder is usually hidden, and thus, you would like to enable hidden files to access it, and it’s located in your home folder)
Читайте также:  Linux проверка tcp порта

Older Linux versions like 16.04 and 18.04 use the Unity Tweak Tool and GNOME Tweaks to vary the icons. Now allow us to dive deep into our topic of interest.

1. Pop icon theme

POP OS Theme Screenshot

System76 developed this icon theme, and it’s my top choice. Combining it with the GTK theme will give your Linux desktop a shocking and marvellous look. Install it using the subsequent command-line:

sudo add-apt-repository ppa:system76/pop

sudo apt update

sudo apt install pop-icon-theme

2. Papirus icon theme

Papirus icon theme preview

This theme is inspired by paper icons that are supported by its material theme. The theme features a pleasing look since it’s more refined and polished. This theme is gorgeous and exciting since it brings out the simplest feel of the paper icons. Follow the steps below to put in the theme to your system:

Why You Should Not Switch To Linux

AtlasVPN: The Best freemium VPN You Can Find

Best VPNs For Linux | 2022 Edition

Is WooCommerce The Right Choice For B2B Businesses?

sudo add-apt-repository ppa:papirus/papirus

sudo apt update

sudo apt install papirus-icon-theme

3. Paper icon theme

paper icon theme screenshot

This icon theme was developed by Hewitt Sam, who is additionally the developer of the Moka theme. The theme is claimed to be inspired by the Google materials design. Are you a lover of Android, then this is often the proper theme for you as this flat icon theme will remind you of the Android feel?

Follow the steps below to put in the theme to your system:

sudo add-apt-repository ppa:snwh/ppa

sudo apt-get update

sudo apt-get install paper-icon-theme

4. Moka icon theme

Moka Icon Theme Screenshot

This theme was developed by Hewitt Sam, who developed the Paper icon theme. This theme may be a gem, and you’ll accept it as true with me once you check out the image below. Use the subsequent commands to put in the theme to your system:

sudo add-apt-repository -u ppa:snwh/ppa

sudo apt-get update

sudo apt-get install moka-icon-theme

You can manually install this theme by cloning it from the repo on the GitHub page. you’ll follow this instruction to put in it manually.

cd /opt

sudo git clone https://github.com/snwh/moka-icon-theme.git

cd moka-icon-theme

sudo mv Moka /usr/share/icons

sudo rm -Rf /opt/moka-icon-theme

5. Numix icon theme

Most Linux users are conversant in this theme since it’s the default theme in most Linux distros, including Korora Linux and Antergos Linux. Numix Icon Theme is often installed using the subsequent command-line:

sudo apt-add-repository ppa:numix/ppa

sudo apt-get update

sudo apt-get install numix-icon-theme-circle

6. Dalisha icon theme

Dalisha Icon Theme

The Dalisha icon theme may be a vibrant font filled with fancy colors. This fond is suitable for those that love fancy looks and feels. it’d even be a touch overwhelming, but it there for whoever wants it. you’ll try it now and obtain Dalisha’s delicious taste now. Use the commands below to put in it:

sudo add-apt-repository ppa:noobslab/icons

sudo apt-get update

sudo apt-get install dalisha-icons

7. The Vivacious Colors icon theme

The Vivacious Colors icon theme

Are you trying to find a colourful and vibrant theme, then your solution should be the Vivacious colors. This theme is colorful, and it deserves to be among the highest ten best icon themes. Use the commands shown below to put in the Icon theme to your Linux OS .

sudo add-apt-repository ppa:ravefinity-project/ppa

sudo apt-get update

sudo apt-get install vivacious-colors

8. Uniform Icon Theme

Uniform Icon Theme

This is flat but at an equivalent time fabulous icon theme. However, the name uniform are often deceiving since the icons are hardly uniform during this Icon theme. allow us to use the commands listed below to put in the theme to our Linux OS .

sudo add-apt-repository ppa:noobslab/icons2

sudo apt-get update

sudo apt-get install uniform-icons

9. Xenlism Wildfire icon theme

Xenlism Wildfire icon theme

This icon theme is especially mentioned as a minimalist theme though some have distinct views concerning the theme. Use the commands below to put in it:

sudo apt-key adv –keyserver keys.gnupg.net –recv-keys 90127F5B

echo “deb http://downloads.sourceforge.net/project/xenlism-wildfire/repo deb/” | sudo tee -a /etc/apt/sources.list

sudo apt-get update

sudo apt-get install xenlism-wildfire-icon-theme

10. La Capitane Icon Theme

La Capitane Icon Theme

Are you a MacOs fan? this is often the proper Icon theme because it gives the design and feel of macOS. Clone the icon theme into your Icons folder using the subsequent commands:

cd ~/.icons

git clone https://github.com/keeferrourke/la-capitaine-icon-theme.git

After cloning it, use the gnome-tweak-tool to vary to your preferred theme.

Читайте также:  Change default permissions in linux

Источник

Оцените статью
Adblock
detector