Bugzilla – Bug 732192
Can not print the Grub menu.lst file from either kwrite or kate (Printing shows to complete, but nothing prints)
Last modified: 2014-08-01 09:16:17 UTC
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 The Grub Legacy Operating System Selector menu file (/boot/grub/menu.lst) can not be printed as root using either kwrite or kate. When porinting the file, printing is indicated as complete, but nothing actually is printed. The same file can be printed by gedit and leafpad with no problems. I even tried placing the file in my home area, changing to be owned by and thus can be edited as a normal user and it still does not print. Very strange problem indeed. This problem cam to light in the openSUSE forum when another user pointed out the problem to me, as a Moderator in the forum. Reproducible: Always Steps to Reproduce: 1. Alt F2 and enter: kdesu kwrite /boot/grub/menu.lst 2. Do a File / Print & Print (Printer must be configured) 3. Printing indicates it was completed, but nothing actually prints. Actual Results: Nothing is printed on the printer and confirmed by another user in the openSUSE forums. You can test the very same command but use kate instead with the same results. Expected Results: Expecting the document to be printed on the selected printer. When using the very same file as root, but loading gedit or leafpad, the menu.lst file prints out normally as it should.
I assume it's not specific to menu.lst, but is an artifact of running kwrite with kdesu. Does it print for you if you start gedit with kdesu from an non-root KDE sesson? Or else how are you starting gedit as root?
Running kdesu is required when the file /boot/grub.menu.lst is owned by root as it normally is. Using kdesu gedit /boot/grub.menu.lst allows the menu.lst file to be printed normally by gedit. Making a copy of menu.lst, placing it in my /home/Documents folder and changing its owner to me still does not allow the file to printed when using kwrite /boot/grub.menu.lst or kate /boot/grub.menu.lst without using kdesu. So, I presume the issue is with something in the menu.lst file but I have no idea really. Try this yourself in openSUSE 12.1 and KDE and see if it prints for you. James
Revised statement: Making a copy of menu.lst, placing it in my /home/james/Documents folder and changing its owner to me still does not allow the file to printed when using kwrite ~/Documents/menu.lst or kate ~/Documents/menu.lst without using kdesu.
Possibly related or clues: http://lists.opensuse.org/opensuse-web/2011-10/msg00003.html http://lists.opensuse.org/opensuse-kde3/2011-12/msg00041.html http://lists.opensuse.org/opensuse/2012-02/msg00072.html https://bugzilla.novell.com/show_bug.cgi?id=683476
Works fine for me with openSUSE 13.1. If you can still reporduce the issue please reopen.