[KPhotoAlbum] Icons problems in Debian buster

Salvador Eduardo Tropea stropea at inti.gob.ar
Fri Aug 30 14:22:21 BST 2019


Hi!

On 28/8/19 18:29, Johannes Zarl-Zierl wrote:
> Hi Salvador,
>
> Am Mittwoch, 28. August 2019, 12:44:24 CEST schrieb Salvador Eduardo Tropea:
>> Ok, I tried it. The tool finds all the icons, I attached the output.
>>
>> As I already realised most icons can be found in the "oxygen" theme. The
>> "oxygen-icons-theme" is automatically installed by "kde-runtime".
>>
>> I tried using the "oxygen" theme, but then I have another problem: some
>> texts under the icons gets cropped. I'm attaching an example.
>>
>>   From what I see "kiconfinder" always looks for icons in the "oxygen"
>> theme, no matters which theme is selected.
> That's a bit weird - normally kiconfinder should use the same theme as other
> applications. Possibly relevant: what's your desktop environment? I assume
> gnome3?


Yes, is GNOME3 (using GNOME Shell) v3.30


>> I have a couple of questions:
>>
>> 1) Can I configure kphotoalbum to use "oxygen" instead of the globally
>> selected theme?
> Not currently. You could give "qt5ct" a shot - it seems to be geared towards
> this use-case.


No luck here.


>
>> 2) Is it possible to make kphotoalbum use the default theme, but look
>> for the missing icons in the "oxygen" theme? (modifying the code, of course)
> No. You could try a different thing, though: It is possible for the theme
> itself to specify a fall-back[1]. I.e. you could modify /usr/share/icons/
> gnome/index.theme and add a line "Inherits=breeze" or "Inherits=oxygen". This
> way the regular icon lookup should fall back to the specified icon theme.


It works!


> Note: if you want this modification to survive system updates a better option
> would be to copy the gnome icon theme to a different name, modify it as
> needed, and set the system icon theme to the modified theme.


I made something similar, but simpler:

1) Created /usr/share/icons/set

2) Put an index.theme file there with this:

[Icon Theme]
Name=SET
Comment=GNOME+Numix+Breeze theme
Example=folder
Inherits=gnome,Numix,breeze

3) Selected the "Set" icon theme

So I didn't need to copy the icons.

I can't use Oxygen because it crops the text. Seems to be related to the 
fact that Oxygen doesn't have the icons for all sizes.


Thanks, Salvador

-- 
Ing. Salvador Eduardo Tropea          http://utic.inti.gob.ar/
INTI - Micro y Nanoelectrónica (CMNB) http://www.inti.gob.ar/
                                       Av. General Paz 5445
Tel: (+54 11) 4724 6300 ext. 6919     San Martín - B1650KNA
FAX: (+54 11) 4754 5194               Buenos Aires * Argentina






More information about the Kphotoalbum mailing list