Install VLC player from basic mode...

How to Guides for Linux, Linpus etc..

Moderator: Davidcowling

Install VLC player from basic mode...

Postby rjm » Mon Aug 25, 2008 2:41 pm

[update: macles has a good guide for installing the later version of VLC, or you can download and run the install script from Acer, which is probably the easiest:

http://macles.blogspot.com/2008/11/inst ... linux.html

ftp://ftp.acer-euro.com/netbook/aspire_ ... plication/

end update]

The livna repositories got updated due to the security breach, so new dependency errors crop up until you update sing the following command:

Code: Select all
sudo yum install fedora-release


Now uninstall photomaster, mediamaster and mlayer

Code: Select all
sudo yum remove pdvdlinux pcmlinux mplayer\*


Then type

Code: Select all
su -


(type password) [edited 12/20 to reflect the new location of the repository]

Code: Select all
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

Code: Select all
yum install vlc


you will need to answer "y" a coupe of times to continue, and it all takes a couple of minutes to install the various codecs and associated files.
finally if you want to be able to play movies within the web browser,

Code: Select all
yum install python-vlc mozilla-vlc


now, from a new terminal window, we edit the desktop icons to the VLC traffic cone icon appears in the fun section of the desktop.

Code: Select all
sudo mousepad /home/user/.config/xfce4/desktop/group-app.xml


type in password if need be

this will show a text file in an editor window, scroll down to <group><id>7</id>
type in a new line just before the </group> tag:

Code: Select all
<app sequence="6">/usr/share/applications/livna-vlc.desktop</app>


edit the number "6" to a number not used by any other active app sequence lines in the group. If 6 is in use, use 7, etc.

save the file and close mousepad

You can reorder the icons just by dragging and dropping the icon into the position you want. There will be an error when clicking the VLC icon, something like "cannot find module %U". The default desktop launcher file isn't correct for Linpus Lite. Edit the file by typing,

Code: Select all
sudo mousepad /usr/share/applications/livna-vlc.desktop


find the line "exec=vlc" and delete the characters "%U", also, to be tidy, find the lines "name=VLC media player", and change to something short, like Media Player, so the text doesnt spill over to nearby icons. Edit whatever name= field for the language of your choice.

save the file and reboot.
Last edited by rjm on Fri Dec 19, 2008 5:30 pm, edited 6 times in total.
rjm
 
Posts: 345
Joined: Thu Jul 24, 2008 1:13 am

Re: Install VLC player from basic mode...

Postby itandy » Mon Aug 25, 2008 11:48 pm

I get errors...

libgnutls.so.13 missing dependency.

It is there though. I tried adding it using rpmfind.net, and package manager say it is already installed.

bloody frustrating.

I do notice some comments regarding wine as it installs.

Does anybody know if wine breaks things?

ta
itandy
 
Posts: 2
Joined: Thu Aug 21, 2008 2:51 pm

Re: Install VLC player from basic mode...

Postby rjm » Tue Aug 26, 2008 12:54 am

I started with a stock factory install, and used liveupdates to get the latest patches.

I installed Skype, then I installed VLC. It worked.

This dependencies issue seems to be a real bugbear. If you are like me and just starting out in Linux, I can only suggest that you mess around with software updater and package updater as little as possible, use liveupdater instead, only install things that people have confirmed don"t break the A1, and prioritize software installs in order of how important they are to you... ie keep things to the bare minimum for now. Even innocent looking like updating firefox for example can mess up a whole bunch of things unless you really know what you are doing ... or follow carefully the special instructions from someone who does.
rjm
 
Posts: 345
Joined: Thu Jul 24, 2008 1:13 am

Re: Install VLC player from basic mode...

Postby geoffrey2008 » Thu Aug 28, 2008 4:58 pm

Ok everything went well thank you very much for the tutorial however the error caused by autoexecing U or whatever I cannot fix this. I load up the launch settings for VLC but the text file is completely blank and when I open VLC by itself it just halts and cannot be closed. Any more info on this?

Thanks.
geoffrey2008
 
Posts: 10
Joined: Tue Aug 26, 2008 8:04 pm

Re: Install VLC player from basic mode...

Postby toby » Fri Aug 29, 2008 8:46 am

I also get a blank file desktop configuration, so cannot remove the %U error, altho' all other functionality is OK.
toby
 
Posts: 1
Joined: Tue Aug 26, 2008 2:31 pm

Re: Install VLC player from basic mode...

Postby dippergt750 » Sun Aug 31, 2008 11:37 am

The %U error is removed by typing:-

sudo mousepad /usr/share/applications/livna-vlc.desktop

Then removing the %U from the "exec= vlc" line.

The post explaining this had a typo and was entered as:-
sudo mousepad /usr/shared/applications/livna-vlc.desktop note the directory was down as usr/shared which is incorrect.
dippergt750
 
Posts: 8
Joined: Wed Aug 27, 2008 9:08 am

Re: Install VLC player from basic mode...

Postby rjm » Tue Sep 02, 2008 3:42 am

I have edited the original post to fix that. Thanks!
rjm
 
Posts: 345
Joined: Thu Jul 24, 2008 1:13 am

Re: Install VLC player from basic mode...

Postby weejock » Wed Sep 03, 2008 12:04 pm

Great thread, but I'm falling at the first hurdle! I get as far as:

su -
rpm -ivh http://rpm.livna.org/livna-release-8.rpm

and after several minutes get:

error: skipping http://rpm.livna.org/livna-release-8.rpm - transfer failed - Unknown or unexpected error

I've checked my internet connection which seems to be working fine, so is there something really basic that I'm missing or should have done first? My AAO arrived this morning and I'm totally new to Linux so please be gentle.
weejock
 
Posts: 5
Joined: Wed Sep 03, 2008 8:49 am

Re: Install VLC player from basic mode...

Postby 3ld468 » Wed Sep 03, 2008 4:42 pm

Hello weejock,
I am unable to connect as well. I reckon it is having a little lie down.
sudo find [/path/to/directory| . ] -name "*<your search string>*"
Possibly your best friend in the Terminal.
3ld468
 
Posts: 24
Joined: Sat Aug 23, 2008 3:57 pm

Re: Install VLC player from basic mode...

Postby geeek4lyf » Wed Sep 03, 2008 5:44 pm

m having the same problem n a nub too.. sigh!
geeek4lyf
 
Posts: 4
Joined: Fri Aug 29, 2008 9:38 pm

Next

Return to How to Guides - Linux

Who is online

Users browsing this forum: No registered users and 3 guests