marianosimone / epub-thumbnailer

Script to extract the cover of an epub book and create a thumbnail for it
GNU General Public License v3.0
191 stars 29 forks source link

Works in pcmanfm #16

Closed subgitlab closed 6 years ago

subgitlab commented 6 years ago

Installing epub-thumbnailer to /usr/bin/ ... OK sh: 1: gnome-session: not found sh: 1: gnome-shell: not found Could not determine your desktop environment version. You can still use the thumbnailer script manually.

Bunsenlab debian stretch I found that it install.py install /usr/bin/epub-thumbnailer but omits /usr/share/thumbnailers/epub.thumbnailer

I manually copy from master/src to /usr/share/thumbnailers/epub.thumbnailer and it worked with majority of epubs.

Thanks very much

epub cover

Saydyn

marianosimone commented 6 years ago

Hi @subgitlab, thanks for reporting!

I don't have an environment like yours to test this on, but I'd appreciate a Pull Request to add detection of your desktop environment. Not that the installer DOES install to /usr/share/thumbnailers/epub.thumbnailer if it thinks it's running in 'gnome3', 'xfce4' or 'unity'. Is there anything we can add to detect yours?

Thanks again!

subgitlab commented 6 years ago

It's solved as posted. above. I my case installer installed /usr/bin/epub-thumbnailer and ommited /usr/share/thumbnailers/epub.thumbnailer due to sh: 1: gnome-session: not found sh: 1: gnome-shell: not found. Manual install copy, paste to /usr/share/thumbnailers/epub.thumbnailer solved.

I m grateful and just want add possible solution to other wm.

marianosimone commented 6 years ago

Thanks for the follow up, @subgitlab.

I just uploaded a fix that should detect your environment correctly. Would you mind trying it out and letting me know how it goes?

If it still doesn't work, would you mind sharing the results of:

ps -A

subgitlab commented 6 years ago

I install again in debian strecth openbox and it worked. It does recognize openbox and install flawlessly.

Thanks Marianosimone

marianosimone commented 6 years ago

Thanks for the follow up. Closing this issue!