LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-20-2008, 10:44 PM   #1
pattyadams4@bigpond.
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
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
 
Old 07-20-2008, 10:53 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,991

Rep: Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448
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
 
Old 07-21-2008, 12:13 AM   #3
pattyadams4@bigpond.
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks! I've got in.

Last edited by pattyadams4@bigpond.; 07-21-2008 at 12:23 AM.
 
Old 11-05-2008, 06:01 PM   #4
puszikam
LQ Newbie
 
Registered: Nov 2008
Location: New Jersey
Distribution: PCLinuxOS and Linpus Lite
Posts: 13

Rep: Reputation: 0
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.
 
Old 11-05-2008, 07:36 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,991

Rep: Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448
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"
 
Old 11-06-2008, 09:45 AM   #6
puszikam
LQ Newbie
 
Registered: Nov 2008
Location: New Jersey
Distribution: PCLinuxOS and Linpus Lite
Posts: 13

Rep: Reputation: 0
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.
 
Old 11-06-2008, 12:51 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,991

Rep: Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448
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
 
Old 11-06-2008, 01:11 PM   #8
puszikam
LQ Newbie
 
Registered: Nov 2008
Location: New Jersey
Distribution: PCLinuxOS and Linpus Lite
Posts: 13

Rep: Reputation: 0
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.
 
Old 11-14-2008, 09:43 AM   #9
addiedander
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
@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.
 
Old 11-14-2008, 11:02 AM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,991

Rep: Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to edit the /etc/passwd file not using root? elthox Linux - Newbie 9 04-10-2008 02:31 AM
Elementary Question - Can't Edit File - Need Root rrrssssss Linux - Newbie 2 04-12-2005 04:05 AM
how to edit a file without logging in as root? osat3ch Fedora 3 08-22-2004 12:16 AM
cannot edit file as root with write permissions set? Mishley Red Hat 4 08-05-2004 01:23 PM
How do I edit my Wine configuration file? njbrain Linux - Software 7 02-25-2004 06:49 AM


All times are GMT -5. The time now is 09:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration