Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-31-2023, 12:23 AM   #1
Argon
Enthusiast
Argon began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Jan 2020
Device: Kobo Libra 2, Kindle Oasis 3
Where do I find an icon file for a Linux install's shortcut?

I just installed calibre on Debian running Xfce and used Alacarte to make a shortcut to it in the Applications drop-down (top left of the screen) and would like to be able to set the calibre logo as its icon, instead of a generic icon.

I'm a complete Linux novice, so apologies if this is a very simple question or I did this the wrong way!
Argon is offline   Reply With Quote
Old 12-31-2023, 04:38 AM   #2
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,636
Karma: 108669873
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
On my Mint with Mate the icon automatically was in the menu.
When I look at icon properties the path is /usr/share/icons/hicolour/48x48/apps/calibre-gui.png
Quoth is offline   Reply With Quote
Old 12-31-2023, 12:44 PM   #3
theducks
Well trained by Cats
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: 31,172
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Calibre has all its icons in

??? \Calibre2\app\resources\images

??? being the programs install folder
theducks is offline   Reply With Quote
Old 12-31-2023, 03:49 PM   #4
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,636
Karma: 108669873
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by theducks View Post
Calibre has all its icons in

??? \Calibre2\app\resources\images

??? being the programs install folder
On Windows.
But the OP is running Debian, a main Linux distro.
On my Linux, Calibre images folder is
/opt/calibre/resources/images/
(case sensitive).
When setting up something puts a copy of the "main icon" as
/usr/share/icons/hicolour/48x48/apps/calibre-gui.png
for the Menu thingy (there are three kinds of Menu available for the "places" bar), one is a bit like MS windows 7 Start.
Oddly there is no "calibre-gui.png" in images, but "apple-touch-icon.png" looks similar and "lt.png" looks the same.

Linux doesn't actually have "dedicated" icon files like MS Windows has.

The /usr/bin/calibre is a link to /opt/calibre/calibre
/bin/ is a link to /usr/bin/

Edit:
typing env in Terminal/Console reveals that

Code:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
hence typing calibre works.
Which I tried:
Of course there is a small QT issue I didn't know about as I usually click on an icon in my LHS Places bar.
Code:
qt.webengine.QWebEngineView OK
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: cHRM chunk does not match sRGB
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile

Last edited by Quoth; 12-31-2023 at 03:59 PM.
Quoth is offline   Reply With Quote
Old 01-01-2024, 07:44 PM   #5
Argon
Enthusiast
Argon began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Jan 2020
Device: Kobo Libra 2, Kindle Oasis 3
Very interesting, Quoth, thanks! This solved my problem.
Argon is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shortcut with install NanetteK Calibre 2 03-17-2023 05:31 AM
Is there Merge Files toolbar icon or shortcut key? phossler Editor 15 11-15-2021 02:32 PM
Find in Tag Browser shortcut not working del.libro Library Management 8 10-07-2021 12:30 PM
Can't find new Copy Text in Tag shortcut (ctrl+alt+t) rjwse@aol.com Editor 0 03-07-2020 03:04 PM
Find/Replace Window close shortcut tetrault Sigil 7 02-15-2019 08:31 PM


All times are GMT -4. The time now is 03:47 PM.


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