LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to edit vlc configuration file in root? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-edit-vlc-configuration-file-in-root-657065/)

pattyadams4@bigpond. 07-20-2008 09:44 PM

How to edit vlc configuration file in root?
 
Hi
I am new to linux and have just bought an Acer Aspire One running Linpus Linux Lite. I have enabled advanced desktop mode and installed VLC media player and put a link on my basic desktop.
When I click on that link, I get a message saying ' Unable to open %U' I understand that I have to edit my vlc configuration file in root, but when I locate the file in rot I get an access denied! Can anyone please help in simple terms.

The player will play if I ignore the error message, it's just annoying having it come up each time I use the application.

Thanks in advance

John VV 07-20-2008 09:53 PM

first you need to open a terminal and login as root , use su - , or setup sudo first and use sudo
depending on your desktop Gnome,kde,e17 ...
as root open your favorite text editor gedit,kedit,nano, vi, ...
and edit the config file in /root

pattyadams4@bigpond. 07-20-2008 11:13 PM

Thanks! I've got in.

puszikam 11-05-2008 05:01 PM

How to edit vlc configuration file in root?
 
I have the same problem.
Please explain what I have to the change in the VLC configuration file and what the file is called. I found no .vlc in /root, however I do have it in my home directory.

John VV 11-05-2008 06:36 PM

puszikam what is it you are trying to do

-- for Gnome -- you did not say if you are using KDE or Gnome
make a desktop icon ,if so then goto
Applications / Sound and Video / VLC Media Player
right click on vlc and select " Add this Launcher to the Desktop"

puszikam 11-06-2008 08:45 AM

Doing the same as pattyadams4 above. Acer Aspire One with Linpus Lite. Just trying to avoid getting the useless error message every time I open VLC.

John VV 11-06-2008 11:51 AM

well here is a Gnome *.desktop file for VLC
Code:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=VLC media player
Comment=Read, capture, broadcast your multimedia streams
Exec=vlc %U
Icon=vlc
Terminal=false
Type=Application
Categories=AudioVideo;Player;
MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;application/ogg;application/x-ogg;application/x-matroska;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;video/vnd.rn-realvideo;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;video/mp4;video/mp4v-es;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;video/x-flv;
X-Desktop-File-Install-Version=0.15

save it a vlc.desktop
on your desktop

puszikam 11-06-2008 12:11 PM

Thank you john vv. I was looking for the configuration file (.vlc) not the .desktop. Per pattyadams4 I need to edit that although I am really not sure, I am just following that post (top of the thread) and it may be a false lead.
Thank you for your help.

addiedander 11-14-2008 08:43 AM

@Puszikam: did you solve the prob, are you still stuck? I'm having the same issue (cannot open %U),
and when I change the exec in vlc.desktop to %F, it just moans about that too…
Can anyone help?

Also, neither VLC nor MPlayer are playing the video for my .avi files (DivX?), just the audio.
Are the two problems linked?

Many thanks, a Linux-newbie.

John VV 11-14-2008 10:02 AM

Quote:

Also, neither VLC nor MPlayer are playing the video for my .avi files (DivX?), just the audio.
Are the two problems linked?
how did you install them and on WHAT destro
did you install the codecs
mplayer
http://www.mplayerhq.hu/MPlayer/rele...071007.tar.bz2
both mplayer and VLC
libdvdnav
libdvdread
libdvdcss


All times are GMT -5. The time now is 06:05 PM.