LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Drive opening in VLC by default (http://www.linuxquestions.org/questions/fedora-35/drive-opening-in-vlc-by-default-906155/)

rajes4india 10-03-2011 05:20 AM

Drive opening in VLC by default
 
Hi Team,
Please help me,
Drive opening in VLC by default.
for an example.
say drive name C:/.when click on drive C:/ it will open with VLC.
Please help me
Thanks
Rajesh

corp769 10-03-2011 09:21 PM

Hello,

Could you explain in better detail for us what you are trying to accomplish? I am trying to follow what you are saying, but I can not figure it out.

Cheers,

Josh

rajes4india 10-03-2011 09:39 PM

i am using fedora 13,when i navigate to a drive (places->drive) in a gnome desktop.its getting opened with vlc player.Actual expectation is to opened via file explorer.
Thanks
Rajesh

corp769 10-03-2011 10:41 PM

Ahh ok... Can you post the contents of your .local/share/applications/mimeapps.list file for me?

rajes4india 10-06-2011 10:50 AM

Quote:

Originally Posted by corp769 (Post 4489309)
Ahh ok... Can you post the contents of your .local/share/applications/mimeapps.list file for me?

hi corp,

i didnt have the mimeapps.list file in my desktop.any other way .

Thanks
Rajesh

corp769 10-06-2011 11:36 AM

I know it is there....
It is located within your home directory. For example, on my system:
Code:

/home/casper/.local/share/applications/mimeapps.list

rajes4india 10-07-2011 12:26 AM

Quote:

Originally Posted by corp769 (Post 4491616)
I know it is there....
It is located within your home directory. For example, on my system:
Code:

/home/casper/.local/share/applications/mimeapps.list

sorry dude its not there.
please see my files in that path
[root@RajesH share]# pwd
/home/rajesh/.local/share
[root@RajesH share]# ls -a
. .. Trash
[root@RajesH share]#

thanks
rajesh

satya164 10-08-2011 06:46 AM

Only drives or folders too? If folders also open with vlc, then open nautilus, then right click on any folder and select "open with other application". Then select "open folder" from the list, or may be "file manager".

rajes4india 10-08-2011 11:47 PM

Quote:

Originally Posted by satya164 (Post 4493019)
Only drives or folders too? If folders also open with vlc, then open nautilus, then right click on any folder and select "open with other application". Then select "open folder" from the list, or may be "file manager".

Drive alone opening via VLC n particular navigate via places->drive ...

Hi corp,
sorry now i find out mimeapps.list
please see the output

[Added Associations]
video/x-msvideo=vlc.desktop;
video/x-matroska=vlc.desktop;
text/plain=userapp-vim-H9V11V.desktop;
application/x-extension-drive=vlc.desktop;totem.desktop;
inode/directory=vlc.desktop;
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"~/.local/share/applications/mimeapps.list" 7L,

corp769 10-08-2011 11:58 PM

Told you it was there.... :p

Edit that file, and make it reflect the following:
Code:

video/x-msvideo=vlc.desktop;
video/x-matroska=vlc.desktop;
text/plain=userapp-vim-H9V11V.desktop;
inode/directory=nautilus-folder-handler.desktop;

Cheers,

Josh

rajes4india 10-09-2011 12:11 AM

Quote:

Originally Posted by corp769 (Post 4493539)
Told you it was there.... :p

Edit that file, and make it reflect the following:
Code:

video/x-msvideo=vlc.desktop;
video/x-matroska=vlc.desktop;
text/plain=userapp-vim-H9V11V.desktop;
inode/directory=nautilus-folder-handler.desktop;

Cheers,

Josh


Thaks a lot corp...
it works :hattip: ....

corp769 10-09-2011 12:15 AM

No problem! I wonder why this has been an issue for many users in the past..... I might file a bug report on the gnome bug tracker website. Anyways.... Mark your thread as solved using the thread tools, located at the top of the page. Thanks!

Cheers,

Josh

qlue 10-09-2011 07:36 PM

Quote:

Originally Posted by corp769 (Post 4493546)
No problem! I wonder why this has been an issue for many users in the past..... I might file a bug report on the gnome bug tracker website. Anyways.... Mark your thread as solved using the thread tools, located at the top of the page. Thanks!

Cheers,

Josh

I don't think that this is a bug so much a a feature that is implemented in a non-intuitive way. It's easy to set drives to be opened by vlc (or any other media player) the first time you insert a disk in your optical drive. Changing that association later can be a bit more tricky.

At least, that's been my experience.

corp769 10-09-2011 07:42 PM

Quote:

Originally Posted by qlue (Post 4494124)
I don't think that this is a bug so much a a feature that is implemented in a non-intuitive way. It's easy to set drives to be opened by vlc (or any other media player) the first time you insert a disk in your optical drive. Changing that association later can be a bit more tricky.

At least, that's been my experience.

I know what you are talking about, but I am referring to something different. Sometimes, all mime types get overwritten, causing a lot of problems.


All times are GMT -5. The time now is 06:52 AM.