Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 17 Oct 2019, 06:24
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdog64-800RC [13 Feb 2019] [CLOSED]
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 5 [72 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Author Message
jamesbond

Joined: 26 Feb 2007
Posts: 3367
Location: The Blue Marble

PostPosted: Tue 26 Feb 2019, 04:32    Post subject: Re: Joplin Note taking application, ask for testing  

WB7ODYFred wrote:
Joplin Note taking application

There are two problems there Fred.
1. Joplin installer expects grep that supports "PCRE".
2. Joplin installer doesn't like to run as root.

(1) is easily fixed, just install grep-pcre from the repo.
(2) is requires modification to the install command.

Instead of
Code:
wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash

do this:

Code:
wget -O /tmp/installer.sh https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh


followed by
Code:
bash /tmp/installer.sh --allow-root


When installation is done, you can access joplin from /root/.joplin/Joplin.AppImage.

You won't get a desktop file, unless you install another package called "desktop-file-utils" from the repo. Once you install this Joplin will ask if you want to create a desktop file. Unfortunately it will create the desktop file with the wrong category, so it won't be shown by the panel menu. You will need to edit /usr/local/share/applications/appimagekit-joplin.desktop and change the "Category" from "Office" to "X-Document". You will then have Joplin entry under the "Document" panel menu.

Note: I have only tested installation and that it launches. I have't used it myself so I'm sure if it works or not.

EDIT: In the final release you don't need this: I will get both grep-pcre and desktop-file-utils into the ISO.

Quote:
Thanks James Bond, and other developers for a wonderful FatDog64 experience with a small linux package.
You're welcome!
xscreenshot-20190226T183102.png
 Description   
 Filesize   151.35 KB
 Viewed   660 Time(s)

xscreenshot-20190226T183102.png


_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
WB7ODYFred


Joined: 13 Dec 2008
Posts: 166
Location: Oregon & Washington

PostPosted: Thu 28 Feb 2019, 05:47    Post subject: Joplin has a new error, Missing Libgtk-3.0.so  

Joplin has a new error, Missing Libgtk-3.0.so

Version 1.0.135
I used Gslapt to search for "Libgtk-3" and did not find this library.

Fotoxx v.12.01.2 application is package libimage-exiftool-perl is required.
I load a picture from my camera into this application. Then click on menu --> Info --> View Short or View Long.
EDIT: installed Exiftool 11.16-x86_64-1 which installed perl tool. This seems to work now.

This brings up a message "package libimage-exiftool-perl is required" I did try to find this missing package from gslapt libraries.
Thanks for the quick reply and full notes with pictures. I enjoyed that.

Fred
pss. how do you copy text from a uxrvt terminal window. I highlight, then a middle mouse button click ( or right and left click simutaneously) would copy the previous highlighted text into this window. Does not seem to work now?
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3367
Location: The Blue Marble

PostPosted: Thu 28 Feb 2019, 08:38    Post subject: Re: Joplin has a new error, Missing Libgtk-3.0.so  

WB7ODYFred wrote:
Joplin has a new error, Missing Libgtk-3.0.so
Well that was quick. A few days ago when I tested, it didn't require GTK3, and now it does? Confused

Quote:
Version 1.0.135
I used Gslapt to search for "Libgtk-3" and did not find this library.
Search for "gtk3" instead. If you're happy to do it via command line, this will "fix" it:
Code:
slapt-get --update
followed by
Code:
slapt-get --install gtk3


Quote:
Thanks for the quick reply and full notes with pictures. I enjoyed that.
You're welcome.

Quote:
pss. how do you copy text from a uxrvt terminal window. I highlight, then a middle mouse button click ( or right and left click simutaneously) would copy the previous highlighted text into this window. Does not seem to work now?

To "copy" text from terminal: just highlight it.
TO "paste" the text in another application, there are two ways.
a) press the middle button if you have one. If you don't have the middle button you need to enable middle-click-emulation-by-simultaneous-left-right-click (this used to be enabled long time ago, but they are disabled by default now).
b) or another way, press Ctrl-Alt-C and a window will popup showing you the last few selected texts. Choose the one that you want to paste, then in the target application just press Ctrl-V to paste it.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5353
Location: Ontario

PostPosted: Thu 28 Feb 2019, 20:28    Post subject:  

running Fatdog64-800RC beta -->

I came across this problem when trying mypaint appimage --->

Mypaint needs to be told which external app to use for editing
Mypaint > Layer > Edit Layer in External App...

It looks in /usr/share/applications/mimeinfo.cache (or mimeapps.list) for the app that opens png format.

Viewnior is only app that is listed in mimeinfo.cache for editing png files,
whereas GIMP is the obvious choice.

_____________________________________________________
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1207

PostPosted: Fri 01 Mar 2019, 01:55    Post subject:  

Fatdog64 800 doesn't have a /usr/share/applications/mimeinfo.cache file. Do you know how that came into being in your system? Is it something that the appImage creates?

As far as adding mime handlers for a specific type, you could try adding gimp for file type .png as a rox mime handler (right-click a png file icon and select Set run action). Then run fatdog-sync-mime.sh to refresh the mime cache.

_________________
Fatdog64-802|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5353
Location: Ontario

PostPosted: Sat 02 Mar 2019, 15:42    Post subject:  

to Step

Interesting. I'm sure I didn't create these files, but maybe an app install script
did.

update-mime-database is command according to
https://bbs.archlinux.org/viewtopic.php?id=97886

I'll try to duplicate my install.
____________________________________
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1207

PostPosted: Sat 02 Mar 2019, 18:13    Post subject:  

