You are not logged in.

#1 2008-03-31 17:06:01

colbert
Member
Registered: 2007-12-16
Posts: 809

How to change the way VLC starts up

I have installed VLC via pacman, I would simply like to change it so it runs all the time with

vlc --control lirc

For example I have changed it in thunar when I open video files, it's fine, but some programs call the binary itself automatically (like extensions in Firefox) so it will open as "vlc".

How can I do this? My VLC is in /usr/bin/vlc. I hope that's clear smile

Offline

#2 2008-03-31 21:08:26

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: How to change the way VLC starts up

I'm not sure if this will work:

I think apps that start VLC for you call some sort of "exec" statement that is interpreted by your login shell. Maybe the <shell>rc (e.g. ~/.bashrc) is sourced before interpreting the statement. If so, you could define an alias: "vlc -> vlc --control lirc".

Maybe VLC provides some config files where you can store your favourite settings?

(sry, don't use VLC and am at work on not linux right now... but these are the things I would try!)

Offline

#3 2008-03-31 21:42:12

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: How to change the way VLC starts up

Thanks peets, you're correct, there is a config file! For anyone who wishes to change this, you simply edit the ~/.vlc/vlcrc file and add

control=lirc

And voila! big_smile big_smile

Offline

Board footer

Powered by FluxBB