isDipesh / gnome-shell-extension-sensors

Gnome shell extension: Shows CPU temperature, HDD temperature, voltage and fan RPM
https://motorscript.com/gnome-shell-extension-sensors/
161 stars 150 forks source link

Menu Icons Too Large #131

Open MisterGuinness opened 8 years ago

MisterGuinness commented 8 years ago

Perhaps I have too many items in the sensors menu, but the icons are just too big and result in the menu extending beyond the length of the screen and I couldn't access the "Sensor Settings" (except via TweakTool).

Not sure when this happened as I have "CPU Fan Speed" in the top menu, so hardly ever open the menu. I just installed gnome-shell-3.16.4-1.fc22.x86_64.

Here's my quick fix to force the icons to 16px:

diff /run/media/mrg/sensors/gnome-shell-extension-sensors/src/extension.js /home/mrg/.local/share/gnome-shell/extensions/temperature@xtranophilist/
31c31
<         this.actor.add(new St.Icon({ style_class: 'system-status-icon', icon_name: 'sensors-'+type+'-symbolic' }));

---
>         this.actor.add(new St.Icon({ style_class: 'system-status-icon', icon_name: 'sensors-'+type+'-symbolic', icon_size: 16 }));
smed79 commented 7 years ago

Changed from : http://i.imgur.com/VwEgCYV.png to : http://i.imgur.com/7lrdO5a.png

Thank you for the tips.