|
2015-09-27
, 15:20
|
|
Posts: 52 |
Thanked: 143 times |
Joined on Mar 2013
@ Rome, Italy
|
#12
|
delete desktop, call desktop-file-install, create desktop, call desktop-file-install is the only way.
sh /usr/share/harbour-dynclock/script.sh cp /usr/share/harbour-dynclock/clock.png /usr/share/themes/jolla-ambient/meegotouch/z1.0/icons/icon-launcher-clock.png desktop-file-install /usr/share/applications/jolla-clock.desktop rm -rf /usr/share/applications/jolla-clock.desktop echo '[Desktop Entry] Type=Application Name=Clock X-MeeGo-Logical-Id=clock-ap-name X-MeeGo-Translation-Catalog=clock Icon=icon-launcher-clock Exec=invoker -s --type=silica-qt5 /usr/bin/jolla-clock Comment=Jolla clock X-Desktop-File-Install-Version=0.20' > /usr/share/applications/jolla-clock.desktop desktop-file-install /usr/share/applications/jolla-clock.desktop
|
2015-09-27
, 15:29
|
|
Posts: 6,436 |
Thanked: 12,699 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#13
|
The Following 2 Users Say Thank You to coderus For This Useful Post: | ||
|
2015-09-27
, 18:38
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#14
|
Hi, how can I actually implement this?
My script doesn't update the icon.
#!/bin/bash rm -f /usr/share/icons/hicolor/86x86/apps/betterperformance-on.png rm -f /usr/share/applications/openrepos-betterperformance.desktop /usr/share/openrepos-betterperformance/update-icon su -l nemo -c "python /usr/share/openrepos-betterperformance/notifier1.py" cp -f /usr/share/openrepos-betterperformance/betterperformance-off.png /usr/share/icons/hicolor/86x86/apps echo '[Desktop Entry] Type=Application Name=Inactive Exec=/usr/share/openrepos-betterperformance/betterperformance-root Icon=betterperformance-off X-Desktop-File-Install-Version=0.20' > /usr/share/applications/openrepos-betterperformance.desktop /usr/share/openrepos-betterperformance/update-icon
#!/bin/bash rm -f /usr/share/icons/hicolor/86x86/apps/betterperformance-off.png rm -f /usr/share/applications/openrepos-betterperformance.desktop /usr/bin/desktop-file-install /usr/share/applications/openrepos-betterperformance.desktop su -l nemo -c "python /usr/share/openrepos-betterperformance/notifier2.py" cp -f /usr/share/openrepos-betterperformance/betterperformance-on.png /usr/share/icons/hicolor/86x86/apps echo '[Desktop Entry] Type=Application Name=Active Exec=/usr/share/openrepos-betterperformance/betterperformance-root Icon=betterperformance-on X-Desktop-File-Install-Version=0.20' > /usr/share/applications/openrepos-betterperformance.desktop /usr/bin/desktop-file-install /usr/share/applications/openrepos-betterperformance.desktop
The Following User Says Thank You to Schturman For This Useful Post: | ||
|
2015-09-28
, 02:59
|
|
Posts: 52 |
Thanked: 143 times |
Joined on Mar 2013
@ Rome, Italy
|
#15
|
|
2015-09-28
, 04:26
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#16
|
The Following User Says Thank You to Schturman For This Useful Post: | ||
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.