[SOLVED]Gui for changing file associations

hello everyone!
i use openbox as WM, thunar as my filebrowser and chromium as my webbrowser.
i ran into the following issue:
everytime i download something with chrome and click on the entry displayed on the bottom it mostly does not do anything. but i found out that it queries
xdg-open
which then reads
~/.local/share/applications/defaults.list
which seems very logical to mee since this is a very centralized approach in opening files. this way thunar and chrome use the same apps. but it seems pretty cumbersome to me to type every file-type into this file.
i found out that thunar is able to add entries into this file by selecting an application manually to always use this application for this kind of file.
but is there any way that i can select file-roller for example for ALL archives and add ALL those entries into defaults.list? or all media-files to be opened with vlc since this is my only media-player anyway. thunar is not the issue here but chrome is :-)
i know that ubuntu-tweak has got something in this direction but this does not work on arch :-(
so is there any gui or something that allows me to populate defaults.list in an easy manner?
thanks in advance!
Last edited by Labello (2010-08-08 14:04:58)

Sorry for the hassle.
I found a solution and added it to the OpenBox-article in the wiki:
http://wiki.archlinux.org/index.php/Ope … sociations

Similar Messages

  • Can I mass-change file associations?

    On a Win7 I installed CS4 and CC. However, Bridge CC (although installed last) has *all* files associated with CS4. Which of course makes my life very difficult right now. Is there a way to massively change file associations in Bridge CC? I've done it many many times one-by-one in the past, and I really don't want to do it again.
    Thanks

    Yes, if you want to mess with registry.  Try this solution for CS6, but use CS4.  Will be slightly differenct as CS4 was 32 bit program.
    HKEY_CURRENT_USER\Software\Classes\Applications\Photoshop.exe\shell\op en\command
    This key was set to the path for Photoshop CS6 when it should have been set to Photoshop CC.
    In other words, in my case, it was set to:
    "C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Photoshop.exe" "%1"
    When I changed the CS6 to a CC, in other words, so the whole key reads:
    "C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Photoshop.exe" "%1"

  • Changing file associations for Stuffit

    Soooo, I tried opening a BIN file using Stuffit Expander (well, indirectly using it by opening the file from Firefox), but because the VLC Media Player has changed the file associations so that by default it opens them, I can't open it (and for the record, the BIN file in question is the install file for AIM, direct from the AIM website...I'm downloading it as a backup for file transfers). Because Stuffit seems to be integrated within the kernel (as opposed to being a separate program), I can't go about changing the file associations the normal way. Is there a way for me to do it without uninstalling VLC?

    Stuffit Expander is a separate program. You can get it here.

  • [SOLVED] Permission for a file is changing after reboot

    I know it may seem to you like a silly question, but it's a terrible problem for me. I tried to change permission for a file using chmod 660 and it changed of course ( I did it as a root ), but after reboot it resumed to the previous state. It's rather critical file form /proc/acpi/video/... and I need it for brightness manipulation. It's a file with a direct access to my hardware, so I think there's somewhere protection mechanism in Arch and I don't know what should I change.
    Thanks in advance
    Last edited by Gooru (2010-10-25 17:43:03)

    Although this works, surely changing the permissions on every boot is a little backwards.
    As far as I'm aware it's permissions are set like that for a reason - it's a hardware control and as such should only be touched with privileged permissions (root). The 'real' way to do this would probably be to use sudo and set up the sudoers file such that you don't need to use a password as a regular user.
    That's just my two cents though... and if I'm honest, it's just me being really pedantic you can do it how you like!

  • Do I have to change file associations in Windows 7 one at a time?

    I changed my ancient Paint Shop Pro for Elements 11 but the file associations are still PSP. I can change them one at a time but that will take forever! Is there a way to associate all the appropriate files in one go?  I managed it many years ago in PSP and Windows XP but have no idea how; I'm hoping someone will know. Thank you.

    ok.
    You can add to this menu.
    See this, method 2:
    http://www.vistax64.com/tutorials/126340-open-add-program.html

  • Change file association

    Hi,
    Does anyone know how to globally change the file association of a file type.
    I work with Adobe Flash which uses actionscript (.as) files (text files). I've recently started using Eclipse which is a Java IDE and an actionscript plugin (FDT).
    For some reasons it's saving out my .as files as something different. They still work within Flash but not with Apple's quicklook...
    In the terminal I've noticed that 'file' returns 'Java program text'.
    eg.
    $ file Main.as
    Main.as: UTF-8 Unicode Java program text, with CR line terminators
    This is the same within all user accounts on my machine... however on another another Macbook it returns,
    UTF-8 Unicode English text, with CR line terminators
    Any idea how I can convert all my .as files to 'English text' so that they work with Quicklook.
    TIA

    Sorry I misunderstood your question earlier.
    I did a little research into how QuickLook works. Different file types are handled by "qlgenerator" files (which are actually packages). You can install new ones in /System/Library/QuickLook or /System/QuickLook. The default ones live in /System/Library/Frameworks/QuickLook.framework/Versions/A/Resources/Generators .
    Each qlgenerator contains an info.plist file that appears to define which file types it handles in the CFBundleDocumentTypes property. I'm not sure what format they're in, though, because they look like "com.apple.rtfd" and "com.microsoft.word.doc".
    Text.qlgenerator is the one that handles text files and others that TextEdit can view (such as rtf and doc). I bet you could make a copy of it into System/Library/QuickLook and edit its info.plist file to handle your file type(s).

  • Can't change file associations

    I can't seem to change the file associations for quicktime. The checkboxes are greyed out so I can't deselect them.
    I have tried un-installing and re-installing both quicktime itself and itunes but am not asked which files to associate during installation of either. I have also tried un-installing and running the windows cleanup utility but it doesn't show any quicktime entry and when I re-install the file types are still greyed out.
    Anyone got any ideas.

    This could be caused by damaged QuickTime preference files (or possibly a permissions problem on the preferences files).
    We can try rebuilding one set of your preference files to see if that helps with the greyed-out stuff.
    First, quit QuickTime if you have it open.
    Next, you'll need to make sure you are set up to view hidden files and folders in Vista (or 7).
    1. From the Start menu, click Open.
    2. In the Organize menu, click Folder and Search Options.
    3. Click the View tab.
    4. In the "Advanced settings" pane under "Hidden files and folders" make sure that the "Show hidden files and folders" option is selected.
    5. Click OK.
    Next, you'll remove the QuickTime preference folder (and contained file).
    6. In Computer, open Local Disk: C or whichever drive your documents are stored on.
    7. Open the Users folder.
    8. Open the folder with the name of the Windows 7 user account in which the QuickTime file types are "greyed out".
    9. Open the AppData folder.
    10. Open the Local folder.
    11. Open the Apple Computer folder.
    12. Drag the QuickTime folder out onto the Desktop.
    Now you'll rebuild the preference folder and file.
    13. Launch QuickTime. Check your file types again.
    Are they still greyed out, or can you change them now?

  • I cannot globally change file associations

    I used to have Aquamacs installed. All .tex files were associated with Aquamacs. Later, I uninstalled Aquamacs and installed Textmate. I'd like to have all .tex files associated with Textmate.
    To do this I went to a .tex file in the Finder, right clicked for More Info, went down to Open With and changed the associated app in the dropdown box from AquaMacs to Textmate. I then clicked "Change All...".
    I would now expect that all .tex files on my machine open by default with Textmate, however this is not the case. Some of the .tex files open with Textmate; others still have the old Aquamacs associated. There is no discernible pattern as to why "Change All..." worked for some files but not others. I thought maybe the Finder process needed to be restarted for the global change to take effect, but I've restarted my computer and the old associations are still there.
    What I'm doing now is going through my harddrive hunting for files to change on a file by file basis. But this is frustrating and seems like the sort of busywork
    1. Is this a bug?
    2. Is there a way to force "Change All..." to actually affect all of the files?
    3. Is there a way to remove Aquamacs from all Open With options? Since this program has been uninstalled, it seems like a bug for it to appear as an option at all.
    Thanks.
    Mac Mini Duo 1.66 GHz, 2 GB   Mac OS X (10.4.8)  

    Bill
    The following Terminal commands will reset your Launch Services database, which should remove Aquamacs from the "Open With …" lists, and should then allow you to use the "Change All …" button.
    Open the Terminal (from /Applications/Utilities) and copy and paste the following into the Terminal window, one line at a time, with a return after each line:
    cd /System/Library/Frameworks/ApplicationServices.framework/Frameworks
    cd LaunchServices.framework/Support
    lsregister -kill -r -domain local -domain system -domain user
    rm -f /LibraryCaches/com.apple.LaunchServices-014*.csstore
    killall FinderThe last command will force a restart of the Finder (so you may find windows that you had "docked" re-appearing: don't worry!)
    Let us know if you still have problems.
    iBook dual USB Mac OS X (10.4.8)

  • Can't change file association (Powerpoint 2011 to Powerpoint 2008)

    Hello
    On my iMac I've recently installed MS Office 2011. The old version of Office 2008 is still installed as well. I've got some problems with the new version of Powerpoint (2011). Therefore I'd like to use the old version of Powerpoint (2008) for all my Powerpoint files.
    Unfortunately it is not possible to just uninstall Powerpoint 2011 without uninstalling the whole Office suite. So my idea was: changing the file association and let opening all Powerpoint files with the older version.
    The problem is: I can change the association of a single file. But if I try to apply the changes to all files of this type, it does not work. This behaviour only exists for Office files.
    Does anybody know, why this happens?
    Any help is appreciated. Thank you,
    Marco

    Launch Services has always been a bit..."strange"
    Why not compress the MS 2011 PP (right click it to bring up finder's contextual menu and select compress) into a zip file.  Trash the uncompressed file (see below).  And then launch services hopefully won't have any choice but to select and use MS 2008 PP.
    Before you delete the original in the trash.  Double click the zip file to expand it back to another copy of 2011 PP.  Make sure that launches properly.  This is just an extra safety (paranoid) check to make sure the original zipped correctly.  Then you can also trash this second copy as well.

  • UDF for Changing File Name

    Hi Experts,
    I am working on one scenrio, where i am fetching the file name dynamically by adapter module.
    Now, the file name needs to be checked for the following conditions:
    BOOKING_REF_DELIVERYNO_WB.pdf
    BOOKING_REF_DELIVERYNO_BOLCOPY.PDF
    DELIVERYNO_AWB.PDF
    Depending upon the type of file being picked up by PI from the mail box,following needs to be done:
    1.time stamp needs to be added ..
    ex..
    for file SO10162239_123_458_BOLCOPY.pdf--> the file name must be changed to :
    SO10162239_X2100_20101206_123_458_BOLCOPY.pdf.
    Please suggest if this can be done by graphical mapping ?
    Thanks,
    Sushama

    hi,
    I am using following UDF..
    FileName->ParseFile>getNykFilename>concat--
    Current date->                                                                   concat> Trim> FileName
                               concat----
    |
    constatnt[.pdf]--->
    UDF for parse file:
    String[] sarray;
    String regex = "\"";
    String retstring;
    String fname;
    int l= raw.length();
    try {
         sarray = raw.split(regex, 3);
         retstring = sarray[1];
                            fname=sarray[l-1];
            if( fname=="WB")
    raw.concat("_X2100_");
    else if (fname=="BOLCOPY")
    raw.concat("_X2101_");
    else if (fname=="AWB")
    raw.concat("_X2102_");
    } catch (Exception e) {
         retstring = "no_att_name_found.err";
    return retstring;
    UDF for getNykFileName:
    String[] sarray;
    String regex = "[_]";
    String retstring;
    if(!orgName.endsWith(".err")){
    try {
         sarray = orgName.split(regex, 3);
         retstring = sarray[0];
    } catch (Exception e) {
         retstring = "nyk_filename.err";
    return retstring;
    }else{
         return orgName;
    But, its not working..
    Its giving the file name as:
    no_att_name_found.err20101206 for the input file : 801243209_81473641_wb.pdf
    Display queue result for parsefileName:
    "no_att_name_found.err"
    Please suggest.
    Thanks,
    Suahama

  • Changing File Associations

    I associated the file type "ASPX" with Mozilla Firefox and accidentally checked "always launch Firefox" for this file type. As a result, whenever I load an ASPX page, Firefox opens a new window and seems to get in a recursive loop, opening window after window.
    How do I disassociate this file type with Firefox, essentially undoing my mistake?

    just delete the association from within FireFox's preferences.

  • How do i change file associations

    I installed a beta version of photoshop CS6, but have now removed it. Whenever I try to open a .jpg file, it still tries to open it in CS6. I have been down the "Get Info" route and tried to use the 'Change all' method, but the files still revert to CS6. Any ideas??

    I cannot speak for .htm files, but I had a similar problem with PDFs (having installed 2 viewers). I went into the native BB file manager and highlighted a PDF file and hit the Blackberry button - to the left of my touchpad - and there was an option for 'OPEN WITH >' Choosing the application there seemed to change my default. YMMV. (I have a OS 6 Bold 9650 on Verizon, )

  • (Easy way to FIX! SOLVE) waiting for changes to be applied

    The easy and quick way to fix this is to connect your iphone to itune...
    1.Go into your iphone (Top right of itune).
    2.You'll see 3 different topics in bold - Iphone, backups and options.
    3.Go to options and uncheck all the boxes (make sure you remeber what was been check before you uncheck anything in the boxes).
    4.Check only - manually manage music and video and press apply (bottom right of itune).
    5.Wait for it to finish the process (it should delete everything).
    6.Then it is up to you.... either go by each tap and sync each one (info, apps, tones, music, movies, TVshows, podcast and photos) or uncheck manually manage music and check whatever it used to be before you unchecked everything.
    7.All done, Everything should be working perfectly.
    Please shared to other that needed help
    Appologiez to my behalf the language, Not really good at English grammas LOL

    Try:
    "Waiting for changes to be applied": Apple Support Communities

  • Can't change file association for Office

    Hi
    I've previously gone to Apple Support without success on this - so I hope it's not too obvious a question!
    I'm running Office v.X on my new Macbook, having previously uninstalled the demo for Office 2004 from the machine. However, when I save Word files emailed over to me they are associated with the non-existent 2004 version of Word (11.2.0) and consequently I can't open them from the Finder (gives error -10660 as it can't find this application).
    While I can change my Word files individually to point at the v.X version of Word that's actually running on the Macbook, if I click Change All from within the Get Info... box then the application in Open with... reverts back to 2004 Word! This makes it impossible for me to universally associate my Word documents with Word v.X. Grrrr.
    Apple have suggest that the Finder is picking up that Office 2004 is still the default application. However I ran the uninstall utility and there's nothing obvious in the Library/Receipts folder - where apparently you'd expect this to be set.
    Any ideas as it's really irritating?! Please keep it reasonably simple for me
    Many thanks
    marc
    MacBook   Mac OS X (10.4.7)  

    Hi, Marc.
    I presume you've uninstalled the Office 2004 demo completely.
    See my "Resetting Launch Services" FAQ.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Changing file associations in finder

    Hi there,
    My 1st post.
    I did a search for this and although I have read some close answers, everything I tried has not worked.
    I want to associate a bunch of java files to an editor I like to use called Smultron. I have tried the following:
    * Command-I -> Open with -> change all.
    * Right click -> Open with -> other -> Always open with.
    * Right click -> Get info -> Open with -> change all.
    * RCDefaultApp (version 2.0.1.X) to change ectensions and file types.
    * Also reset the LaunchService database with : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
    None of these solutions work unless changing a single file. That is, I am expecting to change all file types of type java to use Smultron by somehow setting a change all or always open with....
    Two other observations: By manually changing each of my java files individually, I am able to get finder to recognize them as associated with Smultron. But the icons are randomly shown as Smultron icons or .java icons and they are never the same when I re-open finder.....even though in all the files the icon is for Smutron when shown in Get info.
    I should also point out that I have killed finder and the restart didn;t work.
    I rebooted and same problem persists. I am not running FileVault.
    Is there any bonafide way to change a file type associtiation so that it affects all files of that type on the system without having to do this manually?
    Many thanks in advance

    You can try applying the 10.5.6 Combo Update This is a fuller install, as opposed to an incremental "delta" update so it should overwrite any files that are damaged or missing. It does not matter if you have applied it before.
    Remember to Verify Disk before update and repair permissions after update from /Applications/Utilities/Disk Utility.
    But... this sounds like it may be the applet and not your Java or Finder that is to blame. Look in /Utilities/Console log for clues. You can copy & paste here.
    -mj
    Message was edited by: macjack

Maybe you are looking for