Results 1 to 4 of 4

Thread: PCMan to set default applications

  1. #1
    Join Date
    Jul 2009
    Posts
    188

    PCMan to set default applications

    Hi
    I am using Fedora and default desktop environment as LXDE. LXDE is a great environment and I like it, because it is fast. I know that most of the people use the GNOME environment, there are very few using the LXDE. So, any one know about the config file or something like that so that I can set default applications to open various file formats. I tried to use the GUI interface to set the default values, but now there are duplicate entries there. How can I trim those entries. The problem is that I do not know the name of the config file or the location of the file. I tried to google it but did not find the information about that. Please any help would be appreciated.

  2. #2
    Join Date
    May 2008
    Posts
    4,831

    Re: PCMan to set default applications

    Hello
    I do not use LXDE as my default user interface, but I have seen it and its quite cool. There is no reason to switch from GNOME to LXDE. I am not trying to say that LXDE is not a good desktop environment, but GNOME has everything that a linux user requires.
    So, any one know about the config file or something like that so that I can set default applications to open various file formats.
    I am not sure but it just uses the default applications which are set to the desktop. If you want to take a closer look then check this file
    Code:
    /home/username/.local/share/applications
    Hope this information has helped you. Any more queries do post back.

  3. #3
    Join Date
    Jul 2009
    Posts
    188

    Re: PCMan to set default applications

    Hi
    I did not knew about the following location
    /home/username/.local/share/applications
    This is just what I was looking for, all the duplicate entries are in this folder. Thank you very much, you have solved my problem. Now that I know this I have a second question in my mind. What would be the correct syntax for the default application, so that the options come after the file name. For example when I launch an application i would to open it in some specified mode. So, how do I write the command line in the applications directory so that it opens up how I want it to. Few months ago I use the DSL and DFM where the syntax was somewhat like this
    Code:
    "/usr/sbin/handy %0% -2"
    Is the in the similar manner in the PCMan file manager? Any advice on this.

  4. #4
    Join Date
    May 2008
    Posts
    4,831

    Re: PCMan to set default applications

    Hi
    Sounds great that your problem is solved. The second question you asked about the syntax of the file, I think you should use "%f". Once I tried opening a file with PCMan default text editor leafpad. And after that I had a look to the file in the directory and found
    .local/share/applications/leafpad-usercustom-0.desktop
    I think you should find the "%f" in your file.

Similar Threads

  1. Default applications in Nokia Asha 300?
    By Gurjari in forum Portable Devices
    Replies: 5
    Last Post: 31-10-2011, 07:47 PM
  2. How to remove default applications from Huawei Ideos X6
    By Emer!son in forum Portable Devices
    Replies: 4
    Last Post: 30-10-2011, 07:36 PM
  3. Replies: 4
    Last Post: 21-12-2010, 01:16 PM
  4. Vista - default printer doesn't stay as default
    By Freddie Kang in forum Vista Help
    Replies: 8
    Last Post: 19-04-2010, 03:12 AM

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
  •  
Page generated in 1,713,571,170.64254 seconds with 17 queries