Using two monitors (nVidia 6200 Turbocache)

Let’s see if we can sort the HPLIP system tray application first.

what happens if you boot to the Gnome desktop, wait a minute, and then open a terminal and enter:

hp-systray

or

hp-check

Does the HP system tray icon appear ? … if so we may need to put a delay in its startup … it may be that it’s trying to load BEFORE the system tray is loaded.

[EDIT]

If you are running GNOME 3, you may have to move the mouse to the bottom right of your screen to see if the HPLIP try application is running … in GNOME 3 (not Gnome classic) the system tray is hidden at the bottom right till you move your mouse cursor down there :slight_smile:

Nope, we have the same NVIDIA control panel, I just have a different theme applied, so the colour of the window changes. Do as Mark instructed first, then double check that when you’ve connected your secondary monitor, you want it to be in Twin Mode.

I cant do ANYTHING in the Gnome desktop, it just comes up with the HPLIP error

OK, whatever desktop you CAN log into … or can you not log on to ANY desktop ?

hp-systray gives
peter@Petes-ubuntu-pc:~$ hp-systray

HP Linux Imaging and Printing System (ver. 3.11.10)
System Tray Status Service ver. 2.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: Unable to lock /home/peter/.hplip/hp-systray.lock. Is hp-systray already running?
peter@Petes-ubuntu-pc:~$

hp-check gives

[spoiler]peter@Petes-ubuntu-pc:~$ hp-check

HP Linux Imaging and Printing System (ver. 3.11.10)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:

  1. Compile-time check mode (-c or --compile): Use this mode before compiling the
    HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
    are installed to successfully compile HPLIP.
  2. Run-time check mode (-r or --run): Use this mode to determine if a distro
    supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
    has the proper dependencies installed to successfully run.
  3. Both compile- and run-time check mode (-b or --both) (Default): This mode
    will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait…


SYSTEM INFO

Basic system information:
Linux Petes-ubuntu-pc 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Distribution:
ubuntu 11.10

Checking Python version…
OK, version 2.7.2 installed

Checking PyQt 4.x version…
OK, version 4.8.5 installed.

Checking for CUPS…
Status: scheduler is running
Version: 1.5.0
error_log is set to level: warn

Checking for dbus/python-dbus…
dbus daemon is running.
python-dbus version: 0.84.0


COMPILE AND RUNTIME DEPENDENCIES

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System…
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files…
OK, found.

Checking for dependency: CUPS image - CUPS image development files…
OK, found.

Checking for dependency: DBus - Message bus system…
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler…
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer…
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library…
OK, found.

Checking for dependency: libjpeg - JPEG library…
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files…
OK, found.

Checking for dependency: libpthread - POSIX threads library…
OK, found.

Checking for dependency: libtool - Library building support services…
OK, found.

Checking for dependency: libusb - USB library…
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs…
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)…
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework…
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4…
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus…
OK, found.

Checking for dependency: Python devel - Python development files…
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications…
OK, found.

Checking for dependency: Python XML libraries…
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality…
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language…
OK, found.

Checking for dependency: Reportlab - PDF library for Python…
OK, found.

Checking for dependency: SANE - Scanning library…
OK, found.

Checking for dependency: SANE - Scanning library development files…
OK, found.

Checking for dependency: scanimage - Shell scanning program…
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE…
OK, found.


HPLIP INSTALLATION

Currently installed HPLIP version…
HPLIP 3.11.10 currently installed in ‘/usr/share/hplip’.

Current contents of ‘/etc/hp/hplip.conf’ file:

hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.11.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.11.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

Following values are determined at configure time and cannot be changed.

