Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Launch Gimp Flatpak from terminal?
#1
I recently installed the LXDE desktop environment over my MINT 19.3 XFCE version.  I prefer LXDE and almost everything works, but I only have Gimp 2.8.  I do not know how to access Gimp 2.10.  The terminal command 'gimp' runs 2.8.

Is there any way I can start 2.10 from a terminal, or really is there any way at all?
Reply
#2
You can use:

Code:
flatpak run org.gimp.GIMP [gimp args if any]
You can of course put this in a .desktop to start that Gimp version from your desktop like any other app.
Reply
#3
Ofnuts answered the question. Do you have the flatpak Gimp installed? Good time for a review: The current options: for Gimp 2.10  assuming a 64 bit linux installation.

ubuntu PPA: https://launchpad.net/~ubuntuhandbook1/+...buntu/gimp - there is a version for bionic  (& Mint 19)
Common to this 'buntu version there is no python2 support. To add see:  https://www.gimp-forum.net/Thread-Heal-S...4#pid18354
The advantage is this is a 'regular' linux installation all the files are where you expect them. The existing Gimp 2.8 is removed. Most add-ons such as XSANE or gutenprint will work.

ubuntu PPA: https://launchpad.net/~otto-kesselgulasc...buntu/gimp
This PPA is 'frozen' but you will get a working Gimp 2.10.14, which might be enough for your purposes.

Flatpak: This is a self contained, sand-boxed, Gimp 2.10  It does come with  Python2 support, so those favourite ofnut plugins do work but otherwise divorced from the rest of the operating system ie. no XSANE, no system QT support.
If needed (flathub says not) for Mint 19 LXDE you can install the flatpak system.
Code:
sudo add-apt-repository ppa:alexlarsson/flatpak
sudo apt update
sudo apt install flatpak
Then you need to install the flatpak gimp see: https://flathub.org/apps/details/org.gimp.GIMP
Recently some flatpak Gimp plugins added such as resynthesizer, gimp_gmic_qt  some example commands
Code:
flatpak search org.gimp.GIMP.plugin
flatpak install flathub org.gimp.GIMP.plugin.Resynthesizer
You can keep the existing Gimp 2.8

Snap: This is a ubuntu sandboxed Gimp (similar to Flatpak). Seems most users get this by using the 'buntu 'Store' where it installs by default. I have tried it in the past, I would tend to avoid it.

Appimage  Several Gimp sub-versions available at the moment from 2.10.10 to 2.10.22 All come with python2 support.
Get the 2.10.22 https://github.com/aferrero2707/gimp-app...4.AppImage
Classed as a 'portable' version, largely self contained but not divorced from the underlying OS.  Download, make executable, you can run it from a terminal (ie dot-slash file.name) or make a shortcut. You can keep your existing Gimp 2.8
This is the one I use all the time and because I use it all the time, I unpack it in a folder see: https://www.gimp-forum.net/Thread-Unpack...7#pid18717  There is a video there that uses Mint 19

Compile from source This is Ofnuts favoured choice, but it does need expertise and a **lot** of additional .dev packages to install.
Reply
#4
ok thanks for the info!

I've been using Mint 19 XFCE and I hate it!

When it updated to 19.3 then I started having issues. It was always getting laggy, everything opened slow . . . sometimes it wouldn't shut down and I'd get a Kernel Panic!

I tried all kinds of stuff like clearing the cache, using older kernels, installing lightweight everything like file browsers, internet browsers, changing the desktop thing to compton...etc.

Nothing really seemed to work. The last thing I tried was LXDE. It was the slickest thing ever on my laptop . . . for awhile.

I'm putting MINT MATE on because that is what I used before and never had issues. DOn't know if that will work, but if not, then regular Ubuntu. I am not a Linux expert, and I doubt I ever will be. I just wish that my computer would work like it used to. Somehow, sometime around the update to 19.3 the system started to get worse.

One thing that bothers me is that at least once a month I am getting a Kernel update. This never used to happen. Then I noticed soon after every kernel update the system started to slow down. It has been driving me crazy. Right now I am backing up all my data and doing some dry-run tests with Mint mate and Ubuntu.

