mtpaint

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

mtpaint

Post#1 by Ed_P » 08 Aug 2017, 05:50

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.
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

mtpaint

Post#2 by ncmprhnsbl » 08 Aug 2017, 07:34

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...
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

mtpaint

Post#3 by Ed_P » 08 Aug 2017, 14:17

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# 
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

mtpaint

Post#4 by Bogomips » 08 Aug 2017, 21:21

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
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

mtpaint

Post#5 by ncmprhnsbl » 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:
Image
but mtpaint(or fotoxx and others) have plenty of other useful features.. like eg. annotation..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

mtpaint

Post#6 by Ed_P » 09 Aug 2017, 01:12

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
Ed

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

mtpaint

Post#7 by donald » 09 Aug 2017, 01:49

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

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

mtpaint

Post#8 by ncmprhnsbl » 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 
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

mtpaint

Post#9 by Ed_P » 09 Aug 2017, 03:48

Bogomips wrote:
08 Aug 2017, 21:21

Code: Select all

usm -g fotoxx
Image

USM not resolving all dependencies apparently.
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

mtpaint

Post#10 by Ed_P » 09 Aug 2017, 03:51

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:
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

mtpaint

Post#11 by ncmprhnsbl » 09 Aug 2017, 04:06

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..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

mtpaint

Post#12 by Ed_P » 09 Aug 2017, 04:15

^ Interesting indeed. And how does one assign that function to the PrtScr key?
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

mtpaint

Post#13 by ncmprhnsbl » 09 Aug 2017, 04:26

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...
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

mtpaint

Post#14 by ncmprhnsbl » 09 Aug 2017, 07:58

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:
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

mtpaint

Post#15 by Bogomips » 09 Aug 2017, 11:23

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
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Post Reply