LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Konqueror - images in cache (https://www.linuxquestions.org/questions/linux-software-2/konqueror-images-in-cache-479051/)

lord_didger 08-31-2006 04:39 AM

Konqueror - images in cache
 
Where konqueror stores images which appear on web sites? Where is the cache direktory? It's supposed to be in ~/.kde, but I don't have it.

Emerson 08-31-2006 06:13 AM

I have KDE in my wife's box, here's the output of ls -l
Code:

bunny ~ # ls -l /home/sarah/.kde/
total 8
drwx------ 2 sarah users 4096 2006-07-22 19:49 Autostart
lrwxrwxrwx 1 sarah users  23 2006-07-22 19:47 cache-bunny -> /var/tmp/kdecache-sarah
drwx------ 9 sarah users 4096 2006-07-23 19:36 share
lrwxrwxrwx 1 sarah users  18 2006-07-22 19:47 socket-bunny -> /tmp/ksocket-sarah
lrwxrwxrwx 1 sarah users  14 2006-07-22 19:47 tmp-bunny -> /tmp/kde-sarah


lord_didger 08-31-2006 12:32 PM

Ops. I did't notice that. However it isn't a matter of where the directory is, but where konqueror stores files which appear on web sites. I'd like to know where I should look for images that I can see in konqueror's window.

Emerson 08-31-2006 12:37 PM

/var/tmp/kdecache-YOURUSER/http looks like a good candidate.

lord_didger 08-31-2006 01:32 PM

but ther are no files with ending like gif or jpg etc.

madluther 08-31-2006 02:02 PM

They may be in ~/.thumbnails

Mad.

dive 08-31-2006 02:07 PM

Try /var/tmp/kdecache-sarah/http/

There are a number of cache folders with files but you will have to edit+rename them in a text editor to convert them to gif, jpg etc

lord_didger 08-31-2006 02:43 PM

I tried. Content of one file looks like that:

Quote:

7
http://www.pwsz.legnica.edu.pl/~robs/OBRAZ/tlo.jpg
1156978328
1167997202
"96843-8b0-3e64bd93"
Tue, 04 Mar 2003 14:52:03 GMT
image/jpeg

˙Ř˙ŕ
and name is "www.pwsz.legnica.edu.pl_~robs_OBRAZ_tlo.jpg_34b52e3e"

(it's really all) file has 2.3 KB (nice), but when I copy the content and paste it into blank file it has only 153 B!

Moreover, I tried to change the content and name so as to make it possible to open in gqview, but I did't manage.

dive 08-31-2006 02:53 PM

OK do not copy/paste - try this:

cd to dir
open file in fav text editor (not word processor must be text) - I use vim.
looks like:

Code:

7
 http://ads.hub.org/bcache/20_4.gif
 1156894095
 1157807891
 "667545-2c28-44695e59"
 Tue, 16 May 2006 05:08:41 GMT
 image/gif

 GIF89ax^@x^@Õ?^@óòöpnn¦¢ÎMLLÎÌÌ'''§§§·¶¶766'3<88><98><98><98>LI<98>yq²<88><87><87> 92><8c>Â?;<90>\T<9f><8d><8c><8c>@E<84>åãñyxx<9d><9c><9c>«««][[¾»Û05l¼»»UTT;;;EEE£££ <9f><9f>+++³±±¿¿¿222³³²ÙØÜÅÄÄfdd<94><93><94>®®®èçè!!!^^^^^^000###^_^_^_///...< ??80<89>81<89>ÿÿÿÿÿÿ!ÿ^KNETSCAPE2.0^C^A^@^@^@!ù^D^E<90>^A?^@,^@^@^@^@x^@x^@^@^Fÿ@<9f>pH,^Z :<9f>ШtJ*Z¯Ø¬vËíz¿Ë<85>ÅBa^QÎè´zÍn»ßë^U¸jI$^V0<80>~Ïïûÿ<80><81><82>}0rsSuw^ b><8f> etc...

delete whole lines down to blank line after info so the first line is the part that starts 'GIF89'
save it as test.gif
close editor
xv test.gif

lord_didger 09-01-2006 06:15 AM

Thanks a lot.


All times are GMT -5. The time now is 04:54 AM.