Nothing wrong with using update-mime-database but, depending on your expectations, further syncing with fatdog-sync-mime.sh may be needed. It syncs all mime-handling managed by /usr/share/mime, /etc/mime.types, /etc/mailcap, /usr/share/applications/defaults.list and mimeapps.list, ROX Filer, and defaultprograms.
_________________
Fatdog64-802|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5353
Location: Ontario

PostPosted: Sun 03 Mar 2019, 17:22    Post subject:  

I installed the final version of fatdog64-800
(frugal install of two files) and booted up with no save file

There are two files
/usr/share/applications/mimeinfo.cache
/usr/share/applications/mimeapps.list

gimp isn't listed as being associated with PNG
___________________________________________
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1207

PostPosted: Sun 03 Mar 2019, 19:59    Post subject:  

I stand corrected. I downloaded the appImage. To add gimp to the list that "Layer > Edit layer in external app" displays I did the following in a terminal window:
Code:

mkdir -p /root/.config/rox.sourceforge.net/SendTo/.image_png
ln -s /usr/share/applications/gimp.desktop /root/.config/rox.sourceforge.net/SendTo/.image_png/gimp
fatdog-sync-mime.sh

The above essentially adds gimp as a ROX SendTo option for png files, then syncs Fatdogs mime handling.

Start MyPaint, open a png image, Select "Layer > Edit layer in external app": gimp should be one of the displayed options.
When I select it, MyPaint starts gimp to open the png layer. Then gimp displays a message complaining that "Image type PNG is not supported" but lets you edit the image regardless. Annoyingly, all of gimp's button icons are missing.

_________________
Fatdog64-802|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5353
Location: Ontario

PostPosted: Tue 05 Mar 2019, 16:59    Post subject:  

Quote:
Then gimp displays a message complaining that "Image type PNG is not supported" but lets you edit the image regardless. Annoyingly, all of gimp's button icons are missing


I never saw this problem.

What I did is edit '/usr/share/applications/mimeinfo.cache ' only.


---> by replacing 'defaultimageviewer.desktop' with 'gimp.desktop'

Mypaint appears to look at this file for apps that will open a PNG.
_____________________________________________________

EDIT

---> by replacing 'viewnior.desktop' with 'gimp.desktop'
____________________________________________________

Last edited by don570 on Thu 07 Mar 2019, 15:19; edited 2 times in total
Back to top
View user's profile Send private message 
WB7ODYFred


Joined: 13 Dec 2008
Posts: 166
Location: Oregon & Washington

PostPosted: Wed 06 Mar 2019, 17:04    Post subject: Fotoxx v.12.01.2, missing EXIF Tools for extracting Photo
Subject description: missing EXIF Tools for extracting Photo Metadata information
 

Congratulations James Bond on Fatdog64 800 Release February 28, 2019. Yay!!

I was using Fotoxx v12.01.2 to "Transform" submenu items "Auto Trim" camera photos to a selected rectangle area and using the "Resize" to reduce the pixel count to reduce the size of the photo in LibreOffice Writer Document manual I am creating. This all works fine. Thank you, James.

Fotoxx missing EXIF Tools for extracting Photo Metadata information

But to read the size of the photo and some of the extra metadata information about the picture by using Menu Bar --> Info --> View (short) an error window pops up package libimage-exiftool-perl is required..

Repair method:

    Open Menu--> Setup --> Gslapt Package Manager

    Search for EXIF

    Mark installation on exiftool 11.16-x86_64-1, libexif 11.16-x86_64-1, libexiv2 0.26-x86_64-1
    Perl 5.26.1-x86_64-1 also gets installed as a dependency

I may have missed another package that got installed. ??
    Apply changes


from source packages http://distro.ibiblio.org/fatdog/packages/800

Conclusion Info submenu items View (short) and View (long) now work properly in Fotoxx v12,01.2

thank you James Bond for a nice tool that allows me to create a LibreOffice document with pictures cropped, resized and anotated using Fotoxx v12.

pss. Ordered List markup codes \[list=\] \[list\] is not working here. Regular list with out the equal sign is working.
libimage-exiftool-perl_missing2.png
 Description   Left window is correct View Info. Middle window show error, "package libimage-exiftool-perl is required.
Mark installation on exiftool 11.16-x86_64-1, libexif 11.16-x86_64-1, libexiv2 0.26-x86_64-1
Perl 5.26.1-x86_64-1 also gets installed as a dep
 Filesize   152.07 KB
 Viewed   284 Time(s)

libimage-exiftool-perl_missing2.png

Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3367
Location: The Blue Marble

PostPosted: Thu 07 Mar 2019, 10:12    Post subject: Re: Fotoxx v.12.01.2, missing EXIF Tools for extracting Photo
Subject description: missing EXIF Tools for extracting Photo Metadata information
 

WB7ODYFred wrote:
Congratulations James Bond on Fatdog64 800 Release February 28, 2019. Yay!!

You're much welcome.

Quote:
But to read the size of the photo and some of the extra metadata information about the picture by using Menu Bar --> Info --> View (short) an error window pops up package libimage-exiftool-perl is required.
Yeah, this is obsolete information. I need to update that so it's not misleading. All you need is (a) Perl and (b) exiftool. The rest of the packages aren't needed. We don't include exiftool into the base ISO because that package requires Perl and Perl isn't included in the base ISO either. You need to install that from gslapt, which you did, and I'm glad that it works.

I see that you're a radio guy. I may need your expertise - will you be willing to help me answer some questions? Very Happy

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 5 [72 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0811s ][ Queries: 13 (0.0131s) ][ GZIP on ]