[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.11.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no

Current contents of ‘/var/lib/hp/hplip.state’ file:

hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

Current contents of ‘~/.hplip/hplip.conf’ file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = “hp:/usb/Photosmart_320_series?serial=CN51I210T304BG”
printer_name =
working_dir = .

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[installation]
date_time = 05/11/11 20:41:03
version = 3.11.10


DISCOVERED USB DEVICES

Device URI Model


hp:/usb/Photosmart_D5400_series? HP Photosmart D5400 series
serial=MY88P791BM04V3
hp:/usb/Deskjet_3070_B611_series HP Deskjet 3070 B611 series
?serial=CN17E3704305MQ


INSTALLED CUPS PRINTER QUEUES

Deskjet-3070-B611-series

Type: Printer
Device URI: hp:/usb/Deskjet_3070_B611_series?serial=CN17E3704305MQ
PPD: /etc/cups/ppd/Deskjet-3070-B611-series.ppd
PPD Description: HP Deskjet 3070 b611 Series, hpcups 3.11.10
Printer status: printer Deskjet-3070-B611-series is idle. enabled since Thu 03 Nov 2011 14:09:35 GMT
Communication status: Good

Deskjet_3070_B611

Type: Printer
Device URI: hp:/usb/Deskjet_3070_B611_series?serial=CN17E3704305MQ
PPD: /etc/cups/ppd/Deskjet_3070_B611.ppd
PPD Description: HP Deskjet 3070 b611 Series, hpcups 3.11.10
Printer status: printer Deskjet_3070_B611 is idle. enabled since Thu 03 Nov 2011 14:10:13 GMT
Communication status: Good

Photosmart-D5400-series

Type: Printer
Device URI: hp:/usb/Photosmart_D5400_series?serial=MY88P791BM04V3
PPD: /etc/cups/ppd/Photosmart-D5400-series.ppd
PPD Description: HP Photosmart d5400 Series, hpcups 3.11.10
Printer status: printer Photosmart-D5400-series is idle. enabled since Thu 03 Nov 2011 14:09:47 GMT
Communication status: Good


SANE CONFIGURATION

‘hpaio’ in ‘/etc/sane.d/dll.conf’…
OK, found. SANE backend ‘hpaio’ is properly set up.

Checking output of ‘scanimage -L’…
device `hpaio:/usb/Deskjet_3070_B611_series?serial=CN17E3704305MQ’ is a Hewlett-Packard Deskjet_3070_B611_series all-in-one


PYTHON EXTENSIONS

Checking ‘cupsext’ CUPS extension…
OK, found.

Checking ‘pcardext’ Photocard extension…
OK, found.

Checking ‘hpmudext’ I/O extension…
OK, found.

Checking ‘scanext’ SANE scanning extension…
OK, found.


USB I/O SETUP

Checking for permissions of USB attached printers…

HP Device 0xa211 at 001:002:
Device URI: hp:/usb/Deskjet_3070_B611_series?serial=CN17E3704305MQ
Device node: /dev/bus/usb/001/002
Mode: 0664
getfacl: Removing leading ‘/’ from absolute path names

file: dev/bus/usb/001/002

owner: root

group: lp

user::rw-
user:peter:rw-
group::rw-
mask::rw-
other::r–

HP Device 0x6d11 at 001:003:
Device URI: hp:/usb/Photosmart_D5400_series?serial=MY88P791BM04V3
Device node: /dev/bus/usb/001/003
Mode: 0664
getfacl: Removing leading ‘/’ from absolute path names

file: dev/bus/usb/001/003

owner: root

group: lp

user::rw-
user:peter:rw-
group::rw-
mask::rw-
other::r–


USER GROUPS

peter adm lp dialout cdrom plugdev lpadmin admin sambashare


SUMMARY

No errors or warnings.

Done.
peter@Petes-ubuntu-pc:~$
[/spoiler]
The HP System tray does not appear, I just get the warning and can only click on OK

Try this:

sudo killall hp-systray

then

sudo mv -v ~/.hplip/hp-systray.lock ~/.hplip/hp-systray.lock.old

then

sudo mv -v /etc/xdg/autostart/hplip-systray.desktop /opt/hplip-systray.desktop

Now try rebooting (not log off/on) into GNOME 3, and let me know.

That file will need replacing for your printer/scanner to work, but if you can boot, we can edit the file to include a delay before replacing it.

I can’t log onto Gnome as as soon as I enter my password, it comes up with the desktop picture and then the HP error, I have to be in the other desktop.
Is it ok entering those three commands in the desktop I CAN use and then rebooting then selecting Gnome?

Yup … but when you reboot, I want you to try logging into GNOME 3

Problem…
peter@Petes-ubuntu-pc:~$ sudo killall hp-systray
[sudo] password for peter:
hp-systray: no process found
peter@Petes-ubuntu-pc:~$

Can’t we just try uninstalling the nVidia control panel? then try a reboot into Gnome?
BTW… i CAN get onto Gnome when only 1 monitor is connected

IGNORE THIS POSTING … answer the question in my next posting first

erm … NO, I don’t think it’s the nvidia settings that are stopping it from booting

just carry on with those 3 commands

IGNORE THE ABOVE

Answer this first …

Are you now saying you DON’T get the HPLIP error when only one monitor is connected ?

Yes
With the ASUS monitor disconnected

OK then, like I said … renaming (or deleting) the /etc/X11/xorg.conf file will get you back to the system default (ie. by default, there is NO xorg.conf file until the nvidia-settings app creates one)

I’ll go look for that posting then.

BTW… It seems like theres TWO conf files as I cant get on Gnome but can the other one (forgot the name!)

[EDIT]
I cant remember what it was, could you repost it please

Doesn’t matter if you are on Gnome OR Unity … the file that the settings are stored in is /etc/X11/xorg.conf

just rename it to xorg.conf.non-working or similar, and it will be ignored.

sudo mv -v /etc/X11/xorg.conf /etc/X11/xorg.conf.non-working

then REBOOT.

I know what you’re saying but I’m just curious as to why it
WILL boot in Unity with two monitors connected
In Gnome it WONT boot with two monitors connected
But it WILL boot in Gnome with one monitor connected

Entered the commands you said, rebooted then got this…

http://img72.imageshack.us/img72/9574/gedit.th.jpg

What do I do?..

I have no idea … it seems to be HPLIP that’s stopping Gnome 3 from loading… for some reason the graphics setup appears to be slowing the loading of the system tray in Gnome 3 to the extent that HPLIP is attempting to lad first.

Quite why this doesn’t happen in Unity, I don’t know … maybe they use a different system tray, or maybe the gnome 3 system tray is tied into the graphics driver more closely, as it isn’t a panel applet (as in Unity) and slides out at the bottom of the screen.

You’ll have to try being a bit more descriptive than “I got this”

When ?

which desktop ?

does it pop up on its own, or when you do something ?

and when you say commands (plural), which commands ?

cant you see the picture?
… when I typed this…
Code: [Select]

sudo mv -v /etc/X11/xorg.conf /etc/X11/xorg.conf.non-working

then REBOOT.
Rebooted to Gnome .

Now this has happened, can we try removing the nVidia program and then I will try rebooting into Gnome with both monitors connected.
Then install the nVidia program again, then reboot back into Gnome to see how it reacts.
Then get it to ‘see’ the other monitor if it already hasn’t, then reboot again to see if it’s affected by the .conf file?
Worth a try?