File extension: help with embedding krpmview in konqueror when previewing *.rpm ?
Hi list. I broke something while doing light tinkering: Previewing of *.rpms inside Konqueror? Can someone give me a tip how to restore this embedding/ service using 'krpmview'? Current setup: File extension: *.rpm [General Tab] Application preference: 'File Manager' (executes: kfmclient openProfile filemanagement) [Embedding Tab] (show file in embedded viewer checked) Service Preference Order : 'none' ..thats the problem: 'Add...' shows me "services" (also called plugins?) to use, but krpmview is not listed as an available service to choose from? ...ideas? All I know is that 'krpmview' is indeed in /opt/kde3/share/apps/krpmview/ But I disabled this service BY MISTAKE.. -- Suse Linux 9.0 | 2.4.21-144-smp4G | KDE 3.1.4 | XFree86 v4.3.0.1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 11 December 2003 02:26 pm, Jaan Kold wrote: - -----------snip------------
All I know is that 'krpmview' is indeed in /opt/kde3/share/apps/krpmview/
But I disabled this service BY MISTAKE..
Assuming you did not remove the rpm containing krpmview just open the "file associations" tab, track down the entry for x-rpm and select it click the embedding tab If krpmview is not listed there then click add, a list will appear from which you can choose KRPMView click ok make sure show in embedded viewer is checked click apply and ok Bob's your uncle see ya - -- dh Don't shop at ZipZoomFly.com (GoogleGear.com!) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/2PSBBwgxlylUsJARAp7ZAJ96HMwk9qPK7UMEN1tvnqbRHVNtCQCeOGrJ KMCpJOduDgxJWzEAWZEvkEw= =RXZf -----END PGP SIGNATURE-----
On Thursday 11 December 2003 23:49, David Herman wrote:
On Thursday 11 December 2003 02:26 pm, Jaan Kold wrote: -----------snip------------
All I know is that 'krpmview' is indeed in /opt/kde3/share/apps/krpmview/
But I disabled this service BY MISTAKE..
Assuming you did not remove the rpm containing krpmview just open the "file associations" tab, track down the entry for x-rpm and select it click the embedding tab If krpmview is not listed there then click add, a list will appear from which you can choose KRPMView click ok make sure show in embedded viewer is checked click apply and ok Bob's your uncle
see ya
Indeed I know exactly what you are talking about..but I have a sneaky suspicion that this is buggy? Ive succeded even in breaking another service: KHTML.. so Konqueror wont work as a browser anymore..just renders with as an embedded text editor.. so I'm abit miffed.. Yes, two "services" refuse to make themselves available to me: KRMPview and KHTML...I don't get this... I did fire up KDE as root (dont touch anything) so I do see how it is supposed to work and be associated. How do you convince these two services make themselves available again..is the question. I did think of running /sbin/SuSEconfig: ATTENTION: You have modified /etc/opt/kde3/share/config/kdm//kdmrc. Leaving it untouched... You can find my version in /etc/opt/kde3/share/config/kdm//kdmrc.SuSEconfig... .I'll carefully try and see if I can repair this.. jk -- Suse Linux 9.0 | 2.4.21-144-smp4G | KDE 3.1.4 | XFree86 v4.3.0.1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 11 December 2003 03:44 pm, Jaan Kold wrote:
On Thursday 11 December 2003 23:49, David Herman wrote:
On Thursday 11 December 2003 02:26 pm, Jaan Kold wrote: -----------snip------------
Indeed I know exactly what you are talking about..but I have a sneaky suspicion that this is buggy? Ive succeded even in breaking another service: KHTML.. so Konqueror wont work as a browser anymore..just renders with as an embedded text editor.. so I'm abit miffed..
Yes, two "services" refuse to make themselves available to me: KRMPview and KHTML...I don't get this...
I did fire up KDE as root (dont touch anything) so I do see how it is supposed to work and be associated. How do you convince these two services make themselves available again..is the question.
Have you done a KDE upgrade recently, more info on what you did before the error would be helpful (to somebody smarter than I hopefully)
I did think of running /sbin/SuSEconfig:
As far as I know running /sbin/SuSEconfig will never do any harm in itself.
ATTENTION: You have modified /etc/opt/kde3/share/config/kdm//kdmrc. Leaving it untouched... You can find my version in /etc/opt/kde3/share/config/kdm//kdmrc.SuSEconfig...
Just means that there since you edited the file, SuSE won't mess with it. If you have installed a new version of the program associated w/ the file then there maybe new options available, so you should compare the files for yourself. That said, it is highly unlikely that the kdmrc file is your problem. (I'm not much w/ the command line, there is undoubtably an easier way to do what I'm about to describe) I'd try logging out of kde, log in w/ another window manager or tty rename /home/YOUR LOGIN/.kde/share/mimelnk to /home/YOUR LOGIN/.kde/share/mimelnkBAK (rename rather than delete, then your changes are reversible if you don't like them) then log out and back in to kde, your mimetypes SHOULD reset themself to the defaults. I just tried this on a test login I have and it appeared to work, you will lose your mimetype customizations but that's what you're trying to do. You can add them back in as needed. Hope this helps, if not then send the list more info about how you got into this mess - -- dh Don't shop at ZipZoomFly.com (GoogleGear.com!) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/2VblBwgxlylUsJARArqGAJ9e1nZvnmEtTpfXAoyY6/JPBktd8QCgh8rh EhVmeVWSgvfKjL/v3a2yzrw= =4/AN -----END PGP SIGNATURE-----
On Friday 12 December 2003 06:49, David Herman wrote:
Have you done a KDE upgrade recently, more info on what you did before the error would be helpful (to somebody smarter than I hopefully)
(I'm not much w/ the command line, there is undoubtably an easier way to do what I'm about to describe)
I'd try logging out of kde, log in w/ another window manager or tty
rename /home/YOUR LOGIN/.kde/share/mimelnk to /home/YOUR LOGIN/.kde/share/mimelnkBAK
(rename rather than delete, then your changes are reversible if you don't like them)
then log out and back in to kde, your mimetypes SHOULD reset themself to the defaults.
I just tried this on a test login I have and it appeared to work, you will lose your mimetype customizations but that's what you're trying to do. You can add them back in as needed.
Hope this helps, if not then send the list more info about how you got into this mess
It seems like I actually succeeded getting myself out of this mess: I was thinking that the global KDE settings for services in /opt/kde3/..and so on..do indeed have these "services" working properly (as root) and obviously my own ~/.kde/ directory for the meantioned services (KRMPview and KHTML) are corrupt defective: So thats what I did: i simply found the same directory structure and files on each side (globally in /opt/kde3/.. and in my own ~/.kde/..), and copied the respective xxxx.desktop file in a subdir "../services" over to my home.. ...after that I simply ran 'kbuildsycoca --noincremental' to rebuild the entire cached database.. and VOILA! It works again.. :-) For the heck of it here are the directories: left is my home and the right side is /opt/kde3.. I just dragged over the broken xxxx.desktop files. http://www.bostreammail.com/kalev/more/repaired_services.png PS: I still can't really explain what I did that made existing services vanish on me *so easily* in the first place. All I know is that I will NOT touch any existing services for a LONG time.. I'l take the blame for it sure..but it seemed too "touchy" than it should.. :-) jk -- Suse Linux 9.0 | 2.4.21-144-smp4G | KDE 3.1.4 | XFree86 v4.3.0.1
participants (2)
-
David Herman
-
Jaan Kold