Hi: Ok. I did it again. I changed kprinter's system options and left the server and port blank for the cups configuration. Now kprinter tries to start the cups server everytime I call it, and it will hang forever. Needless to say, it won't print. Anybody knows where kprinter stores it's configuration so I can restore that information? Thank you. -- Alfredo J. Cole Grupo ACyC
El Jue 21 Jul 2005 21:39, Alfredo Cole escribió:
Ok. I did it again. I changed kprinter's system options and left the server and port blank for the cups configuration.
Why not just put the server and port info back into kprinter's system options? If you're running kprinter on the same machine where the cups server daemon is running, just fill in 'localhost' and '631'. -- Andreas Philipp Noema Ltda. Bogotá, D.C. - Colombia http://www.noemasol.com
El Jueves, 21 de Julio de 2005 20:55, Andreas Philipp escribió:
El Jue 21 Jul 2005 21:39, Alfredo Cole escribió:
Ok. I did it again. I changed kprinter's system options and left the server and port blank for the cups configuration.
Why not just put the server and port info back into kprinter's system options? If you're running kprinter on the same machine where the cups server daemon is running, just fill in 'localhost' and '631'.
I would if I could only get kprinter to let me do that. You can try this: Go into System Options->Cups Server and erase the server and port information. Click on Accept and then restart kprinter. It will hang forever. Thank you. -- Alfredo J. Cole Grupo ACyC
El Jue 21 Jul 2005 22:10, Alfredo Cole escribió:
El Jueves, 21 de Julio de 2005 20:55, Andreas Philipp escribió:
El Jue 21 Jul 2005 21:39, Alfredo Cole escribió:
Ok. I did it again. I changed kprinter's system options and left the server and port blank for the cups configuration.
Why not just put the server and port info back into kprinter's system options? If you're running kprinter on the same machine where the cups server daemon is running, just fill in 'localhost' and '631'.
I would if I could only get kprinter to let me do that. You can try this:
Go into System Options->Cups Server and erase the server and port information. Click on Accept and then restart kprinter. It will hang forever.
Have you tried to set it up from the KDE Control Center printer module? KDE Control Center --> Peripherals --> Printers --> Print Manger --> Configure Manager --> Cups Server. Does that hang as well? -- Andreas Philipp Noema Ltda. Bogotá, D.C. - Colombia http://www.noemasol.com
El Jueves, 21 de Julio de 2005 21:15, Andreas Philipp escribió:
El Jue 21 Jul 2005 22:10, Alfredo Cole escribió:
El Jueves, 21 de Julio de 2005 20:55, Andreas Philipp escribió:
El Jue 21 Jul 2005 21:39, Alfredo Cole escribió:
Ok. I did it again. I changed kprinter's system options and left the server and port blank for the cups configuration.
Why not just put the server and port info back into kprinter's system options? If you're running kprinter on the same machine where the cups server daemon is running, just fill in 'localhost' and '631'.
I would if I could only get kprinter to let me do that. You can try this:
Go into System Options->Cups Server and erase the server and port information. Click on Accept and then restart kprinter. It will hang forever.
Have you tried to set it up from the KDE Control Center printer module? KDE Control Center --> Peripherals --> Printers --> Print Manger --> Configure Manager --> Cups Server.
Does that hang as well?
Yes. Same problem. Did you try it and did it work for you? Thank you. -- Alfredo J. Cole Grupo ACyC
El Jue 21 Jul 2005 22:27, Alfredo Cole escribió:
Have you tried to set it up from the KDE Control Center printer module? KDE Control Center --> Peripherals --> Printers --> Print Manger --> Configure Manager --> Cups Server.
Does that hang as well?
Yes. Same problem. Did you try it and did it work for you?
No, it din't work for me either. I found that out breaking my system just like you did. But I found out how to fix it again. Go to ~/.kde/share/config and edit kdeprintrc. Put in the name of the cups server (localhost) and correct the port number from 0 to 631. This should do the job. -- Andreas Philipp Noema Ltda. Bogotá, D.C. - Colombia http://www.noemasol.com
El Jueves, 21 de Julio de 2005 21:41, Andreas Philipp escribió:
El Jue 21 Jul 2005 22:27, Alfredo Cole escribió:
Have you tried to set it up from the KDE Control Center printer module? KDE Control Center --> Peripherals --> Printers --> Print Manger --> Configure Manager --> Cups Server.
Does that hang as well?
Yes. Same problem. Did you try it and did it work for you?
No, it din't work for me either. I found that out breaking my system just like you did. But I found out how to fix it again.
Go to ~/.kde/share/config and edit kdeprintrc. Put in the name of the cups server (localhost) and correct the port number from 0 to 631. This should do the job. -- Andreas Philipp Noema Ltda. Bogotá, D.C. - Colombia http://www.noemasol.com
Sorry it took so long to reply. One of the members of my Rotary Club had a family tragedy. I just tried it and it works! Thank you, Andreas. Best regards. -- Alfredo J. Cole Grupo ACyC
Hello, On Jul 21 21:27 Alfredo Cole wrote (shortened): [ typical KDE-like problems ]
Go into System Options->Cups Server and erase the server and port information. Click on Accept and then restart kprinter. It will hang forever.
Have you tried to set it up from the KDE Control Center printer module? KDE Control Center --> Peripherals --> Printers --> Print Manger --> Configure Manager --> Cups Server.
Does that hang as well?
Yes. Same problem.
See for example http://portal.suse.com/sdb/en/2002/10/mmichna_cups_margins.html "If you use KDE" The file name ~/.kde/share/config/kprinterrc may be differet from version to version. If it is not ~/.kde/share/config/kprinterrc on your system, try something like find ~ | grep -i 'kprinter' or find ~ | xargs grep -il 'kprinter' 2>/dev/null to find suspicious files. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
Does anyone know how to make susehelp build-search-index keep the search- indexes it labels MISSING after selecting and building those _between_ kde sessions? I couldn't find any solutions in susehelp, this lists archives or /usr/share/doc/packages/. + one thread in the 5600+ most recent posts to this list, "KDE Help Center (susehelp index)", looked at a related problem briefly but never came to a solution. (The list archives are too difficult to search online.) + /usr/share/doc/packages/susehelp/README only offers brief info on khelpcenter, and how to set-up web-server version or documentation center + /etc/opt/kde3/share/config/khelpcenterrc contains the following, but i got lost on my first trip into the meta subdirectory (will try again): [General] MetaInfoDirs=/usr/share/susehelp/meta [Search] IndexDirectory=/var/cache/susehelp/ [Templates] MainTemplate=/usr/share/susehelp/khelpcenter.template + /var/cache/susehelp/ contains various .conf, .db, .index, .exists and .docdb files from my latest rebuild, but only the ones with readable names do not get re-labelled as "MISSING" after a KDE session is ended/re-started -- ie suse admin and users guides, release notes, kde_application_manuals. The rest, those returned to MISSING after a KDE session restart, have cryptic names like those below: -rw-r--r-- 1 root root 734208 Jul 22 09:21 suselinux-userguideen.words.db -rw-r--r-- 1 root root 90112 Jul 22 09:21 suselinux-userguideen.excerpts -rw-r--r-- 1 root root 24576 Jul 22 09:21 suselinux-userguideen.docs.index -rw-r--r-- 1 root root 22 Jul 22 09:21 suselinux-userguideen.exists -rw-r--r-- 1 root root 90112 Jul 22 09:21 suselinux-userguideen.docdb -rw-r--r-- 1 root root 16384 Jul 22 09:21 S782ocCJop01Hov.words.db_weakcmpr -rw-r--r-- 1 root root 1084 Jul 22 09:21 S782ocCJop01Hov.conf -rw-r--r-- 1 root root 1985536 Jul 22 09:21 S782ocCJop01Hov.words.db -rw-r--r-- 1 root root 16 Jul 22 09:21 S782ocCJop01Hov.exists -rw-r--r-- 1 root root 180224 Jul 22 09:21 S782ocCJop01Hov.excerpts -rw-r--r-- 1 root root 49152 Jul 22 09:21 S782ocCJop01Hov.docs.index -rw-r--r-- 1 root root 180224 Jul 22 09:21 S782ocCJop01Hov.docdb Thanks, Andi -- AD Marshall eM: admarshall@gmail.com Web: http://h0lug.sourceforge.net Zone: ICT (IndoChina Time; GMT/UTC+7)
Does anyone know: 01 how to include javadoc packages' documentation in susehelp search (cf /usr/share/javadoc/)? 02 if there a better way to read javadoc docs? 03 (optional) why there no man or info page for javadoc 04 what suse 9.3 app/prog can be used in place of javac? The rest of this is potentially relevant I thought might help: On the last question, these urls describe javac: http://ant.apache.org/manual/CoreTasks/javac.html http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html "man java" says see also "javac(1)", but i can't find any reference or package that provides it via "yast2 sw_single". I have the following, apparently related "ant" packages installed: $ rpm -qa | grep -i "^ant" ant-apache-regexp-1.6.2-6 ant-manual-1.6.2-6 ant-javadoc-1.6.2-6 ant-1.6.2-4 FYI: javac is used by the "Linux Dictionary Tools", http://cvsview.tldp.org/index.cgi/LDP/guide/docbook/Linux-Dictionary/linux-d... From the Makefile for these tools: all: permissions programs_all xml dict_packages programs_all: entities_program dlines_program stripper_program dict_program entities_program: gcc -o entities entities.c dlines_program: javac dlines.java stripper_program: javac strip.java dict_program: javac dict.java xml: programs_all ./strip.sh ./sort.sh ./convert.sh strip: stripper_program ./strip.sh <cut> Thanks, Andi -- AD Marshall eM: admarshall@gmail.com Web: http://h0lug.sourceforge.net Zone: ICT (IndoChina Time; GMT/UTC+7)
Andi, On Friday 22 July 2005 07:13, AD Marshall wrote:
Does anyone know: 01 how to include javadoc packages' documentation in susehelp search (cf /usr/share/javadoc/)? 02 if there a better way to read javadoc docs?
Better than using your favorite web browser? I do most of my Java program code editing using jEdit, and it has modules that can facilitate access to JavaDoc HTML, if I recall.
03 (optional) why there no man or info page for javadoc
Because the software comes from Sun and is part of the Java SDK which has its own documentation suite, mainly in HTML.
04 what suse 9.3 app/prog can be used in place of javac?
SuSE 9.3 includes gcj, which is the Gnu Compiler system front-end and libraries for Java. It is incomplete w.r.t. to the full set of Java libraries and standard extensions. To experiment with it, install these packages libgcj-3.3.5-5 libgcj-devel-3.3.5-5 SuSE 9.3 also includes Jikes, the pedantic compiler from IBM: jikes-1.22-3
The rest of this is potentially relevant I thought might help:
On the last question, these urls describe javac: http://ant.apache.org/manual/CoreTasks/javac.html
This does not describe javac, it describes the Ant task that invokes the Java compiler.
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html
Note the SuSE 9.3 includes both the 1.4.2 and 1.5.0 SDKs.
"man java" says see also "javac(1)", but i can't find any reference or package that provides it via "yast2 sw_single".
I have the following, apparently related "ant" packages installed: ...
It's not clear to me what you're after, but you might find better feedback on SuSE-Programming-E
Thanks, Andi -- AD Marshall
Randall Schulz
Randall, On Friday 22 July 2005 21:24, Randall R Schulz wrote:
Andi,
On Friday 22 July 2005 07:13, AD Marshall wrote:
Does anyone know: 01 how to include javadoc packages' documentation in susehelp search (cf /usr/share/javadoc/)? 02 if there a better way to read javadoc docs?
Better than using your favorite web browser? I do most of my Java program code editing using jEdit, and it has modules that can facilitate access to JavaDoc HTML, if I recall.
Thanks. I was contemplating adding parts of /user/share/javadoc to my htdig.conf. I have jedit-4.1-46 installed. Will try it.
03 (optional) why there no man or info page for javadoc
Because the software comes from Sun and is part of the Java SDK which has its own documentation suite, mainly in HTML.
04 what suse 9.3 app/prog can be used in place of javac?
SuSE 9.3 includes gcj, which is the Gnu Compiler system front-end and libraries for Java. It is incomplete w.r.t. to the full set of Java libraries and standard extensions. To experiment with it, install these packages
libgcj-3.3.5-5 libgcj-devel-3.3.5-5
Both were installed during a shatgun install binge I did to try get the packages I needed. Will check them out further.
SuSE 9.3 also includes Jikes, the pedantic compiler from IBM:
jikes-1.22-3
No jikes installed. If gcj doesn't do the trick, i'll try that later...
The rest of this is potentially relevant I thought might help:
On the last question, these urls describe javac: http://ant.apache.org/manual/CoreTasks/javac.html
This does not describe javac, it describes the Ant task that invokes the Java compiler.
OK. Thanks again, very much. I'm a total java newbie.
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html
Note the SuSE 9.3 includes both the 1.4.2 and 1.5.0 SDKs.
Noted. (Seen them both before, but wasn't sure
"man java" says see also "javac(1)", but i can't find any reference or package that provides it via "yast2 sw_single".
I have the following, apparently related "ant" packages installed: ...
It's not clear to me what you're after, but you might find better feedback on SuSE-Programming-E
OK. Thanks for that, too. I'm trying to run "make" (or "gmake") on the Makefile in the linux- dictionary-tools package, http://cvsview.tldp.org/index.cgi/LDP/guide/docbook/Linux-Dictionary/linux-d... Admittedly, I'm doing this with only cursory knowledge of how make works and no knowledge of java. But i'll take this all to SuSE-Programming-E, as you suggest. If something simple and relevant to this list comes up, I'll add it to this thread. Again,
Thanks, Andi -- AD Marshall
Randall Schulz
-- AD Marshall Tel: +84 (0)903871313 eM: admarshall@gmail.com Web: http://h0lug.sourceforge.net Zone: ICT (IndoChina Time; GMT/UTC+7)
AD, On Friday 22 July 2005 07:55, AD Marshall wrote:
Randall,
On Friday 22 July 2005 21:24, Randall R Schulz wrote:
...
Thanks. I was contemplating adding parts of /user/share/javadoc to my htdig.conf.
That sounds like a reasonable strategy, though I've never tried it myself.
I have jedit-4.1-46 installed. Will try it.
The current stable jEdit release is 4.2 and 4.3pre2 is perfectly serviceable. If you find jEdit to be to your taste, then I'd suggest getting the latest from the jEdit web site: <http://www.jedit.org/>.
...
04 what suse 9.3 app/prog can be used in place of javac?
SuSE 9.3 includes gcj, which is the Gnu Compiler system front-end and libraries for Java. It is incomplete w.r.t. to the full set of Java libraries and standard extensions. To experiment with it, install these packages
libgcj-3.3.5-5 libgcj-devel-3.3.5-5
Both were installed during a shatgun install binge I did to try get the packages I needed. Will check them out further.
If you're just getting started with Java, the GCJ will only be a considerable further complication. I'd avoid it for now, since it's extremely unlikely that it gives you anything you really need right now (e.g., static native compilation).
SuSE 9.3 also includes Jikes, the pedantic compiler from IBM:
jikes-1.22-3
No jikes installed. If gcj doesn't do the trick, i'll try that later...
Jikes is compatible with the Sun compilers and the full language. It compiles faster (well, at one time it did, but Sun's javac has improved a lot in recent years) and as I hinted, is extremely unforgiving about the details of the Java Language Specification. That's probably its main claim to fame.
...
Note the SuSE 9.3 includes both the 1.4.2 and 1.5.0 SDKs.
Noted. (Seen them both before, but wasn't sure
"man java" says see also "javac(1)", but i can't find any reference or package that provides it via "yast2 sw_single".
Hmmm... I never bothered to look, but my 9.3 installation, for which I included everything even vaguely Java-specific, there is both a "java" and a "javac" man page. In fact, there are quite a few java-related man pages: % apropos java |wc -l 89
...
-- AD Marshall
Randall Schulz
Randall, Sorry, I missed this in a flurry on some other stuff. Found javac on SuSE 9.3. See "Finally found it", below. Thanks again! On Saturday 23 July 2005 08:54, Randall R Schulz wrote:
AD,
On Friday 22 July 2005 07:55, AD Marshall wrote:
Randall,
On Friday 22 July 2005 21:24, Randall R Schulz wrote:
...
Thanks. I was contemplating adding parts of /user/share/javadoc to my htdig.conf.
That sounds like a reasonable strategy, though I've never tried it myself. It's actually what i went with in the end. If you'd ever like to try it i can pass you a relevant htdig.conf and /etc/apache2/default-server.conf which you can adapt to your own machine(s).
I have jedit-4.1-46 installed. Will try it.
The current stable jEdit release is 4.2 and 4.3pre2 is perfectly serviceable. If you find jEdit to be to your taste, then I'd suggest getting the latest from the jEdit web site: <http://www.jedit.org/>. Looks slick. Downloading now...
...
04 what suse 9.3 app/prog can be used in place of javac?
SuSE 9.3 includes gcj, which is the Gnu Compiler system front-end and libraries for Java. It is incomplete w.r.t. to the full set of Java libraries and standard extensions. To experiment with it, install these packages
libgcj-3.3.5-5 libgcj-devel-3.3.5-5
Both were installed during a shatgun install binge I did to try get the packages I needed. Will check them out further.
If you're just getting started with Java, the GCJ will only be a considerable further complication. I'd avoid it for now, since it's extremely unlikely that it gives you anything you really need right now (e.g., static native compilation).
SuSE 9.3 also includes Jikes, the pedantic compiler from IBM:
jikes-1.22-3
No jikes installed. If gcj doesn't do the trick, i'll try that later...
Jikes is compatible with the Sun compilers and the full language. It compiles faster (well, at one time it did, but Sun's javac has improved a lot in recent years) and as I hinted, is extremely unforgiving about the details of the Java Language Specification. That's probably its main claim to fame.
...
Note the SuSE 9.3 includes both the 1.4.2 and 1.5.0 SDKs.
Noted. (Seen them both before, but wasn't sure
"man java" says see also "javac(1)", but i can't find any reference or package that provides it via "yast2 sw_single".
Hmmm... I never bothered to look, but my 9.3 installation, for which I included everything even vaguely Java-specific, there is both a "java" and a "javac" man page.
In fact, there are quite a few java-related man pages:
% apropos java |wc -l 89
Finally found it: $ rpm -ql java-1_4_2-sun-devel-1.4.2.06-4 | grep javac /usr/lib/jvm/java-1.4.2-sun-1.4.2.06/bin/javac /usr/share/man/man1/javac-java-1.4.2-sun.1.gz yast2 was previously claiming a conflict with java-1_4_2-sun-1.4.2.08x ^ It complained about installing the -devel- pkgs unless i "downgraded" to java-1_4_2-sun-1.4.2.06-4, which i didn't do the first time. When i did, just now -- while trying to install jai for another project's requirements -- javac was found. Now just have to figure out how to get jai working - more RTFMs ahead.
...
-- AD Marshall
Randall Schulz
-- AD Marshall Tel: +84 (0)903871313 eM: admarshall@gmail.com Web: http://h0lug.sourceforge.net Zone: ICT (IndoChina Time; GMT/UTC+7)
On 04 (See BeLow), the following url (which I just found ;)) suggests the answer may be just "java": http://linux.about.com/library/bl/open/newbie/blnewbie7.2java.htm I'll try it and report back. On Friday 22 July 2005 21:13, AD Marshall wrote:
Does anyone know: 01 how to include javadoc packages' documentation in susehelp search (cf /usr/share/javadoc/)? 02 if there a better way to read javadoc docs? 03 (optional) why there no man or info page for javadoc 04 what suse 9.3 app/prog can be used in place of javac?
The rest of this is potentially relevant I thought might help:
On the last question, these urls describe javac: http://ant.apache.org/manual/CoreTasks/javac.html http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html
"man java" says see also "javac(1)", but i can't find any reference or package that provides it via "yast2 sw_single".
I have the following, apparently related "ant" packages installed: $ rpm -qa | grep -i "^ant" ant-apache-regexp-1.6.2-6 ant-manual-1.6.2-6 ant-javadoc-1.6.2-6 ant-1.6.2-4
FYI: javac is used by the "Linux Dictionary Tools", http://cvsview.tldp.org/index.cgi/LDP/guide/docbook/Linux-Dictionary/linux-d...
From the Makefile for these tools: all: permissions programs_all xml dict_packages
programs_all: entities_program dlines_program stripper_program dict_program
entities_program: gcc -o entities entities.c
dlines_program: javac dlines.java
stripper_program: javac strip.java
dict_program: javac dict.java
xml: programs_all ./strip.sh ./sort.sh ./convert.sh
strip: stripper_program ./strip.sh <cut>
Thanks, Andi -- AD Marshall eM: admarshall@gmail.com Web: http://h0lug.sourceforge.net Zone: ICT (IndoChina Time; GMT/UTC+7)
-- AD Marshall Tel: +84 (0)903871313 eM: admarshall@gmail.com Web: http://h0lug.sourceforge.net Zone: ICT (IndoChina Time; GMT/UTC+7)
When I can find anything in the SuSE Admin or User guides via SuSEhelp/KDEHCenter searches, the results displayed are like this: SUSE LINUX Administration Guide SUSE LINUX 9.3 (03/15/05) [<- a uri link] Obviously, that's not very informative. Mousing over the uri link will reveal the filename of the page, eg, for the above search on "xsltproc" the uri is this: file:///usr/share/doc/manual/suselinux-adminguide_en/html/sec.update.version.html Still not very useful. Is there any way to force susehelp to display a meaningful page title or some search-result context? Are the results any more informative if susehelp is set up to work via web-server (ie http://localhost/susehelp)? Thanks, Andi -- AD Marshall eM: admarshall@gmail.com Web: http://h0lug.sourceforge.net Zone: ICT (IndoChina Time; GMT/UTC+7)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2005-07-22 at 21:21 +0700, AD Marshall wrote: You will get more answers if you don't hijack threads.
Are the results any more informative if susehelp is set up to work via web-server (ie http://localhost/susehelp)?
No, it fails on most searches on my system. The reason is this: # susehelpindex --show DOCUMENT: Show index state: ok : release-notes (Release Notes) ok : howto.en (HOWTOs english) ok : cups (cups) ok : openslp (Open SLP User Guide) ok : pythonhtml (Python) ok : selfhtml (Selfhtml) ok : books-lkmpg (Linux Kernel Module Programming Guide (Pt. 1)) ok : books-lkmpg2 (Linux Kernel Module Programming Guide (Pt. 2)) ok : pam (Documentation for Linux-PAM) ok : qt3 (QT 3 developer information) 10 indexable documents. The Suse admin book is not listed there, for example. I'm not sure how to tell it to create the indexes not listed above. Got it, in part; in file /usr/share/susehelp/meta/suselinux-adminguide_en/glossary.desktop I find: [Desktop Entry] Name=Glossary DocPath=/usr/share/doc/manual/suselinux-adminguide_en/html/glossary.html X-DOC-Weight=460 I added these two lines: X-DOC-SearchMethod=htdig X-DOC-DocumentType=text/html Then running "susehelpindex" creates the index for that one. I can now run manual searches on it ("search options" in the local browse page). But the global search still doesn't work, any search produces this output: Search Results for 'partition' Release Notes Documents 1 - 1 of 1 matches: * Release Notes for SUSE LINUX 9.3 (03/23/05) SUSE LINUX Administration Guide Htdig error: Unable to read configuration file <========================== which is the same result as always. Note: all that does not apply to kde help, I use apache (local doc server). - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFC4ZebtTMYHG2NR9URAt3rAJ936M/PKGi2c11Tk6yj/y2ADQXgZgCeNV9v QQKOmArrg6drMPA9ZWT2/zI= =Fl8N -----END PGP SIGNATURE-----
participants (6)
-
AD Marshall
-
Alfredo Cole
-
Andreas Philipp
-
Carlos E. R.
-
Johannes Meixner
-
Randall R Schulz