This forum has been archived. All content is frozen. Please use KDE Discuss instead.

(SOLVED) Ark file extraction issue in KDE 4.4

Tags: None
(comma "," separated)
kapz
Registered Member
Posts
25
Karma
0
Okay messed up my file association types earlier today, however I managed to get them back after a reboot. Now the Ark won't work as expected or as it used to. Also the icon for tar.gz has changed to silver zip icon(previously it was brown square icon with tar written on it.)

Thing is if I unpack a foo.tar.gz file within dolphin(using right click->extract archive here) it just partially decompresses the file, I then get the foo.tar file which again needs to be extracted.How can I restore it to work as default?

Many thanks.

Last edited by kapz on Mon Nov 29, 2010 1:02 am, edited 1 time in total.


ONLY KDE. Nothing else will do! It just..wont!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Does this work correctly under a new user?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
kapz
Registered Member
Posts
25
Karma
0
Hi, yes it works perfectly fine in a new user account.

I had try to mv my .kde folder to .kde-bak and reboot, all my settings were reset back to defaults however the Ark behaved the same, but in new user account it's working as it should, how?


ONLY KDE. Nothing else will do! It just..wont!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Look under ~/.local/share/applications for relevant files ( likely named "ark.desktop" or similar ) and delete them. It is safe to move your old ~/.kde4/ back in place (not while KDE is running though)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
kapz
Registered Member
Posts
25
Karma
0
Hi, I already did that, removed all possible ark related files from ~/.kde/
arkrc and the *.desktop file(however there was no ark.desktop found, tried locate as well but it didn't find it)

Bizarre thing is if I rename foo.tar.gz to foo.tar.bz2 it extracts all teh contents directly instead of two step process....any more ideas?

Or best option, can I somehow copy a default file association config file from kde(one used to create for new users, kind of like files in /etc/skel/)?

Thx


ONLY KDE. Nothing else will do! It just..wont!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Can you please post the output of "find ~/.local/"?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
kapz
Registered Member
Posts
25
Karma
0
    kapz@_SlackZ:~$ find ~/.local/
    /home/kapz/.local/
    /home/kapz/.local/screen-configurations.xml
    /home/kapz/.local/share
    /home/kapz/.local/share/user-places.xbel.tbcache
    /home/kapz/.local/share/akonadi
    /home/kapz/.local/share/akonadi/akonadi_control.error
    /home/kapz/.local/share/akonadi/db_misc
    /home/kapz/.local/share/akonadi/mysql.conf
    /home/kapz/.local/share/akonadi/file_db_data
    /home/kapz/.local/share/akonadi/db_data
    /home/kapz/.local/share/akonadi/db_data/mysql.err
    /home/kapz/.local/share/akonadi/db_data/mysql-bin.000004
    /home/kapz/.local/share/akonadi/db_data/mysql-bin.000002
    /home/kapz/.local/share/akonadi/db_data/akonadi
    /home/kapz/.local/share/akonadi/db_data/akonadi/pimitemtable.frm
    /home/kapz/.local/share/akonadi/db_data/akonadi/schemaversiontable.frm
    /home/kapz/.local/share/akonadi/db_data/akonadi/pimitemflagrelation.frm
    /home/kapz/.local/share/akonadi/db_data/akonadi/flagtable.frm
    /home/kapz/.local/share/akonadi/db_data/akonadi/db.opt
    /home/kapz/.local/share/akonadi/db_data/akonadi/collectionpimitemrelation.ibd
    /home/kapz/.local/share/akonadi/db_data/akonadi/parttable.frm
    /home/kapz/.local/share/akonadi/db_data/akonadi/collectiontable.frm
    /home/kapz/.local/share/akonadi/db_data/akonadi/mimetypetable.ibd
    /home/kapz/.local/share/akonadi/db_data/akonadi/collectionattributetable.ibd
    /home/kapz/.local/share/akonadi/db_data/akonadi/collectiontable.ibd
    /home/kapz/.local/share/akonadi/db_data/akonadi/parttable.ibd
    /home/kapz/.local/share/akonadi/db_data/akonadi/pimitemtable.ibd
    /home/kapz/.local/share/akonadi/db_data/akonadi/resourcetable.ibd
    /home/kapz/.local/share/akonadi/db_data/akonadi/collectionattributetable.frm
    /home/kapz/.local/share/akonadi/db_data/akonadi/resourcetable.frm
    /home/kapz/.local/share/akonadi/db_data/akonadi/collectionmimetyperelation.ibd
    /home/kapz/.local/share/akonadi/db_data/akonadi/collectionpimitemrelation.frm
    /home/kapz/.local/share/akonadi/db_data/akonadi/collectionmimetyperelation.frm
    /home/kapz/.local/share/akonadi/db_data/akonadi/pimitemflagrelation.ibd
    /home/kapz/.local/share/akonadi/db_data/akonadi/schemaversiontable.ibd
    /home/kapz/.local/share/akonadi/db_data/akonadi/flagtable.ibd
    /home/kapz/.local/share/akonadi/db_data/akonadi/mimetypetable.frm
    /home/kapz/.local/share/akonadi/db_data/ib_logfile0
    /home/kapz/.local/share/akonadi/db_data/ib_logfile1
    /home/kapz/.local/share/akonadi/db_data/mysql-bin.000003
    /home/kapz/.local/share/akonadi/db_data/mysql-bin.index
    /home/kapz/.local/share/akonadi/db_data/mysql-bin.000001
    /home/kapz/.local/share/akonadi/db_data/ibdata1
    /home/kapz/.local/share/akonadi/db_data/mysql.err.old
    /home/kapz/.local/share/akonadi/akonadiserver.error
    /home/kapz/.local/share/vlc
    /home/kapz/.local/share/vlc/ml.xspf
    /home/kapz/.local/share/mime
    /home/kapz/.local/share/mime/XMLnamespaces
    /home/kapz/.local/share/mime/globs
    /home/kapz/.local/share/mime/globs2
    /home/kapz/.local/share/mime/icons
    /home/kapz/.local/share/mime/audio
    /home/kapz/.local/share/mime/audio/webm.xml
    /home/kapz/.local/share/mime/audio/mpeg.xml
    /home/kapz/.local/share/mime/generic-icons
    /home/kapz/.local/share/mime/aliases
    /home/kapz/.local/share/mime/video
    /home/kapz/.local/share/mime/video/dv.xml
    /home/kapz/.local/share/mime/video/mpeg-system.xml
    /home/kapz/.local/share/mime/video/divx.xml
    /home/kapz/.local/share/mime/video/webm.xml
    /home/kapz/.local/share/mime/video/x-matroska.xml
    /home/kapz/.local/share/mime/video/x-msvideo.xml
    /home/kapz/.local/share/mime/video/mpeg.xml
    /home/kapz/.local/share/mime/video/x-mpeg-system.xml
    /home/kapz/.local/share/mime/video/x-mpeg.xml
    /home/kapz/.local/share/mime/video/x-ms-asf-plugin.xml
    /home/kapz/.local/share/mime/video/mp4.xml
    /home/kapz/.local/share/mime/magic
    /home/kapz/.local/share/mime/mime.cache
    /home/kapz/.local/share/mime/treemagic
    /home/kapz/.local/share/mime/application
    /home/kapz/.local/share/mime/application/x-java-bean.xml
    /home/kapz/.local/share/mime/application/x-vlc-plugin.xml
    /home/kapz/.local/share/mime/application/x-google-vlc-plugin.xml
    /home/kapz/.local/share/mime/application/vnd.rn-realmedia.xml
    /home/kapz/.local/share/mime/application/x-java-vm-npruntime.xml
    /home/kapz/.local/share/mime/application/x-java-vm.xml
    /home/kapz/.local/share/mime/application/x-tar.xml
    /home/kapz/.local/share/mime/application/vnd.stardivision.impress-packed.xml
    /home/kapz/.local/share/mime/application/vnd.stardivision.writer-global.xml
    /home/kapz/.local/share/mime/application/vnd.staroffice.writer.xml
    /home/kapz/.local/share/mime/application/mpeg4-iod.xml
    /home/kapz/.local/share/mime/application/x-skype.xml
    /home/kapz/.local/share/mime/application/mpeg4-muxcodetable.xml
    /home/kapz/.local/share/mime/application/x-gzip.xml
    /home/kapz/.local/share/mime/types
    /home/kapz/.local/share/mime/packages
    /home/kapz/.local/share/mime/packages/video-x-mpeg.xml
    /home/kapz/.local/share/mime/packages/application-x-java-bean.xml
    /home/kapz/.local/share/mime/packages/application-mpeg4-muxcodetable.xml
    /home/kapz/.local/share/mime/packages/text-plain.xml
    /home/kapz/.local/share/mime/packages/application-x-tar.xml
    /home/kapz/.local/share/mime/packages/video-x-mpeg-system.xml
    /home/kapz/.local/share/mime/packages/application-vnd.stardivision.impress-packed.xml
    /home/kapz/.local/share/mime/packages/video-x-matroska.xml
    /home/kapz/.local/share/mime/packages/application-vnd.staroffice.writer.xml
    /home/kapz/.local/share/mime/packages/video-divx.xml
    /home/kapz/.local/share/mime/packages/application-mpeg4-iod.xml
    /home/kapz/.local/share/mime/packages/video-x-ms-asf-plugin.xml
    /home/kapz/.local/share/mime/packages/application-vnd.stardivision.writer-global.xml
    /home/kapz/.local/share/mime/packages/audio-webm.xml
    /home/kapz/.local/share/mime/packages/application-x-vlc-plugin.xml
    /home/kapz/.local/share/mime/packages/video-mpeg-system.xml
    /home/kapz/.local/share/mime/packages/video-x-msvideo.xml
    /home/kapz/.local/share/mime/packages/video-webm.xml
    /home/kapz/.local/share/mime/packages/application-vnd.rn-realmedia.xml
    /home/kapz/.local/share/mime/packages/application-x-java-vm-npruntime.xml
    /home/kapz/.local/share/mime/packages/video-mp4.xml
    /home/kapz/.local/share/mime/packages/audio-mpeg.xml
    /home/kapz/.local/share/mime/packages/application-x-google-vlc-plugin.xml
    /home/kapz/.local/share/mime/packages/video-mpeg.xml
    /home/kapz/.local/share/mime/packages/application-x-java-vm.xml
    /home/kapz/.local/share/mime/packages/application-x-skype.xml
    /home/kapz/.local/share/mime/packages/application-x-gzip.xml
    /home/kapz/.local/share/mime/packages/video-dv.xml
    /home/kapz/.local/share/mime/subclasses
    /home/kapz/.local/share/mime/text
    /home/kapz/.local/share/mime/text/plain.xml
    /home/kapz/.local/share/user-places.xbel.bak
    /home/kapz/.local/share/Trash
    /home/kapz/.local/share/Trash/metadata
    /home/kapz/.local/share/Trash/files
    /home/kapz/.local/share/Trash/info
    /home/kapz/.local/share/local-mail
    /home/kapz/.local/share/local-mail/tmp
    /home/kapz/.local/share/local-mail/cur
    /home/kapz/.local/share/local-mail/new
    /home/kapz/.local/share/user-places.xbel
    /home/kapz/.local/share/.local-mail.directory
    /home/kapz/.local/share/.local-mail.directory/outbox
    /home/kapz/.local/share/.local-mail.directory/outbox/tmp
    /home/kapz/.local/share/.local-mail.directory/outbox/cur
    /home/kapz/.local/share/.local-mail.directory/outbox/new
    /home/kapz/.local/share/audacious
    /home/kapz/.local/share/audacious/Skins
    /home/kapz/.local/share/audacious/Plugins
    /home/kapz/.local/share/gegl-0.0
    /home/kapz/.local/share/gegl-0.0/plug-ins
    /home/kapz/.local/share/gegl-0.0/plug-ins/Makefile
    /home/kapz/.local/share/applications
    /home/kapz/.local/share/applications/mimeapps.list
    kapz@_SlackZ:~$


ONLY KDE. Nothing else will do! It just..wont!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
from ~/.local/share/mime please remove any files containing "tar" or "gzip" in their name. Then run "kbuildsycoca4 --noincremental"


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
kapz
Registered Member
Posts
25
Karma
0
from ~/.local/share/mime please remove any files containing "tar" or "gzip" in their name.


Well there wasn't any file in mime folder/subfolders which had tar or gz in their name. I ran the command, it completed with a long output message, then rebooted the system and... it still remains the same.

I would like to add that the tar.gz icon has another small zip icon on it, which cannot be seen normally or in new account.


ONLY KDE. Nothing else will do! It just..wont!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I was referring to the following files, which are located in sub-directories of ~/.local/share/mime
Code: Select all
application-x-gzip.xml
application-x-tar.xml
x-gzip.xml
x-tar.xml


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
kapz
Registered Member
Posts
25
Karma
0
oh those, I found and deleted them :<

ran command again, logged out and back in. Now the icon has changed the colour to silver icon with a zip, however it still has a small zip icon on it and still it won't extract in single step, it extracts the tar out of tar.gz, then again tar has to be extracted... ???


ONLY KDE. Nothing else will do! It just..wont!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please remove the various files in ~/.local/share/mime (but not the folders!) outside of KDE, then log in.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
kapz
Registered Member
Posts
25
Karma
0
You THE MAN mate!!!!!

That solved the problem completely. Thanks a TON :) :) :)

Thanks ever so much.

cheers,
kapz


ONLY KDE. Nothing else will do! It just..wont!


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar