Archive for February, 2018

Synaptic on Ubuntu 17.10

February 17, 2018

Synaptic tool is not starting on my Ubuntu 17.10, the window does not appear. It seems that root-user lacks privileges to access the window manager.
The following command will grant access to root to open an X-window on Ubuntu 17.10 for this session only.

xhost +si:localuser:root

Afterwards execute synaptic as super-user (root)

sudo synaptic

Lösung Känguru Stufe 5/6 (2016) Aufgabe C3

February 7, 2018

Die Lösung lautet 13, berechnet mit folgendem Python Programm:

for A in range(16):
  for B in range(16):
    C = 7;
    D = 3;
    for E in range(16):
      F = 1;
      for G in range(16):
        H = 6
        for I in range(16):
        J = 2
        if A+B+C == C+D+E and C+D+E == E+F+G and E+F+G== G+H+I and G+H+I == I+J+A:
          print (A)

 

Samsung CLX 3185FN LAN access with Ubuntu 17.10

February 5, 2018

The official Samsung driver (universal linux driver ULD) does not support access to the printer/scanner functionality via LAN. Seems, this driver supporting  devices attached via USB.

For LAN access, just the Open Source Samsung Universal Linux Driver (SULD) is working for me (project page at http://www.bchemnet.com/suldr/index.html).

If you intend to install the SULD,  you will need to perform the following steps (sudo-permissions are required on your host):

Install the packages libsane-extras, and xsane

sudo apt-get intall libsane-extras
sudo apt-get intall xsane

Install the SULD driver following the instructions from project http://www.bchemnet.com/suldr/index.html

The following steps must be performed, namely adding the SULD repository to your resource list, add the signature-key to your truststore, update the local database, and finally the installation of the  suld-driver.

sudo bash -c 'echo "deb http://www.bchemnet.com/suldr/ debian extra" >> /etc/apt/sources.list'
wget http://www.bchemnet.com/suldr/pool/debian/extra/su/suldr-keyring_2_all.deb
sudo dpkg -i suldr-keyring_2_all.deb
rm -f suldr-keyring_2_all.deb
sudo apt-get update
sudo apt-get install suld-driver-4.01.17

Now add your user $USER to both groups “scanner” and “lp” (will require logout or reboot)

sudo usermod -a -G scanner $USER
sudo usermod -a -G lp $USER

After reboot and login, the tool “xsane” should discover the scanner, and you should be able to choose the printer in setup-tool.