Refresh icon view in App Drawer in real time
-
Hi,
Everything works fine, thanks! -
Hmmmm.... Don't know why, but the icons vanished from /home/phablet/.local/share/applications/ after a restart of Unity8. I put them back in, but renamed them to match the desktop files, so they now are called anboxtoggleGREEN.png and anboxtoggleRED.png; changed that in the desktop files, too. Hope this will work permanently,
-
You're right, I just restarted Unity8 and they vanished.
Tell me if your solution works before I transfer them again.
Otherwise, I will transfer them to Downloads and copy them to ../applications everytime I restart Unity8 (not often)... -
Well, the icons survived a couple of unity8 restarts, and two device restarts, so it looks like the name was important... For all anbox apps the names for the desktop files and their icons are identical except for the ending, so I thought that could do the trick.
-
Two Unity8 restarts and it still works! Thanks!
-
@chrisse Two Lomiri restarts
-
Hi,
I tried to use the script, but it couldn't get it to work. I can see the red icon in the drawer but nothing happens when I push the button. Do I have to activate something so that the script can run properly?
Do I need to make script executable with root rights? -
@TobsEnd
Yes, you need to make the script executable. It will run without r/w rights later on. -
@hankschwie I do i have to use
chmod +x
or ```
sudo chmod +x -
@TobsEnd
Sorry, I didn't use chmod, but used a nautilus function to set it executablels -la
in the directory tells me:rwxr-xr-x 1 heinrich heinrich 631 Mär 15 19:30 anboxtoggle.sh
for the skript, so I guess you would have to use the sudo version.