How to open lib/udev/rules.d/60-libsane1.rules with gedit

Asked by Mal R Ellis

I am using Ubuntu Mate 19.10 and have been trying to install my Brother MFC-J480DW printer/scanner/fax machine . I have instructions from 'Easy Linux tips Project: Brother printers: how to install them in Linux Mint" . Although it says Linux Mint I have used it to install on my Ubuntu Mate and all has gone well except when I reach number 12 where it uses 'xed' top open the file but 'xed' will not work in my Mate os It says "xed admin:///lib/udev/rules.d/60-libsane1.rules" I was using Linux Mint previously and 'xed' worked fine with that os but now that I am using Mate it wont open. There is a line that should be entered to make the scanner part work properly . How can I open that file and will 'gedit' do it .

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

sudo gedit /lib/udev/rules.d/60-libsane1.rules

sudo vi /lib/udev/rules.d/60-libsane1.rules

sudo nano /lib/udev/rules.d/60-libsane1.rules

Take your pick

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Just replace "xed" with "gedit" in your command.

Revision history for this message
Mal R Ellis (bobem) said :
#3

Thank you for your answers . I had thought it might be something like that but it does not bring anything up in the file. Maybe those instructions only applied to Mint 19 and not Ubuntu 19.1 . The printer still works without that entry .

Revision history for this message
Mal R Ellis (bobem) said :
#4

Thanks actionparsnip, that solved my question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

The file in question can be named /lib/udev/rules.d/60-libsane.rules or /lib/udev/rules.d/60-libsane1.rules depending on the version of the sane packages, which in turn depends on the Ubuntu release.