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, 12: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, 12: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: 13,603
Karma: 5126946
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
 
Enthusiast
Old 07-25-2010, 12: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: 24,801
Karma: 4369673
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, 12: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:	67
Size:	87.6 KB
ID:	55684  
tarakanbg is offline   Reply With Quote
Old 07-25-2010, 12: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, 01: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 01:43 PM.
tarakanbg is offline   Reply With Quote
Old 07-25-2010, 01: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: 24,801
Karma: 4369673
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, 03: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 03:12 PM.
meho_r is offline   Reply With Quote
Old 07-25-2010, 03: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: 24,801
Karma: 4369673
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, 08: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: 24,801
Karma: 4369673
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, 06: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: 343
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, 08: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, 11:31 AM   #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: 24,801
Karma: 4369673
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You're welcome
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 07:52 PM
Cannot Right Click to Select tarifelagund Calibre 2 12-14-2009 12:02 AM
open navigation-software with click on link in stanza? georg3200 Apple Devices 3 12-04-2009 09:58 AM
Anti- 1-click buy settings. 1-click is security risk? Need support from community med007 Amazon Kindle 14 07-30-2009 12:37 AM
OCRopus - Google's open source Linux software Bob Russell News 1 10-24-2007 10:14 PM


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


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