Skip to content
This repository has been archived by the owner on Oct 27, 2019. It is now read-only.

Large panel icon in xfce4 #21

Open
seancs opened this issue Nov 14, 2016 · 9 comments
Open

Large panel icon in xfce4 #21

seancs opened this issue Nov 14, 2016 · 9 comments
Assignees
Labels
Milestone

Comments

@seancs
Copy link

seancs commented Nov 14, 2016

Using prime-indicator from the webupd8 ppa. The panel icons are too large. Changing the iconset in ~/.config/prime-indicator/prime-indicator.cfg has no effect.

This is on an xfce4 system (Xubuntu 16.10).

@andrebrait
Copy link
Owner

What did you change it to? Have you tried the color option? It's important to note that changing the config file will only affect the icons the next time the indicator is restarted (which can be triggered by logging out and then in again). Can you provide a screenshot?

@seancs
Copy link
Author

seancs commented Nov 15, 2016

I tried color, theme-default and symbolic by editting prime-indictor.cfg to remove the # comment mark for each method I tried.
#iconset = color
#iconset = theme-default
iconset = symbolic

Logging out-in or quitting and restarting prime-indicator was done with each change. Selecting color gave me a blue oversized icon.

screenshot_prime_indicator_intel

I had the same problem with the original prime-indicator but worked around it by resizing the png icon files. I wasn't able to use resized png files with your prime-indicator. I even attempted to edit /usr/lib/prime-indicator/prime-indicator to use the png files.

@andrebrait
Copy link
Owner

andrebrait commented Nov 15, 2016

I see. This shouldn't be happening... the weird part is that I'm running XFCE and the icon is presented ok.

Download the zip below and extract it to /usr/lib/prime-indicator/icons/, restart your computer and see if it works. You may need to extract the zip to somewhere first and then copy the files as root to the right folder (as in doing a sudo cp /path/to/where/you/extracted/* /usr/lib/prime-indicator/icons/).

small-icons.zip

@seancs
Copy link
Author

seancs commented Nov 15, 2016

The resized icons in the zip work well. It seems there's a two year old bug in xfce4-indicator-plugin that prevents it from resizing some icons, yet your system is fine. That is odd.

Thanks for the resolution and the program.

@andrebrait
Copy link
Owner

I'm running it on Arch Linux, so I think I'm a few minor versions ahead of Ubuntu. Maybe it was fixed upstream. Glad to hear it worked. I'll see what I can do to solve this as it might be affecting other XFCE users.

@andrebrait andrebrait added the bug label Nov 15, 2016
@andrebrait andrebrait self-assigned this Nov 15, 2016
@andrebrait andrebrait added this to the 1.5 milestone Nov 15, 2016
@wjgeorge
Copy link

wjgeorge commented Apr 6, 2017

apparently gnome-fallback does not autoresize, I'm running 16.04 and had to use the small icons.

using prime-indicator-plus from webupd8 ppa

@andrebrait
Copy link
Owner

Thanks for the feedback, @wjgeorge!

@seifer08ms
Copy link

I'm running it on Ubuntu 17.04 with gnome-fallback. I use the script to resize icons manually.

#!/bin/bash
cd /usr/lib/prime-indicator/icons
for n in $(ls *svg | sed 's/.svg//'); do inkscape -z -e $n.svg -w 24 -h 24 $n.svg; done

@andrebrait
Copy link
Owner

andrebrait commented Nov 6, 2017

@seifer08ms Thanks for the input!

It's a nice script, but it requires the user have inkscape installed. I bet it's doable with just sed or something like that.

An SVG is pretty much a text file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants