Patch: Add more folder icons

Rating: 
5
Your rating: None Average: 5 (4 votes)

This patch will add 18 additional folder icons.
In setting you can choose how much of them you want to see.

Thanks to Moth ​for icons.

Maybe incompatible with Patch: Launcher combined patch, this package added as conflict.

v0.1-7
- Added transparent icon.
- Added option that allow empty folder name.
- After installation and applying patch, restart lipstick (homescreen) ONCE.

v0.1-6
- Added option to hide number on folder icon. After installation and applying patch, restart lipstick (homescreen) ONCE.

v0.1-5
- Added icons for z1.25 and z2.0.

Beware, use it on your own risk !!!

Donation are welcome :)

Screenshots: 

Keywords:

Application versions: 
AttachmentSizeDate
sailfishos-more-foldericons-0.1-6.noarch.rpm854.44 KB16/09/2016 - 16:47
sailfishos-more-foldericons-0.1-7.noarch.rpm863.98 KB17/09/2016 - 22:01
Changelog: 

- Added transparent icon. - Added option that allow empty folder name.

Comments

babba22's picture

HI! I can't enable this patch in sfos 2.0.5... moreover I also can't unistall it from warehouse nor through terminal cause it launches this error:

Fatal error: Subprocess failed. Error: RPM failed: error: 0x459b71b8reun(sailfishos-more-foldericons-0.1-7.noarch) scriptlet failed, exit status 2
error: sailfishos-more-foldericons-0.1-7.noarch: erase failed

What should I do?

EDIT: I removed manually all files I could find in the RPM package, but warehouse still lists it as installed.

Schturman's picture

weird... i don't have any problem with uninstallatin. Are you sure you unapplied patch before system update?

oot@Jolla_C nemo]# pkcon remove sailfishos-more-foldericons
Removing
Waiting in queue
Starting
Removing packages
Resolving dependencies
Removing packages
Removing
Waiting in queue
Waiting for authentication
Waiting in queue
Starting
Removing packages
Resolving dependencies
Removing packages
[root@Jolla_C nemo]#

and this from spec:
%postun
if [ $1 = 0 ]; then
#Do stuff specific to uninstalls
/bin/rm -rf /usr/share/jolla-settings/pages/foldericons
/bin/rm -rf /usr/share/patchmanager/patches/sailfishos-more-foldericons
su -l nemo -c "dconf reset -f /desktop/lipstick/foldericons/"
else
if [ $1 = 1 ]; then
#Do stuff specific to upgrades
echo "It's just upgrade"
fi
fi

Schturman's picture

You can try to install it again and remove from terminal ? If it still not uninstallable, we will do it step by step...

Also you can try: rpm -e --noscripts sailfishos-more-foldericons

Schturman's picture

It happens because you probably updated yout system to 2.0.5.6 without unapplying my patch. For me all work without any problem...
Run this commands as ROOT:
/bin/rm -f /usr/share/lipstick-jolla-home-qt5/launcher/LauncherFolder.qml.webosinternals.orig
/bin/rm -f /usr/share/lipstick-jolla-home-qt5/launcher/LauncherGrid.qml.webosinternals.orig
/bin/rm -f /usr/share/jolla-settings/entries/foldericons.json.webosinternals.orig pkcon remove sailfishos-more-foldericons

Show output here. And if all is ok, you can reinstall it from warehouse again.

abranson's picture

That pastes really well now.

Thanks!

babba22's picture

Sorry, I totally forgot this D:

I've done what you told me, but I got same error:

sudo pkcon remove sailfishos-more-foldericons

Removing

Waiting in queue

Starting

Removing packages

Resolving dependencies

Removing packages

Removing

Waiting in queue

Waiting for authentication

Waiting in queue

Starting

Removing packages

Resolving dependencies

Removing packages

Fatal error: Subprocess failed. Error: RPM failed: error: 0x44ddd1b8reun(sailfishos-more-foldericons-0.1-7.noarch) scriptlet failed, exit status 2
error: sailfishos-more-foldericons-0.1-7.noarch: erase failed

 

EDIT: solved with sudo rpm -e --noscripts sailfishos-more-foldericons

Schturman's picture

Exactly this what you needed...

P.S. I don't have sudo, did you tried just with devel-su pkcon remove package-name? For me work without any problem...

babba22's picture

yes I tried but same result =( anyway now it's solved! nice patch btw :D

explit's picture

Hi Schturman!

Is it possible to make a version for 2.0.0.10 or 2.0.0.11 I would like touse this patch on my Fairphone 2.

The official alpha1 for FP2 is 2.0.0.10, but i use an unofficial 2.0.1.11

Thanks

Schturman's picture

Sorry but I can't... Already tried, but this versions not have scrolling element here and it didn't work like expected for me..

erlen's picture

Ok thanks !

erlen's picture

Where did you find the v2.0.2.45 I am up to date and i have the version 2.0.1.11. I don't have the early access, but i did not find any information about the version 2.0.2