Page 1 of 2

mtpaint

Posted: 08 Aug 2017, 05:50
by Ed_P
Downloaded mtpaint from USM, activated it, and get this:

Code: Select all

guest@porteus:~$ mtpaint
mtpaint: error while loading shared libraries: libjasper.so.1: cannot open shared object file: No such file or directory
guest@porteus:~$ 
USM has the Resolve Dependencies set. USM returns nothing for libjasper.

I need an app that allows me to cut and crop screen prints for posting here.

mtpaint

Posted: 08 Aug 2017, 07:34
by ncmprhnsbl

Code: Select all

usm -g jasper
this contains libjasper http://slakfinder.org/show.php?pkg=1314284
Ed_P wrote:
08 Aug 2017, 05:50
I need an app that allows me to cut and crop screen prints for posting here.
viewnior image viewer can do this...

mtpaint

Posted: 08 Aug 2017, 14:17
by Ed_P
Thanks ncmprhnsbl.

Viewnoir appears to be the same as the Image Viewer in Cinnamon and neither does cutting and cropping. I've also tried, without success, pinta and GraphicsMagick.

Code: Select all

guest@porteus:~$ pinta
/usr/bin/pinta: line 5: /usr/bin/mono: No such file or directory
guest@porteus:~$ GraphicsMagick
bash: GraphicsMagick: command not found
guest@porteus:~$ graphicsmagick
bash: graphicsmagick: command not found
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# GraphicsMagick
bash: GraphicsMagick: command not found
root@porteus:/home/guest# graphicsmagick
bash: graphicsmagick: command not found
root@porteus:/home/guest# 

mtpaint

Posted: 08 Aug 2017, 21:21
by Bogomips
Ed_P wrote:
08 Aug 2017, 14:17
Viewnoir appears to be the same as the Image Viewer in Cinnamon and neither does cutting and cropping. I've also tried, without success, pinta and GraphicsMagick.

Code: Select all

usm -g fotoxx

mtpaint

Posted: 08 Aug 2017, 23:05
by ncmprhnsbl
Ed_P wrote:
08 Aug 2017, 14:17
Viewnoir appears to be the same as the Image Viewer in Cinnamon and neither does cutting and cropping
yes it does:
Image
but mtpaint(or fotoxx and others) have plenty of other useful features.. like eg. annotation..

mtpaint

Posted: 09 Aug 2017, 01:12
by Ed_P
ncmprhnsbl wrote:
08 Aug 2017, 23:05
Ed_P wrote:
08 Aug 2017, 14:17
Viewnoir appears to be the same as the Image Viewer in Cinnamon and neither does cutting and cropping
yes it does:
Not the Image Viewer I see.
Image

mtpaint

Posted: 09 Aug 2017, 01:49
by donald
Ed_P wrote:
09 Aug 2017, 01:12
Not the Image Viewer I see.
Which seems to be gpicview. :)

mtpaint

Posted: 09 Aug 2017, 03:00
by ncmprhnsbl
yeah, i'm talking about viewnior not gpicview ;)

and heres a tip regarding missing libs: search the full library name:

Code: Select all

# usm -s libjasper.so.1
 ----------------------------- 
 Are you searching for a library file? 

libjasper.so.1, it seems a library.
Would you like to find the package for it? [y/n]

 libjasper.so.1  was found in   jasper-1.900.1-x86_64-5.txz 

mtpaint

Posted: 09 Aug 2017, 03:48
by Ed_P
Bogomips wrote:
08 Aug 2017, 21:21

Code: Select all

usm -g fotoxx
Image

USM not resolving all dependencies apparently.

mtpaint

Posted: 09 Aug 2017, 03:51
by Ed_P
donald wrote:
09 Aug 2017, 01:49
Ed_P wrote:
09 Aug 2017, 01:12
Not the Image Viewer I see.
Which seems to be gpicview. :)
Just going by the name Cinnamon DE has given it.
ncmprhnsbl wrote:
09 Aug 2017, 03:00
yeah, i'm talking about viewnior not gpicview ;)

and heres a tip regarding missing libs: search the full library name:

Code: Select all

# usm -s libjasper.so.1
 ----------------------------- 
 Are you searching for a library file? 

libjasper.so.1, it seems a library.
Would you like to find the package for it? [y/n]

 libjasper.so.1  was found in   jasper-1.900.1-x86_64-5.txz 
An excellent suggestion! I did not know that. Thank you. :beer:

mtpaint

Posted: 09 Aug 2017, 04:06
by ncmprhnsbl
and while i'm at it, here's another fun fact:

Code: Select all

$ mtpaint -s
takes a screenshot and opens it in mtpaint..

edit: oddly enough i'm running mtpaint-3.31 (old module that i found lying around) without any libjasper :%)
oh ok, mtpaint-3.40 probly needs it for something..

mtpaint

Posted: 09 Aug 2017, 04:15
by Ed_P
^ Interesting indeed. And how does one assign that function to the PrtScr key?

mtpaint

Posted: 09 Aug 2017, 04:26
by ncmprhnsbl
depends on your DE.. cinnamon right? not too familiar with cinnamon, but i'd be looking for something to do with 'keyboard shortcuts' in the settings somewhere...

mtpaint

Posted: 09 Aug 2017, 07:58
by ncmprhnsbl
yeah, System Settings > Keyboard > Shortcuts
first remove the keybind for "Take a Screenshot" ie select "Print" and press Escp
then add a custom shortcut and assign it to Print (PrtSc)

you realise, of course , that you can use Shift+PrtSc to take a shot of a selected area using the builtin screenshooter (precropped) :wink:

mtpaint

Posted: 09 Aug 2017, 11:23
by Bogomips
Ed_P wrote:
09 Aug 2017, 03:48
Image

USM not resolving all dependencies apparently.
Since you are trying it, here are the missing pieces: USM Module Reserve: Bundle Contributions