Tag: linux

Adding an old Dell Color Laser Printer 1320c on Linux

· Computers

Brought back an old Dell 1320c Color laser. First had to find how to hook it up on Windows 10, then Linux.

  • Win 10: download the driver file from the Dell support site, even if Windows says it has a driver file. The default Windows driver will allow you to print, but will not allow you to configure the printer - for instance, how it hooks into the network. For that, switch to the Dell driver.
  • Linux: no PPD available (at least not on openSUSE). Fix was found by … Googling! I can confirm that this old post still works. Note that it is not sufficient (as I thought) to just grab the PPD - you need the cups filters that the RPM installs (mirrored here for convenience).

Success with touch and pen on Lenovo X1 Yoga (2016)

· Computers

Found the solution, and it should be moving into the next kernel (see my post here):

(note: I’m on openSUSE LEAP 42.1/kernel 4.5.0-10.gb98c3d3-default)

git clone git://git.code.sf.net/p/linuxwacom/input-wacom linuxwacom-input-wacom
cd linuxwacom-input-wacom
git checkout origin/jiri/for-4.6
./autogen.sh
make
sudo make install
sudo /sbin/modprobe -r wacom
sudo /sbin/modprobe -r wacom_w8001
sudo /sbin/modprobe  wacom
sudo /sbin/modprobe  wacom_w8001
sudo /sbin/mkinitrd

Not certain the last line is necessary, but did it anyway. Yey!

The joys of Linux kernels, distros, and Google Chrome

· Computers

One tends to think of something like a web browser being very much disconnected from the intricacies of Linux kernels. But Google Chrome regularly tries to interface in very deep ways, either with the kernel or the X11 graphical system. One recent example is:

Check failed: NamespaceUtils::WriteToIdMapFile("/proc/self/gid_map", gid_)

As usual, Google (not Chrome) is the answer, leading (in this case) to https://productforums.google.com/forum/#!topic/chrome/EAc_PuY9uh0.

Two tips from my experience running a triple-monitor workstation with virtual machines (VMware, VirtualBox) and Nvidia drivers: keep older kernels around, and keep the installation materials (Nvidia) around.  In my case, each kernel upgrade requires a re-install of the Nvidia drivers (there are probably more elegant ways of doing this, but I didn’t do those), and keeping kernels around in case that doesn’t work. To keep multiple kernels around (live, installed on the system), go to /etc/zypp/, and (as sudo) edit zypp.conf to contain the following lines:

∼ Continue Reading ∼

Making Crashplan work on Ubuntu 12.04 LTS in 2015

· Computers

It’s always nice to have a LTS version, but sometimes, software does lag behind. To wit, I noticed some complaints about failure to update in Crashplan (well, the failed updates filled up the filesystem…): it needed Java > 7, which of course wasn’t available.

Wed Nov 4 10:43:45 EST 2015 : JAVACOMMON is set: /usr/bin/java
Wed Nov 4 10:43:51 EST 2015 : Current Java Version: 1.6
Wed Nov 4 10:43:51 EST 2015 : This client requires one of these JREs: 1.7 1.8.  Exiting upgrade

I followed instructions at How to Install OpenJDK 8 in Ubuntu 14.04 & 12.04 LTS, with the modification that I only installed the openjdk-8-jre-headless package, which greatly reduced the amount of dependencies (no graphics!). That might affect running Crashplan locally, but mostly, I connect to it remotely. So, we’ll see.

∼ Continue Reading ∼

Benchmarking old systems

· Computers

Gearing up to soon buy a new laptop - taking stock of old ones still hanging around the house:

and my desktop (Intel Core i7 CPU 980 @ 3.33GHz with a Asus P6X58D-E, 12 cores) [zotique] (names in [brackets] refer to the system name below). Most of my work is done on ECCO anyway, but the occasional test runs and compiles are done on these systems. Still use the X61 and the X200T for travel (when you don’t want to bring everything with you), and they still (kind of) work well. More precise benchmarking using the Phoronix Test Suite:

∼ Continue Reading ∼

Convert AVCHD to MP4

· Computers

I often have run into the problem that Linux can directly read the MTS files, but Windows and Mac can only read them within the original file structure. There may be a good reason for that, but I don’t see it.

This converts MTS to MP4 using ffmpeg or its successors:

ffmpeg -i 00008.MTS -c:a copy -c:v copy 0008.mp4

Oh, and to then put the videos side-by-side, this might work (testing it right now)

∼ Continue Reading ∼

First week experience with Fedora 15

· Computers · 1 comment

Not quite as smooth as openSUSE as a desktop experience. Many things just work on SUSE - just not the touch screen - scanner, printer, etc. are all easier to configure (or so it seems for a Fedora but not Gnome newbie). Both SUSE and Ubuntu have done MUCH more integration (by default anyway) of desktop configuration settings.

Also, SUSE has the buildservice, and I have gotten used to having semi-official advanced repositories of many of the opensource apps - the latest Firefox/Thunderbird/Libreoffice etc. as soon as they are released - an easy way to get latest R/octave/etc. statistical apps - all there on the very active buildservice community. This seems much more haphazard on Fedora.

∼ Continue Reading ∼

Momentous change: laptop goes from openSUSE 11.4 to Fedora 15

· Computers

After 12 (?) years of running laptops with (open){SUSE,SuSE}, I’ve left that distro for Fedora 15. Why? Lenovo X220t touch screen didn’t work even with a couple of hours of fiddling with openSUSE 11.4, and then found a post (lost the URL) of folks noting that Fedora 15  worked just fine for them. (trick: install xorg-x11-wacom-devel).Bonus: it is better in sync with our current research environment, which was running openSUSE (and some SLES) when self-managed, but now is managed by CAC, and runs RHEL or CentOS-based ROCKS. So the laptop being on a Redhat-compatible system helps, too.

WD MyBook 3TB on Linux - partitioning problems -solved

· Computers

Bought a WD MyBook 3TB (USB 3.0) drive. Didn’t want to format correctly in Linux (I blew away the Windows VCD partition). Turns out, needs to be formatted with GPT instead of the ancient MS-DOS partition table. Once that was done, formatting in XFS using SuSE GUI and defaults from the command line also failed. Final solution: /sbin/mkfs.xfs -b size=4096 -d sectsize=4096 -l sectsize=4096 /dev/sdk1