Ubuntu HowTo: How do you make your battery indicator more detailed in GNOME Shell?

Original Source Link

I’m using Ubuntu 17.10 with GNOME 3. I would like to have a battery indicator that changed in more than 3 steps.
The current icon goes from one to three bars. If you look at most phones, the battery slowly increases, from bottom to top.

You may use some GNOME extensions to achieve your goal. For example

Alternatively, you can enable showing the battery percentage next to the battery icon following this Q&A: How do I show battery percentage in GNOME Panel without using any extension?

Tagged : / / /

Ubuntu HowTo: How can I change the icon of an application in the Unity launcher?

Original Source Link

I’m trying to change the icon of a specific application (Pidgin) in my Ubuntu 11.10 Unity launcher. I have tried searching in the options and in the Compiz settings but could locate no option for changing individual icons.

I can change the theme but that’s not what I want.

I am willing to edit configuration files to get this change. It doesn’t have to be a UI solution.

For Ubuntu 11.10


The first thing you would need to do is take a .png icon file that you would like to use and copy it to the respective ~/.local/share/icons/hicolor/ directory. This will contain the following directories (which are the dimensions of the icons) : 16x16/apps/ 32x32/apps/ 48x48/apps/

I downloaded a free 16×16 free icon sampler and picked a 16×16 icon called Alien.png

I took the Alien.png file and copied it to ~/.local/share/icons/hicolor/16x16/apps, When you copy yours, you can do that through either the GUI or terminal.

From there you would need do the following in a terminal (you may need sudo to copy this over):

cp /usr/share/applications/pidgin.desktop ~/.local/share/applications/

Next edit the pidgin.desktop file:

vi ~/.local/share/applications/pidgin.desktop

Look for the line that says:

Icon=pidgin

This will need to change to the new icon name without the .png prefix…

Icon=Alien

Save your changes… Then logout and log back in.

Please let me know if this helps or if you need more assistance.

The way that I did it was go to /usr/share/applications/<whatever app your looking for> then right click to properties click on the icon on the left and select the image that you want to be the icon.

You will have to sudo nautilus to edit the icon. Then just exit and search the program in Unity and it will show up with the selected icon.

For Ubuntu 12.04


In addition to the excellent answer given by itnet7, I would like to add that in Ubuntu 12.04 I had to also add ~/.local/usr/applications/icons/hicolor/64x64/apps in order for Unity to see the icon.

To resize your custom icon, you can use the excellent imagemagick package.

sudo apt-get install imagemagick

Then run the command mogrify -resize 64x64! myImage.png in order to get your custom icons nicely scaled down to the desired resolutions.

If you run the command below after creating the desktop icon and locked the application to your launcher, it will update unity without a need for a reboot.

unity --replace & 

as described here:
application locked to launcher without icon

  1. Install Main Menu (AKA Alacarte) alacarte Install alacarte
  2. Open Main Menu
  3. Click on a program and select Properties in the right menu.
  4. Click on the icon
  5. Browse for your new icon and click Open
  6. Close your programs properties
  7. Close Main Menu

No logging out or reboot required 😉

For Ubuntu 14.04

In order to link an icon with a certain application that could be placed on the launcher, do the following on the command line:

Take e.g. an application called alpha_app with its icon alpha_app.png:

  1. execute:

     sudo cp alpha_app.png /usr/share/pixmaps/
    

    The above command copies your icon with file name alpha_app.png to the appropriate folder.

  2. Execute:

     sudo gedit /usr/local/share/applications/alpha_app.desktop
    
  3. In gedit, change the name of the icon as follows:

     Icon=alpha_app.png
    

    If the file alpha_app.desktop doesn’t exist in /usr/local/share/applications/, execute locate alpha_app.desktop and copy it there. In the unlikely event that this is unsuccessful, it means that there is no alpha_app.desktop file anywhere in the disk and that you would need to create it yourself.

  4. Go to the dash and type the name of your application, in our example alpha_app.

  5. Pick the icon from Dash and move in onto Launcher.

Τέλος! The end!

I did this in Ubuntu 14.04.

I wanted to give a decent launcher icon to the “Dolphin” file manager (I wanted a dolphin for Dolphin).

I dread using complicated program and system file edits, because it is easy to mess up things. I like to keep it simple. So, instead of all these programming acrobatics …

  1. I prepared my dolphin picture.

    Best to use a picture with a transparent background (typically a png), because the desktop background will show through it nicely (it won’t be in its isolated own rectangle). As for size, my picture’s file size is about 200 kB with a dimension of about 560×640 pixels. This size matches the other icons nicely.
    So, I had this picture ready in the normal “Pictures” folder.

  2. Then I typed into Terminal:

    sudo nautilus /usr/share/applications
    

    enter, and the panel with your applications comes up (represented by the current icons)

  3. Find the application you want to change the launch icon for, right click on its icon, then click on its “properties”

  4. At the top left of the properties panel you will see the current launch icon that you want to change to your own choice

  5. Now just left-click on that icon in the top left corner of the properties panel, and a new panel opens that asks you to select a custom icon to replace the old one with

  6. Find your prepared picture (it is like in a file manager), and select it

  7. Your selected new icon appears in the properties panel

  8. For the new icon to start showing among the launch icons, you need to restart your PC, and lo behold, there’s your custom icon!

For Ubuntu 12.10


The directory that contains the following directories (which are the dimensions of the icons) has been changed to:

~/.local/share/icons/unity-webapps/apps

and if you do ls :

128  16  192  22  24  32  48  64  96

In 13.04 I installed Nemo to get rid of nautilus-for-armless-toy.

I wanted the icon folder-house in the launcher.

I opened ~/.local/share/applications/nemo.desktop with gedit to have a look, and found a line

icon=folder 

(no path, no extension ???)

I tried searching in /usr/share/ for the usual default icon of nautilus which appeared to be called folder_home.png or .svg, I couldn’t decide which. There were a bunch a files with the same name in various folders, so in the end I just changed the line to

icon=folder_home

and after logging out and back in the icon was changed.

Tagged : /

Making Game: Windows 10, x64 Cannot change desktop icon text back from black to white

Original Source Link

A while back I used the method to change the desktop icon font from white to black (using the orange, etc.) This worked. But now the black does not look good with my wallpaper. I want the font to revert back to white. I tried dozens of help sites, nothing. Does anyone have have tips as to how to reverse this process?

Tagged : / /

Ubuntu HowTo: Hide desktop icons for certain mounted volumes

Original Source Link

I have fixed and removable disks/volumes and they all show an icon on the desktop. I only want the removable mounts shown.

There is a dconf setting to show/hide icons, but it shows/hides all of them. I want to be selective.

An example of a fixed mount from /etc/fstab:

/dev/disk/by-uuid/some-uuid /mnt/Stuff auto nosuid,nodev,nofail,x-gvfs-show 0 0

How should I change it?

Remove the x-gvfs-show mount option:

/dev/disk/by-uuid/some-uuid /mnt/Stuff auto nosuid,nodev,nofail,x-gvfs-show 0 0

so it becomes:

/dev/disk/by-uuid/some-uuid /mnt/Stuff auto nosuid,nodev,nofail 0 0

Tagged : / / / /

Ubuntu HowTo: Launch error for desptop icons in xfce

Original Source Link

Just started using Xubuntu 20.04 (which I love), but here lately I am occasionally getting a “Launch error” upon startup (maybe once every 10 or 12 startups). Clicking on any desktop icon yields the same error:

“Launch error: Failed to run (name of app).desktop. This feature requires a file manager service to be present (such as the one provided in Thunar).” Note that I can open things fine from the Whisker menu–it seems to be a desktop thing.

I have both Thunar File Manager and its associated File Manager Settings installed via Snap Store. I have uninstalled and reinstalled both as a matter of course, no change.

If I reboot, it’s fine (that is, for the next 10 to 12 startups).

Looking for things to try or check.

Tagged : / /

Linux HowTo: Windows 10 – how to change desktop icon for URL shortcut?

Original Source Link

In Win7, one could give a desktop shortcut to a URL (website) any image one wanted, but that seems not to be the case in Win10. It forces the same image, in this instance the Firefox icon, for all URL shortcuts. Can this be changed? Thank you.

I tried this on Win10. Works. Created a Facebook shortcut, pasting in the URL. Got the standard browser icon first. Then I did a right click on the icon, checked “Properties”. Looked for “Change icon”. The system has icons. OR, you can go to a web site and create your own from anything. https://icoconvert.com/ This will take items and turn them into .ico formats so you can use anything you wish to make a suitable icon instead of boring stuff. Save your icons in a selected folder for handy reference. The site allows an upload of your pic, then download to your folder. Simple. I’ve used this many times without difficulty. Running latest version of Win10 (2004).

When you save the file as HTML then the icon of the shortcut is the icon of your default browser. When you pin a page to your taskbar, I think the icon is the favicon of the website. So you can open the code of the site and change the icon there.

When you create a shortcut with New -> Shortcut from the context menu. Then you get an link-file (Internet shortcut .url). That icon you can change: Open the properties (context menu) and go to the tab Web Document and then click on the Button Change Icon ... with Browse you can use every icon / exe you want to show the icon.

Tagged : / /

Ubuntu HowTo: How to kill/remove tray icons (KDE)

Original Source Link

KDE, Ubuntu 20.04.

In this case, they are from some Wine/Proton (via Steam) app. I killed the app (the game itself ran fine, but it did not quit properly).
However, the icon still seem to be there. I think I already killed all wine processes I could find.

fr

(Here already 5 times.)

How can I remove the icon(s)? Clicking on it (or right click) does not give me anything.

Tagged : /

Making Game: Windows 10 – how to change desktop icon for URL shortcut?

Original Source Link

In Win7, one could give a desktop shortcut to a URL (website) any image one wanted, but that seems not to be the case in Win10. It forces the same image, in this instance the Firefox icon, for all URL shortcuts. Can this be changed? Thank you.

I tried this on Win10. Works. Created a Facebook shortcut, pasting in the URL. Got the standard browser icon first. Then I did a right click on the icon, checked “Properties”. Looked for “Change icon”. The system has icons. OR, you can go to a web site and create your own from anything. https://icoconvert.com/ This will take items and turn them into .ico formats so you can use anything you wish to make a suitable icon instead of boring stuff. Save your icons in a selected folder for handy reference. The site allows an upload of your pic, then download to your folder. Simple. I’ve used this many times without difficulty. Running latest version of Win10 (2004).

When you save the file as HTML then the icon of the shortcut is the icon of your default browser. When you pin a page to your taskbar, I think the icon is the favicon of the website. So you can open the code of the site and change the icon there.

When you create a shortcut with New -> Shortcut from the context menu. Then you get an link-file (Internet shortcut .url). That icon you can change: Open the properties (context menu) and go to the tab Web Document and then click on the Button Change Icon ... with Browse you can use every icon / exe you want to show the icon.

Tagged : / /