Results 1 to 7 of 7

Thread: 12.04 How do I easily change default applications?

  1. #1
    Join Date
    Sep 2007
    Beans
    223
    Distro
    Ubuntu

    12.04 How do I easily change default applications?

    I can't believe I've spent an hour trying to figure out how to simply change a default application in 12.02.

    Before (10.10) it was simple to set/change this in Nautilus. Choosing Open with and using a different application doesn't give me the option to change. Can't do it in Ubuntu Tweak anymore (and Tweak really sucks now).

    In 12.04 you can choose System Setting>Display and change 5 types of file. (CD, DVD, photos, music, software).

    All I want to do is change .cbr from Evince to Comix.

    Holy ****, why are simple things getting hard in Ubuntu?

    This question pertains to this type of question generally, how to set/change the application for file-types outside the basic 5 listed.
    Donal
    Ireland
    Registered Linux User #477443

  2. #2
    Join Date
    Apr 2012
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 12.04 How do I easily change default applications?

    Quote Originally Posted by Donalb View Post
    I can't believe I've spent an hour trying to figure out how to simply change a default application in 12.02.

    Before (10.10) it was simple to set/change this in Nautilus. Choosing Open with and using a different application doesn't give me the option to change. Can't do it in Ubuntu Tweak anymore (and Tweak really sucks now).

    In 12.04 you can choose System Setting>Display and change 5 types of file. (CD, DVD, photos, music, software).

    All I want to do is change .cbr from Evince to Comix.

    Holy ****, why are simple things getting hard in Ubuntu?

    This question pertains to this type of question generally, how to set/change the application for file-types outside the basic 5 listed.
    Click on the file, go to "properties";

    There is always a way, but it might not be the best way, or your way!

  3. #3
    Join Date
    Mar 2008
    Beans
    104

    Re: 12.04 How do I easily change default applications?

    Isn't there an "add" option at the bottom of the "Open With" menu?

    You can manually change your associations, as this link shows, to set .cbr files to open with Comix.

    How to manually add .cbr files to Comix:

    Code:
    grep -inr cbr *
    This will find the Evince association

    It should look something like evince.desktop
    Code:
    sudo find / -iname evince.desktop
    Next you'll copy your Evince settings over to Comix
    Code:
    sudo cp /usr/share/applications/evince.desktop /usr/share/applications/comix.desktop
    Now edit the file comix.desktop and change the following lines:
    Exec=evince %U
    Name=Evince
    TO
    Exec=comix %U
    Name=Comix

    If you are unhappy with your desktop environment (I assume it is Unity), I'd recommend looking into xfce4: It is a wonderful, easy to configure window manager you can try out simply by installing and logging in.
    Arch i686 - Eee 701 Server Ram 2gb HD 4gb ext2/no swap
    Arch i686 - Dell Mini 10v Ram 1gb HD 160gb ext4/ext3/ext2
    Ubuntu LTS and Debian Squeeze Servers

  4. #4
    Join Date
    May 2005
    Location
    Indiana
    Beans
    1,933
    Distro
    Hardy Heron (Ubuntu Development)

    Re: 12.04 How do I easily change default applications?

    Like you've already probably tried, you can find a .cbr file in Nautilus, right click and choose Properties, click the Open With tab, and click where it says "Show other applications". If Comix is in the list, you can set it as the default. Up until Ubuntu 11.10, you used to be able to add a custom command for apps not in the list. When they switched to Gnome3, that disappeared because it's not built into Gnome3 yet.

    I'm surprised Comix doesn't show up in the list, because it shows up in mine. But if it doesn't show up in the list, you can add it manually through the terminal. Please redo my first paragraph and make sure that Comix isn't in the list before proceeding. Open your terminal, and CD to a folder that has a .cbr file. Then type
    Code:
    mimeopen -d filename.cbr
    Substituting the name of your file. In the menu that it shows, enter whatever number says "Other" to enter a custom command. Then in your custom command, this should work
    Code:
    comix %f
    After you do this, Comix should show up in the Open With app list in Nautilus. Again, I'm surprised it's not already there.
    Last edited by forrestcupp; June 12th, 2012 at 01:06 AM.
    Today you are You, that is truer than true. There is no one alive who is Youer than You. - Dr. Seuss

  5. #5
    Join Date
    Apr 2008
    Beans
    84

    Re: 12.04 How do I easily change default applications?

    Quote Originally Posted by Donalb View Post
    I can't believe I've spent an hour trying to figure out how to simply change a default application in 12.02.

    Before (10.10) it was simple to set/change this in Nautilus. Choosing Open with and using a different application doesn't give me the option to change. Can't do it in Ubuntu Tweak anymore (and Tweak really sucks now).

    In 12.04 you can choose System Setting>Display and change 5 types of file. (CD, DVD, photos, music, software).

    All I want to do is change .cbr from Evince to Comix.

    Holy ****, why are simple things getting hard in Ubuntu?

    This question pertains to this type of question generally, how to set/change the application for file-types outside the basic 5 listed.
    seen a programme called defaults configurator in the softwear manager ok dude.
    COMES UP AS DETAILS SETTINGS ITS IN THERE (wizz to corner top left with mouse type default or just def and pick details settings icon).
    Last edited by freackout; July 3rd, 2012 at 06:17 AM.

  6. #6
    Join Date
    Jun 2007
    Location
    Vienna, Austria
    Beans
    64
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: 12.04 How do I easily change default applications?

    Thanks forrestcupp, that worked! I'm on xubuntu 12.04 and I had the same issues. All kind of crazy stuff shows up among possible applications but neither kile for .tex nor evince for .pdf.

    I really thought we were past this kind of hacking, but to be quite honest: This is the most troublesome installation in years! 10.04 was a mere afternoon, with 12.04 I'm in the second day (including all the customisations). What the frog.

  7. #7
    Join Date
    Nov 2012
    Beans
    1

    Re: 12.04 How do I easily change default applications?

    Thank you forrestcupp

    All i needed is your
    Code:
    mimeopen -d filename.cbr
    to change the open with of jar file using
    jexec
    Here is How i did,

    Issued command at terminal :

    Code:
    mimeopen -d ~/Downloads/javafx-samples2.2.3/Ensemble.jar
    the above command displayed a choice list of
    Code:
    1. ubuntu software center
    2. Archive mounter
    3. other
    i choose option 3 and issued following command :
    Code:
    /usr/lib/jvm/jdk1.7.0/lib/jexec
    command can be varied up on installation location and version of java/jdk.

    thanks a lot.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •