How can I remove launcher drive icons?

1

Ubuntu 14.04 LTS 64-bit: I used to get an icon for my portable drive on insertion. I have accidentally lost this by clicking on 'Unlock from Launcher' instead of 'Eject'. Now this icon does not appear when the drive is connected. How do I restore the original behaviour?

1. Command line:

You can do that by the command:

gsettings set com.canonical.Unity.Devices blacklist "[]"

Explanation

By removing the icon from the launcher, you blacklisted the device from the launcher. With the command above, you "empty" the blacklist.

If you want to to have a more selective way to set which device to keep in the launcher, first run:

gsettings get com.canonical.Unity.Devices blacklist

The output will be like:

['', '']

To restore device_1 in the launcher:

gsettings set com.canonical.Unity.Devices blacklist "['']"

2. GUI

Alternatively, you can restore your icons with dconf-editor. You might have to install it first:

sudo apt-get...
0 0
2

I've been developing an app to android for a while and I've been trying different devices with multiple screens dimensions and different OSes.

I was testing the app within a Wiko Robby and I've noticed that the app icon had a background added that on previous devices weren't present.

The right side icon is owned by the OS, whilst the left one is mine. The background I would like to remove is that subtle rounded corner box background that was added the the background of the icon.

I've been searching and what I want can be achieved by installing 3rd party apps to edit the OS theme, but I don't want to do that, nor asking the users to do so.

Is there anyway I can remove the background?
...

0 0