Scanner

Hi, I have a multifunction printer that I don’t use but I would like to activate the scanner. I installed cups and tried installing xsane as that is what the Gimp user manual recommends.
Cups seems to have installed correctly but when I try to install xsane pacman can’t find it and yay gives an error so it proceeds to remove it and aborts the installation.
What do you recommend to do in these cases, do you recommend any other scanning software?
The multifunction is HP Deskjet F2050.
Thank you for your help.

Translated with DeepL.com (free version)

Hi @Claudio ,

I don’t own an all in one device or scanner. But i can install xsane + xsane-gimp-git with yay and run it.

Try otherwise to build and install it directly from the AUR package.
https://aur.archlinux.org/packages/xsane

What is the error you get when installing xsane.

Alternatives for xsane. (some are discontinued)
https://alternativeto.net/software/simple-scan/?platform=linux

:bird:

1 Like

Hi @muzqs, thanks for your answer.
Looking at your post, maybe I made the mistake of typing the command ‘yay -S xsane’ instead of yay xsane, the error is as follows:

xsane

For the moment I installed simple scan, I don't like it but it solves the problem momentarily, I'm going to try the solution you propose, as for compiling, I never did it, I don't know how to do it.

I tried yay xsane and got the same error.

It looks like you’ve uninstalled some pretty important programs used for package compilation - which are available in the default Mabox installation.

Installing packages from the AUR is compilation - not always, but usually.

Start by reinstalling what you uninstalled:

yay -S fakeroot

I suspect that there may be more such unfulfilled dependencies

1 Like

Scanners, most of them, are handled by the SANE package.

Try instead:

sudo pacman -S sane hplip skanlite

Included hplip because it has support for many many HP printers and scanners. Skanlite is, in my humble opinion, better than Simple Scan.

1 Like

Hello @napcok.
Mmm, I never uninstall anything that comes with the system unless it is stated on this forum for some special reason and I don’t remember if it has happened, if I uninstalled it was deleting orphans, clearing the cache or some operational error that I didn’t realise. In fact I only install programs that I need for my work and I took the license to install the game to see how it performed, that’s the only thing I did knowingly. I don’t remember ever compiling anything as it’s something I don’t know how to do.
There are still things in Mabox that I haven’t used due to lack of time and as I don’t know what they do first I have to read to know what they are about.
Anyway, I’m going to reinstall fakeroot as you indicate as soon as I have access to my machine, now my wife is using the desktop so I’m with another machine, I’ll post what happens.
Thank you very much for your reply.

Hi @M0nst3r, hplip was the first thing I installed along with cups, I had the procedure saved from when I first tried Manjaro.
Sane installed correctly, what doesn’t install is xsane which I understand I need it to scan from Gimp. I installed Simple Scan because I didn’t know another one.
It’s true what you say, it doesn’t offer great quality for scanning, if I can’t install xsane I’ll try skanlite as you recommend.
Thank you very much.

Translated with DeepL.com (free version)

Well, well, well,Xsane was installed correctly after installing fakeroot.
Now it is working as I like and need.

I just need to figure out how to get Gimp to open it from create in the menu but I can still scan directly from Xsane.

Thank you all very much for the help.

Open Gimp and go to: File → Create (Archivo → Crear).

Your scanner option should be available there.

Edit: if it doesn’t you will need to create a symlink in Gimp’s plugin folder. Take a look here, it may help even if a bit outdated.

2 Likes

Hi @M0nst3r,
That’s why I wanted Xsane, to be able to scan directly from create, but it doesn’t work, I’ve already checked the preferences, and I’ve been going around checking the menus to see if I could find something to make it run but I still can’t find a way to link Xsane with Gimp.
It shows me only two options, create from clipboard or screenshot.

My Mabox is doing some weird things, sometimes it asks me for a password to enter my slave disk, sometimes it doesn’t ask me for the password.
At startup I get a kill Conky message but not always. Often the CPU usage is triggered, then it works perfect, today I had open at the same time, Firefox, Gimp, file browser and everything flowed, I really don’t understand. I can’t find the possible errors.

INFO From AUR Wiki…

maderios commented on 2024-09-01 14:47 (UTC)

xsane-gimp doesn’t build/work with Gimp 3.0, it’s upstream issue, xsane-gimp project is outdated, no more maintained. I think that’s why it was removed from official repo.

https://aur.archlinux.org/packages/xsane-gimp

:bird:

1 Like

Hi @muzqs, Thanks. I didn’t have that information.
The good thing is that it helps me to rule out problems caused by me, ignorance or bugs.
Success