Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-25-2010, 01:17 PM   #1
meho_r
Junior Member
meho_r began at the beginning.
 
meho_r's Avatar
 
Posts: 7
Karma: 10
Join Date: Jul 2010
Device: none
Huge icon in Right click > Open With submenu on Linux

Hi,

I noticed earlier that the Calibre icon in "Open With" submenu is huge, much larger of any other icons there. I noticed this on Ubuntu and Debian (with Gnome, don't know about KDE). Is there any way to remedy this and scale the icon down, or disable the menu integration completely?

Thanks.
meho_r is offline   Reply With Quote
Old 07-25-2010, 01:39 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,054
Karma: 5936659
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by meho_r View Post
Hi,

I noticed earlier that the Calibre icon in "Open With" submenu is huge, much larger of any other icons there. I noticed this on Ubuntu and Debian (with Gnome, don't know about KDE). Is there any way to remedy this and scale the icon down, or disable the menu integration completely?

Thanks.
Confirmed. Lucid lynx 32-bit
BTW e-book viewer icon appears as hash in the file browser preview pane .
theducks is offline   Reply With Quote
Old 07-25-2010, 01:44 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,312
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I don't use gnome so I can't help you. But it seems crazy to me that gnome menus are incapable of resizing icons.
kovidgoyal is online now   Reply With Quote
Old 07-25-2010, 01:54 PM   #4
tarakanbg
Junior Member
tarakanbg began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2010
Location: Sofia, Bulgaria
Device: PocketBook 302
I can confirm this on ubuntu 10.04, here's a screenshot attached:
Attached Thumbnails
Click image for larger version

Name:	iconcal.png
Views:	90
Size:	87.6 KB
ID:	55684  
tarakanbg is offline   Reply With Quote
Old 07-25-2010, 01:58 PM   #5
meho_r
Junior Member
meho_r began at the beginning.
 
meho_r's Avatar
 
Posts: 7
Karma: 10
Join Date: Jul 2010
Device: none
OK, is it possible to manually resize the icon and which one is it?
meho_r is offline   Reply With Quote
Old 07-25-2010, 02:36 PM   #6
tarakanbg
Junior Member
tarakanbg began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2010
Location: Sofia, Bulgaria
Device: PocketBook 302
I presume it's /opt/calibre/resources/images/lt.png
I think though the same image is rendered in other cases as well, for example in the toolbar of the GUI, so simply resizing it is not the right solution
However the image /opt/calibre/resources/images/notify.png looks the right size for use in menus (that's the one that appears also in the notification area).

Last edited by tarakanbg; 07-25-2010 at 02:43 PM.
tarakanbg is offline   Reply With Quote
Old 07-25-2010, 02:46 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,312
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Changing images in /opt/calibre is not going to help. Menu icons are installed in a distro dependent location, usually somewhere in /usr/share
kovidgoyal is online now   Reply With Quote
Old 07-25-2010, 04:08 PM   #8
meho_r
Junior Member
meho_r began at the beginning.
 
meho_r's Avatar
 
Posts: 7
Karma: 10
Join Date: Jul 2010
Device: none
After some searching and experimenting, I concluded the following:

1. The icon which should be resized is this one: /usr/local/share/icons/hicolor/128x128/apps/calibre-gui.png
There is another one in: /usr/share/icons/hicolor/128x128/apps/, but it seems that it doesn't have to do anything with the issue at hand.

2. It seems that the icon is far too large (554x449 px) for Gnome (?) to handle it properly. After resizing it to 142x128 px menu looks normal.

I hope this will be of use as a temporary solution.

Kovid, is there a way to solve this automatically during the installation? Maybe some kind of DE check so, when Gnome is used, a smaller icon is provided instead of the big one?

Also, as pointed out by theducks, another icon, calibre-viewer.png is completely messed up (see the attachment). Why is that?
Attached Images
 

Last edited by meho_r; 07-25-2010 at 04:12 PM.
meho_r is offline   Reply With Quote
Old 07-25-2010, 04:18 PM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,312
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Open a ticket for it and I will look at it when I have the time.
kovidgoyal is online now   Reply With Quote
Old 07-25-2010, 09:07 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,312
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Never mind, I've committed a fix.
kovidgoyal is online now   Reply With Quote
Old 07-26-2010, 07:30 AM   #11
capidamonte
Not who you think I am...
capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!capidamonte , Klaatu Barada Niktu!
 
capidamonte's Avatar
 
Posts: 346
Karma: 5337
Join Date: Jan 2010
Location: Honolulu
Device: Sony PRS-350
Similar in Xubuntu, BTW. Not just Gnome.

Xubuntu 10.04, 64-bit.
capidamonte is offline   Reply With Quote
Old 08-01-2010, 09:26 AM   #12
meho_r
Junior Member
meho_r began at the beginning.
 
meho_r's Avatar
 
Posts: 7
Karma: 10
Join Date: Jul 2010
Device: none
Thumbs up

Downloaded Calibre 0.7.12, the issue with icons is gone. Thanks a lot, Kovid, for your quick response.

Regards,

M.
meho_r is offline   Reply With Quote
Old 08-01-2010, 12:31 PM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,312
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You're welcome
kovidgoyal is online now   Reply With Quote
Old 09-30-2014, 06:35 PM   #14
sej7278
Enthusiast
sej7278 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Mar 2011
Device: Android
Exclamation

sorry to drag up an old thread but this seems to be happening again on calibre 2.3/2.4 with gnome-shell 3.14 on debian jessie/sid

sej7278 is offline   Reply With Quote
Old 10-01-2014, 12:51 AM   #15
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,312
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The large size icons are needed as they are also used as dock icons, so I dont really see a way too solve this. There is no guarantee that installing multiple sizes for the icons will make the menu pick the smaller size, not to mention that the there is no way to know what size of icon the menu requires, since I'd guess it depends on DPI and user settings.

The GNOME developers really should learn how to resize icons in their menus.
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open With on Linux Solicitous Calibre 5 04-30-2010 08:52 PM
Cannot Right Click to Select tarifelagund Calibre 2 12-14-2009 01:02 AM
open navigation-software with click on link in stanza? georg3200 Apple Devices 3 12-04-2009 10:58 AM
Anti- 1-click buy settings. 1-click is security risk? Need support from community med007 Amazon Kindle 14 07-30-2009 01:37 AM
OCRopus - Google's open source Linux software Bob Russell News 1 10-24-2007 11:14 PM


All times are GMT -4. The time now is 10:41 PM.


MobileRead.com is a privately owned, operated and funded community.