3

I have install p7zip-full and p7zip-rar packages to help me in this situation, but default archive of Ubuntu file-roller can not open "Windows 7 theme pack" files, which uses .themepack extensions. How can I open this type of file or is there any known method to do that in Ubuntu. In Windows "7zip" program can open this kind of file easily. I am using Ubuntu 11.10

Anwar
  • 77,855

4 Answers4

4

After trying several hours and links, I think, I've finally got the right solution, that allow me to open a .themepack file with file-roller.

  1. First install cabextract package, by entering the command on terminal.
    • Press super+a key on Unity, type terminal on dash and click on the terminal icon.
    • Type sudo apt-get install cabextract command on the terminal, provide your password and hit enter.
  2. Then type again in the terminal sudo apt-get install assogiate, this will install the assogiate program on computer. (alternatively, you can install it through "Software Center".

  3. Then open the assogiate program, by pressing alt+f2 and typing assogiate on the 'Run a command' box.

    • This will open assogiate program in graphical window. On the left hand side pane, click on Search Results. then type cab on the bottom text box on the right pane.
    • Double Click on the desired application name. ( In this case, it is vnd.ms-cab-compressed ).
    • On the new Edit type application/vnd.ms-cab-compressed window, Click on Filenames tab. Then click on Add button, type *.themepack on the new Add filename rule dialog window. Click close, and then Exit the program.

Now you should open any *.themepack extensions file with file-roller just like any other compressed tar, zip etc files.

If you want this settings persists globally (system wide), you should open the program in the step 2 as gksu assogiate, all other procedure is same.

Credit goes to MistreLion, answerer of this post.


Update

I recently upgraded my Ubuntu to 12.04 and in this version, you need only to install p7zip-full package.

Open a terminal, type the following command , provide password and hit enter. That's the all required (of course, after connecting to the internet).

sudo apt-get install p7zip-full

Anwar
  • 77,855
3

A .themepack file for Windows 7 is actually a CAB archive (like a .cab file). You can open such a file with cabextract. To get it, install the cabextract package.

Then either run cabextract name.themepack (replacing name with the name of the theme pack filename before the .themepack extension), or configure the Archive Manager to open .cab files and open it graphically from Nautilus.

Eliah Kagan
  • 119,640
2

If you change the .themepack extension to .lzx, the preinstalled Archive Manager can extract if just fine. (Thanks to 7zip for dispaying the compression type in its file list.)

However, MistreLion's solution would avoid the annoyance of renaming a file each time. (I simply prefer not to install additional software on my system if I don't need to.)

If there's a way to make Archive Manager aware that the .themepack extension is actually .lzx, it would be a far more elegant approach.

0

If you download a file with a themepack extension, to use the images all you have to do is extract the contents using cabextract. Nothing else is needed.