Found a permanent fix for Samsung SCX-4600 and USB3 issue.

According to ArchWiki[1] systemd and dbus don't pickup environment variables 
set in ~/.bashrc.
That explains why the .bashrc fix didn't work.
So the solution I finally found and went for was number 2 in the list on 
ArchWiki here[2]

Using nano I edited /etc/systemd/user.conf.
I appended this at the bottom of it:

DefaultEnvironment=SANE_USB_WORKAROUND=1

Then I rebooted (I don't know how to get systemd to reload
/etc/systemd/user.conf with out rebooting)

And tah-dah! 
Simple scan and Xsane now work as normal.



[1] 
https://wiki.archlinux.org/index.php?title=Environment_variables&oldid=518529#Per_user
[2] 
https://wiki.archlinux.org/index.php?title=Systemd/User&oldid=528307#Environment_variables

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728012

Title:
  Many 3rd party scanner drivers are broken by a sane change

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1728012/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to