Forum › Forums › Official Releases › antiX-19 “Marielle Franco, Hannie Schaft, Manolis Glezos, Grup Yorum, Wobblies” › How can I change the icons of the antiX 19 Control Centre ?[SOLVED]
- This topic has 8 replies, 5 voices, and was last updated May 8-2:53 am by Spartak77.
-
AuthorPosts
-
April 8, 2020 at 6:37 am #34484Member
Spartak77
I’m trying to customize antiX 19. I use IceWM and SpaceFM. I don’t particularly like papirus icons, I prefer the Faenza or Faenza-cupertino icons used in antiX 17.
Actually, my favorite are Human icons.
However, these icons (Human) work well on the File Manager (they are OK on both SpaceFM and ROX-Filer), instead on the Menu on the Toolbar and on the Control Center I cannot automatically insert them.
However Human icons (like other types of icons) can be associated well with Faenza (or Faenza Cupertino). In antiX 17, by default, there were the Faenza icons in the menu, in Control Center and Toolbar. In antiX 19, using Control Center -> Set Appearance and Style, I put the human icons on SpaceFM.
Now, I set the Faenza icons (after downloading them) using the antiX Control Center in this way the icons of the “Applications” Menu (and all its submenus) and the icons of the File Manager have changed.
Then I used again the Control Centre and this time I chose Human.
In this way the icons of the File Manager have become Human, the icons of the Menu Applications (and its sub menus) have remained Faenza, and the rest of the icons have remained those of default: Papirus.
I want to change the left Papirus icons in Faenza.
At this point, the Menu and Toolbar icons can be changed by hand because they are few, but I would like to change all the Control Center icons because they clash with the rest. They are many.
Is there a quick way to change them all together? Faenza icons (present in the antiX 17 control center), may be fine.
If there is no fast way and I have to change them manually in which file should I act?
Note. I downloaded the antix-17-cc-icons package, but this package did not help me automatically set the Control Centre icons to Faenza icons.
Note. if there is an automatic (or fast) way to change all the icons of the menu and the toolbar all together (with Faenza icon), then I am even happier- This topic was modified 3 years ago by Spartak77.
- This topic was modified 3 years ago by Spartak77.
- This topic was modified 2 years, 12 months ago by Spartak77.
April 8, 2020 at 7:18 am #34490Forum Admin
anticapitalista
::Edit (as root) /usr/local/bin/antixcc.sh file
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 8, 2020 at 7:18 am #34491Member
Xecure
::antiX Control Center is launched by a script located in /usr/local/bin/. Editing it should edit the icons it uses, but next time the Control Center recieves an update, you will have to edit it again to change the icons.
sudo geany /usr/local/bin/antixcc.sh
As you can see in the script, 2 set of icons are used, but most of them can be found in “/usr/share/icons/antix-papirus”.
If you navingate to this folder you will see that they are independend of the current theme. All specific icons are 48×48, and they are hardcoded in the antixcc.sh script.
You would have to replace these images with the corresponding HUMAN icons or create a new folder and change the ICONS’ path. For example:
ICONS=/usr/share/icons/Human-cc
As you see, it requires a lot of work.- This reply was modified 3 years ago by Xecure.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.April 8, 2020 at 7:33 am #34497Moderator
caprea
::Or for using faenza, after you downloaded antix17-cc-icons
You can change in /usr/local/bin/antixcc.sh
this part(should begin line 40 something)#ICONS=/usr/share/icons/antix-moka
#ICONS=/usr/share/icons/antix-faenza
ICONS=/usr/share/icons/antix-papirus
#ICONS=/usr/share/icons/antix-numix-bevel
#ICONS=/usr/share/icons/antix-numix-square
ICONS2=/usr/share/pixmapsto this
#ICONS=/usr/share/icons/antix-moka
ICONS=/usr/share/icons/antix-faenza
#ICONS=/usr/share/icons/antix-papirus
#ICONS=/usr/share/icons/antix-numix-bevel
#ICONS=/usr/share/icons/antix-numix-square
ICONS2=/usr/share/pixmapsNot much work.
April 8, 2020 at 7:49 am #34498Member
Spartak77
::Wonderful. You have all been quick to respond, with a lot of information.
Now I do some tests.
ThanksApril 29, 2020 at 3:35 pm #35426Member
Spartak77
::I have set Faenza icons on the whole system but it wasn’t easy.
To set Faenza icons in the antiX Control Centre, you must download the package antix17-cc-icons (the faenza-icons package is already present by default), but it is not enough, because even after setting the file /usr/local/bin/antixcc.sh, as you advised me, the Faenza icons appear on the various buttons of the antiXC.C., but on 17 buttons nothing appears.
I had to create some missing icons and “update” the antix-faenza folder (/usr/share/icons/antix-faenza). This directory appears in the filesystem by downloading the antix17-cc-icons package via apt/synaptic). I modified the antix-faenza folder by inserting my icons, and I added others that I moved from the /usr/share/pixmaps folder.
The file /usr/local/bin/antixcc.sh defines the paths where the system must search for the various icons to be used in the antiXC.C. This file in antiX19 has changed compared to the version for antiX 17, not only because it uses papirus icons instead of Faenza, but also because some icons that previously went to take in the pixmaps folder, now go to take them in the /usr/share/icons/antix-papirus folder.Most of the items in the antiXCC buttons/function are also present in the Applications → antiX menu or Applications → System menu. The icons created by me, were created considering that they had to be the same, or at least, consistent with the icons in the menu for the same functions.
In some cases, I just transferred the icons from pixmaps to the antix-faenza folder, in other cases I took the missing icons from the pixmaps folder and before copying them to antix-faenza I wanted to improve them by making them more consistent with the Faenza style, without changing them too much, I just “embellished” them.
I used Gimp for these changes, and made sure that no icon weighed more than 2-2.5 kb.
Here you can see the icons that I created, they are all already existing icons in /usr/share/pixmaps or in usr/share/icons/Faenza, with some simple modifications:
https://www.dropbox.com/sh/9k7aaqvxs6h50k3/AABCU5lRDTI3Wsc6GyWBpSPSa?dl=0Through the link below, you can download the “antix-faenza” folder complete with additions. It is useful for those who want to use these icons instead of papirus icons in the Control Centre buttons:
https://www.dropbox.com/sh/jodmwrdeiju6elk/AAAgNch8_7i5hvgNAcCGNfoua?dl=0
These are the pictures of how the antiX-Control-Center looks like with these icons:
https://www.dropbox.com/sh/8ax4iju3ktotz10/AADPGkYqpUDueZv8vIrrDdhIa?dl=0
To set Faenza icons on the whole system, the “Customize Look and Feel” button must be used. However, in the main menu the papirus icons remain, and only those inside the “Applications” sub-menu are changed.
To change the icons in the main menu I have to change the ~/.icewm/menu file (/home/user-name/.icewm/menu) by hand.
The ~/.icewm/toolbar file must also be changed by hand.
I modified these files and make them available here, for those interested.
You can use them to replace the two files “menu” and “toolbar” in your .icewm folder or, maybe it is better, replace in your files, already present, only the part concerning the path to the icons.Menu (Faenza icons): https://www.dropbox.com/s/1auw712zhvm2me3/menu-faenza?dl=0
Toolbar (Faenza icons): https://www.dropbox.com/s/ry3qg5xwsla0l22/toolbar-faenza?dl=0
I saw that in the .icewm (~ / .icewm) folder there are the files “menu-numix-bevel”, “toolbar-numix-bevel” and “menu-numix-square”, “toolbar-numix-square” because those interested in changing the default papirus icons with numix-square or numix-devel can use these two files to have the menu, and the toolbar, with the same icons.
Therefore those interested in Faenza icons can download the “menu-faenza” and “toolbar-faenza” files from dropbox to be inserted in the ~ / .icewm folder, to use them when they will be needed.
To complete the change of icons in the lower part of the main menu it is necessary to go to the preferences file (~/.icewm/preferences) around the line 600/615 and make a change where these lines appear:# Icon search path (colon separated) IconPath="/usr/share/icons:/usr/share/pixmaps/papirus:/usr/share/icons/papirus-antix/48x48/apps:/usr/share/icons/papirus-antix/48x48/mimetypes" #IconPath="/usr/share/icons:/usr/share/pixmaps/papirus" #IconPath="/usr/share/icons:/usr/share/pixmaps/numix-square" #IconPath="/usr/share/icons:/usr/share/pixmaps/numix-bevel"and you will have to put # in front of
IconPath="/usr/share/icons:/usr/share/pixmaps/papirus:/usr/share/icons/papirus-antix/48x48/apps:/usr/shar…………..."
and then add this line:IconPath="/usr/share/icons:/usr/share/pixmaps"so you have to change it like this:
# Icon search path (colon separated) #IconPath="/usr/share/icons:/usr/share/pixmaps/papirus:/usr/share/icons/papirus-antix/48x48/apps:/usr/share/icons/papirus-antix/48x48/mimetypes" #IconPath="/usr/share/icons:/usr/share/pixmaps/papirus" #IconPath="/usr/share/icons:/usr/share/pixmaps/numix-square" #IconPath="/usr/share/icons:/usr/share/pixmaps/numix-bevel" IconPath="/usr/share/icons:/usr/share/pixmaps"In this way you can have the Faenza or Faenza-cupertino-mini icons (which were by default in MX 17) on the whole system, here a menu image with IceWM desktop:
https://www.dropbox.com/s/pnz25ugopgi9l9j/MenuFaenza.jpg?dl=0
Faenza icons are already present in/usr/share/ icons with the installation of the system, while those who prefer Faenza-Cupertino-mini must download the faenza-cupertino-mini-icons package via apt/synaptic.
I do not dispute the choice of Papirus icons as default, because I know that many like them and they are the same as in MX. I don’t like them, I prefer the numix-squares among the 3 icon-themes provided by antiX (papirus, numix-bevel and numix-square), but what I’m asking is not to change the papirus icons as default but to foresee that to these 3 icon-themes you can also add the Faenza (or faenza-cupertino-mini).
The Faenza or Faenza-Cupertino icons may, or may not, like it, but they have an important feature: they are compatible with several other interesting icons, such as the Obsidian, Mate-Faenza, Tangerine, Human, Oxygen and others.
In practice, the Faenza icons can remain in the menu and in the control centre and it will be possible to change only the icons of the file-managers with another thema without this clash with the Faenza thema of the menu.
In fact, after setting them on the whole system, simply open the antiXCC, “Customize Look and Feel” button to set the Human icons, for example, and these will automatically set in SpaceFM, (while to set them in Rox, by clicking on one empty space, you will go to Options → Types → Themes.)
Below the images with the icons Human/Faenza and Oxygen/Faenza, (IceWM + SpaceFM ):
https://www.dropbox.com/s/w0jwjnbwj6zilrc/HumanFaenza1.jpg?dl=0
https://www.dropbox.com/s/g4ddfu963vaxnv7/HumanFaenza2.jpg?dl=0
https://www.dropbox.com/s/thxbey9z6h5c1fk/HumanFaenza3.jpg?dl=0
https://www.dropbox.com/s/p4dszp2erzf3nwi/OxygenFaenza1.jpg?dl=0
https://www.dropbox.com/s/sxexejr1c1fzc1c/OxygenFaenza2.jpg?dl=0
I want to point out that the Human or Oxygen icons, associated with Faenza, do not lead to an increase in the system’s memory demand compared to the Papirus icons, on the contrary they require slightly less memory (3-5 Mb less).So, I ask that, for the next versions of antiX, the compatibility of the Faenza icons with the system is maintained, so that changing the default icons (Papirus) with Faenza is not more complicated than changing from Papirus to numix.
The ~ / .icewm directory should contain the “menu-faenza” and “toolbar-faenza” files.
Therefore on the file ~ /.icewm/preferences, this line should be inserted by default:
#IconPath=”/usr/share/icons:/usr/share/pixmaps”
(obviously disabled).
I also ask that the antix17-cc-icons package (the package that inserts on the filesystem the antix-faenza folder to have the faenza icons in the control center) be kept updated, maybe with a name like antix-cc-faenza-icons.
I am ready to collaborate to keep this package updated, if you want, I can take care of finding the new icons to insert if there is a change.
I just need to be notified in advance of the changes planned for the control centre.
In the menu, in IceWM, 3-4 icons are missing using Faenza, but it is not a significant thing, it does not damage the aesthetics, but in the future they could become more, so if you want I can also keep updated the Faenza-Cupertino-mini package, which was created for antiX.I also ask for help: the only icons that have not changed in the system (after having edited the file /usr/local/bin/antixcc.sh and having performed the operations described here) are the six icons of the Exit Session: Log Out, Lock Screen, Suspend, shutdown etc.
How do I set these too?- This reply was modified 3 years ago by anticapitalista.
- This reply was modified 3 years ago by Spartak77.
Attachments:
April 29, 2020 at 9:32 pm #35454ModeratorBobC
::I found those are hard coded near the top of:
/usr/local/lib/desktop-session/desktop-session-exit.py
You can change which Icons to use by commenting the current folder out and uncommenting the one you want or replacing it with something you like better as long as the icon filenames are the same.
May 8, 2020 at 2:53 am #35723Member
Spartak77
::Thanks Bob, and thanks to everyone who helped me.
In the last part of the last message, I asked if in the next releases of antiX it was possible to maintain compatibility with Faenza icons.
I also gave my willingness to collaborate.
A few days have passed, but I haven’t received a reply on this.
Evidently there is no interest in maintaining compatibility with these icons.
I am saddened.
I insert solved on the thread header. -
AuthorPosts
- You must be logged in to reply to this topic.