I figure for someone like me, a regular vanilla Ubuntu is the best thing, because there will always be people that can help me with problems that always come up.
Reply
#5
I am a KDE person, never liked gnome, although Mint MATE is not a bad DE Still with kubuntu 18.04 on this laptop but Desktop computer is kubuntu 20.04 Updates noticeably more intrusive on startup so I turn them off.
(k)ubuntu: https://linuxconfig.org/disable-automati...ossa-linux
Mint 20 is more civilised: https://linuxsoftware.moncerbae.com/turn...inux-mint/
Those linux-kernel updates are 300+ MB per version set of files, so can accumulate to a sizable amount. Nothing much changed over the years, command line works
Code:
sudo apt clean
sudo apt autoclean
sudo apt autoremove
..or install Bleachbit and use the root option.
Reply
#6
Is this my issue?  It seems to be, since I had Timeshift set up daily and checking every hour.

https://forums.linuxmint.com/viewtopic.php?t=330855 

Anyway, I set Gimp up with LXDE and I love it!  My laptop is fairly new, so it is the fastest laptop I have every used.  I absolutely love it.  I also used the .desktop thing to make a gimp option in my menu bar.  The issue now it that it is under the category "other."  Oh well, I guess that is easy to figure out and fix.

One thing I dislike about my laptop is the touchpad keeps getting in the way.  In XFCE there was a setting to turn it off, no problem.  In LXDE there is nothing in the settings for that, but I can do it with a terminal command:

xinput --disable 13 

I was wondering if there is a way to make this happen whenever the system starts?  If I need it I can just open a terminal and type xinput --enable 13.

Also is there a way to see a list of what flatpaks I have already installed? THere is still some stuff missing in LXDE, and I figure I can do a terminal command and .desktop for them also
Reply
#7
(03-08-2021, 01:26 PM)mholder Wrote: Also is there a way to see a list of what flatpaks I have already installed?  THere is still some stuff missing in LXDE, and I figure I can do a terminal command and .desktop for them also

As unexpected as the Spanish Inquisition, there is a flatpack list command Smile

man flatpack can also help. Otherwise: https://itsfoss.com/flatpak-guide/
Reply
#8
I have a 256 Gb SSD. I put regular Ubuntu on it. Wow it is strange . . .
But my regular hard disk is still there with all my data. This is really cool using the SSD to test full installs of distros. When I find one I like I'll just keep it, save all my data, and use my regular HDD for data.

But I am having issues with the appimage in Ubuntu. I got the Krita appimage working, so I am sure appimages can work.

@Rich: Is there an particular reason to avoid the snap version? THe flatpak is like 1.7 Gb total.

The config folder is very easy to find in snap version. Also, all my plugins seem to work. In the past I had issues with some plugins in Appimage. I haven;t tested everything yet but my resynthisize works, plasma2, felimage . . . these all work fine.
Reply
#9
You use what you are comfortable with and suits your purpose, stick with the snap.

You might be surprised at the snap overhead. Using a basic Mint 20 installation a snap installation runs to 3.1 GB although presumably snap files can be shared with any other snap based installation. Shame the appimage does not work for you, I use it unpacked and permanently on-disk and that runs to 0.5 GB This comparison using filelight : https://i.imgur.com/QT713MC.jpg

Why I am not keen on snap. Last time I installed it, I can not recall python2 support, but it is there now, so must have been me. Still not able to open a file on a storage disk. Too much security. I get a Opening '/media/sf_temp/xxxx.jpg' failed: Could not open '/media/sf_temp/xxxx.jpg' for reading: Permission denied error. Needed to move the file xxxx.jpg to my home folder to open it.
Anything else? For anyone who uses the gimp_gmic_qt plugin the version from gmic does not work. I get a gmic_gimp_qt: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/mint-user/snap/gimp/347/.config/GIMP/2.10/plug-ins/gmic_gimp_qt) error. However the plugin I compile for 'buntu 18.04 / Mint 19 works, so that is one solution. Never got round to checking printing and scanning life is too short.
Reply
#10
(03-08-2021, 11:32 AM)rich2005 Wrote: I am a KDE person, never liked gnome, although Mint MATE is not a bad DE Still with kubuntu 18.04 on this laptop but Desktop computer is kubuntu 20.04 Updates noticeably more intrusive on startup so I turn them off.
(k)ubuntu: https://linuxconfig.org/disable-automati...ossa-linux
Mint 20 is more civilised: https://linuxsoftware.moncerbae.com/turn...inux-mint/
Those linux-kernel updates are 300+ MB per version set of files, so can accumulate to a sizable amount. Nothing much changed over the years, command line works
Code:
sudo apt clean
sudo apt autoclean
sudo apt autoremove
..or install Bleachbit and use the root option.

Using Linux Mint 20.1 (Cinnamon) you can remove superseded kernels using the Update Manager - "View/Linux Kernels/Continue/Remove Kernels..."
Reply


Forum Jump: