Best of Technical Support
I am running Red Hat 7.2 and trying to install my HP DeskJet 932C. I have done everything by the book, even tried all the drivers listed, and the printer still does not work. Can anyone tell me what the deal is here? Yes, it is a USB printer.
—Tim Fey, TFey@cfl.rr.com
Try modprobe printer, and check out /var/log/messages to see if your printer is detected. You can then use printtool to configure it for use with your distribution.
—Christopher Wingert, firstname.lastname@example.org
Try another USB device to make sure the port you are using with the printer is working. If you are getting any error messages please send them.
—Don Marti, email@example.com
You do not say if you're having a problem configuring the USB to talk to the printer or a problem with the actual data format sent to the printer with a working USB connection. If it's the latter, I'd suggest you go to CUPS for the latest drivers for your printer, www.cups.org. You can even generate the proper configuration files for your printer on-line.
—Felipe Barousse Boué, firstname.lastname@example.org
In libc is there a function to call to see if my application is already running?
—Pieter Coetzee, email@example.com
The way most programs do this is they store their PID in a file such as /var/run/gdm.pid.
—Marc Merlin, firstname.lastname@example.org
/var/run is writable only by root. If you want to have only one copy of an X application running per user, gnome-moz-remote probably does something close to what you want. It looks for an already running copy of Mozilla, and if one is running, it opens the given URL with that copy. Otherwise, it starts a new Mozilla process. Look at cvs.gnome.org/lxr/source//libgnome-2/libgnome/gnome-moz-remote.c.
—Don Marti, email@example.com
Getting Started with DevOps - Including New Data on IT Performance from Puppet Labs 2015 State of DevOps Report
August 27, 2015
12:00 PM CDT
DevOps represents a profound change from the way most IT departments have traditionally worked: from siloed teams and high-anxiety releases to everyone collaborating on uneventful and more frequent releases of higher-quality code. It doesn't matter how large or small an organization is, or even whether it's historically slow moving or risk averse — there are ways to adopt DevOps sanely, and get measurable results in just weeks.
Free to Linux Journal readers.Register Now!
|Secure Server Deployments in Hostile Territory, Part II||Jul 29, 2015|
|Hacking a Safe with Bash||Jul 28, 2015|
|KDE Reveals Plasma Mobile||Jul 28, 2015|
|Huge Package Overhaul for Debian and Ubuntu||Jul 23, 2015|
|diff -u: What's New in Kernel Development||Jul 22, 2015|
|Shashlik - a Tasty New Android Simulator||Jul 21, 2015|
- Secure Server Deployments in Hostile Territory, Part II
- Hacking a Safe with Bash
- KDE Reveals Plasma Mobile
- Huge Package Overhaul for Debian and Ubuntu
- The Controversy Behind Canonical's Intellectual Property Policy
- Home Automation with Raspberry Pi
- Shashlik - a Tasty New Android Simulator
- Embed Linux in Monitoring and Control Systems
- diff -u: What's New in Kernel Development
- General Relativity in Python