System tray icons are helpful, however they will conflict with themes that you’ve got put in. There’s additionally the truth that there isn’t a single design normal to comply with when designing a system tray icon. In case you’re making an attempt to make it so that each program icon matches within the system tray, there’s a greater choice than changing photographs manually, one after the other. Introducing Hardcode Tray: it’s a terminal primarily based Linux app that may scan applications with built-in tray icons and substitute them to match the system’s icon theme. This device works extremely nicely, and is a good useful resource for people who wish to have absolute management over the best way their Linux PC seems.

Hardcode-Tray  On Ubuntu

Hardcode Tray may be very simple to put in on Ubuntu, as there’s a PPA available. To set up it, first open up a terminal window. Run an replace, to be sure to have all the newest software program fixes, and updates:

sudo apt replace

sudo apt improve -y

After the replace is full, it’s protected so as to add the brand new software program supply to the system.

sudo add-apt-repository ppa:andreas-angerer89/sni-qt-patched

Despite the fact that the brand new repository is on the system, Ubuntu can’t see it. To repair this, replace the system’s software program sources:

sudo apt replace

With the sources updated, all that’s left is to put in the software program. .

sudo apt set up sni-qt sni-qt:i386 hardcode-tray

Hardcode-Tray  On Arch Linux

Hardcode Tray is available for Arch Linux customers by way of the AUR. To set up it, first download the latest snapshot of this system. Many of the dependencies ought to robotically set up as you attempt to construct the package deal. If ones fail, seek advice from the obtain web page and look by means of the dependencies wanted. It’s possible you’ll must obtain and construct these snapshots as nicely.

Extract the downloaded archive by way of terminal with:

tar xf hardcode-tray.tar.gz

Then, use the CD command to enter the newly extracted folder.

cd hardcode-tray

Begin the construct course of with the makepkg command. Please notice that the compilation isn’t instantaneous, so relying in your {hardware} it might take a pair seconds.

makepkg

After the construct finishes, set up it to the system utilizing pacman.

sudo pacman -U *.pkg.tar.xz

Hardcode-Tray  On OpenSUSE

The Hardcode Tray device is offered (unofficially) for Open SUSE 42.3, by way of the Arc and Papirus software program repository. Please perceive that putting in this software program by means of this methodology isn’t foolproof, and it might not work.

sudo zypper ar -p 98 

sudo zypper ref 

sudo zypper in Hardcode-Tray

Even after putting in Hardcode Tray to Suse it might not work with this methodology. Consequently chances are you’ll must skip the Suse directions in favor of constructing Hardcode Tray manually. It’s because the repository is unofficial, and largely untested. The developer warns of this being a risk.

Hardcode-Tray  On Generic Linux Builds

To construct this software program from, you’ll want to first set up the varied dependencies required for it to construct correctly. As every Linux distribution has a unique title for every of those packages, the perfect plan of action is to go to the development page, discover the names of the libraries and instruments wanted that approach. Then, open up a terminal and begin the constructing course of:

git clone 
meson builddir --prefix=/usr

After utilizing meson to specify the prefix and construct listing, use the Ninja device to put in every little thing to the system.

sudo ninja -C builddir set up

Utilizing Hardcode Tray

To use Hardcode tray, you’ll first want to put in and use an icon theme for Linux that helps the software program. As of proper now, there are solely two choices: the Papirus icon theme, and the Numix icon theme. Every of those themes have nice assist for Hardcode Tray.

UKM0NEGNkHPUUv1SDzMYYAAAAASUVORK5CYII=

When your Linux PC has an icon theme that has assist for Hardcode Tray, the software program can work. To use it, open up a terminal window and enter the next command into the shell.

Be aware: It is very important use the -E swap, as it’ll protect the surroundings that this system runs in, relatively than merely operating as a root command.

sudo -E hardcode-tray

From right here, the device presents 3 choices to select from. These choices are “apply”, “revert” and “clear backup cache”. To apply the modifications to any of the standing icons in your Linux PC select “1”. After that, choose the icon theme that this system ought to use as a foundation to exchange the default icons.

Please remember that Hardcode Tray solely replaces icons within the system tray if it detects the applications in your Linux PC. For greatest outcomes, launch a program no less than as soon as previous to trying to alter the icon within the tray.

Altering Again

In case you determine you don’t just like the substitute system tray icon, Hardcode Tray presents up a simple strategy to revert again. To undo the change, open up a terminal window and run:

sudo -E hardcode-tray

When the choice menu seems, select the “Revert” choice as a substitute of the “apply” choice. Then, simply select the backup you’d wish to revert to.



Source link

Share.
Leave A Reply

Exit mobile version