Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm building a system for a presentation in a shop (bargains, accessories, various information)
Here at LQ, a user (catkin) pointed me to gqview and I got it working from command line but I can not get it to run in a loop.
There is also a dvd with a promotional video which I wanted to be able to play. I succeeded by using VLC and starting a playlist from command line.
My questions:
1) does anyone know of a way to loop a presentation of pics in gqview or is there another program to achieve this?
2) how can I automatically start these programs with the switches after logon? (not simultaneously of course)
I'm using debian and I have tried by adding:
Code:
vlc -f -L <path & filename to playlist>
to rc.local but nothing happens.
I know that this is not the best way but I don't understand how to do it differently.
After user logon, you will want to use ~/.bashrc, ~/.bash_login or ~/.profile, in that order of preference, I believe. It might be dependent on your login manager which one of the files is run (and on your shell, of course), but to me, ~/.profile has always been a safe bet.
As for gqview, there is a General -> Slideshow -> Repeat setting in the preferences dialogue, that should help.
Hi Vinter, thank you for your reply!
I'm using gnome but I cannot find any of those files that you refer to.
Can you enlighten me about how to find the path of vlc because I have different directories with vlc.
Do you know whether it's possible to run gqview full screen - without toolbars - and start the slideshow automatically?
It is possible to have it that way if I start it from command line but then the repeat option is not available...
The point is that I would like to get it working without any user intervention so it's fool proof.
Last edited by Peterken; 12-22-2009 at 07:49 PM.
Reason: added info
I had found in the gqview manual how to run it from command line in full screen. It gives me almost exactly what I need with:
Code:
gqview -t -f -s
but apparently there is no switch to make run in a loop...
Uhm, which VLC...
I have installed VLC media player as a deb package, it's version 0.8.6h
There is no ~/.config/vlc folder.
I understand that running from rc.local is not the best option but I have no clue how & where to put the command with switches so it runs at startup.
~/.config/autostart seems to be a folder, I guess it's like the startup folder in windows but what is the correct syntax for these commands.
Last edited by Peterken; 12-23-2009 at 04:17 AM.
Reason: added information
After user logon, you will want to use ~/.bashrc, ~/.bash_login or ~/.profile, in that order of preference, I believe. It might be dependent on your login manager which one of the files is run (and on your shell, of course), but to me, ~/.profile has always been a safe bet.
As for gqview, there is a General -> Slideshow -> Repeat setting in the preferences dialogue, that should help.
The .bash files are not what you want here because those are meant for when you start a bash terminal. Gnome, however, has a control panel for auto-starting applications when you login:
Hi Vinter, thank you for your reply!
I'm using gnome but I cannot find any of those files that you refer to.
Those are hidden files (anything with a . at the start is hidden), and so won't be visible unless you turn on "Show hidden files" (or the equivalent) in your file manager.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.