I would like to launch qlcplus automatically at startup.
i know i need to use the option -o and -p for this
I have tried to launch it in the profile of user and activate the autolgin.
i have tried as well a startup script with the same command line, but so far, so not good.
Thanks for your help guys
How to launch automatically qlcplus at startup
it is a shame to need a x server started, isn it?
i mean, qlc+ has already the option -o and -p to be able to be launched automatically, what s the point to get a GUI launched all the time?
i miss something?
i mean, qlc+ has already the option -o and -p to be able to be launched automatically, what s the point to get a GUI launched all the time?
i miss something?
The image I provide doesn't have a X server and QLC+ is started automatically at boot.
Now if you explain us what you're doing, that would help.
Are you building QLC+ on the RPi yourself ?
Now if you explain us what you're doing, that would help.
Are you building QLC+ on the RPi yourself ?
hi massimo
it is what i have seen in another post, you don't use x server in your raspberry image.
that 's a great news, as i only want to launch qlcplus without any GUI. The triggers will be done via midi input.
What is the way? at the moment, i use the command line with -o and -p options, but it asks me a x sever.
And yes, i have built my own raspbian image and compiled qlc+ source, as i usually do for my projects.
Thanks for your help
it is what i have seen in another post, you don't use x server in your raspberry image.
that 's a great news, as i only want to launch qlcplus without any GUI. The triggers will be done via midi input.
What is the way? at the moment, i use the command line with -o and -p options, but it asks me a x sever.
And yes, i have built my own raspbian image and compiled qlc+ source, as i usually do for my projects.
Thanks for your help
I didn't say the image I provide doesn't have a GUI. It does, but not on X11.
I built Qt5 myself and I do not use the X11 platform plugin.
I built Qt5 myself and I do not use the X11 platform plugin.
i am damned ;-(
i have succeeded to launch qlcplus at boot time
key strokes work properly, but no midi input
when i open a putty, and launch another qlcplus GUI, this time, midi input work
Does this could work on your raspberry image? I mean,i don t want to connect to anything at show time, i just want a plug and play staff, when i strike on my midi pad, scene is playing. Of course, configuration will have been set up before.
If this could work with your raspberry image, i am ok to donate, no pb.
i have succeeded to launch qlcplus at boot time
key strokes work properly, but no midi input
when i open a putty, and launch another qlcplus GUI, this time, midi input work
Does this could work on your raspberry image? I mean,i don t want to connect to anything at show time, i just want a plug and play staff, when i strike on my midi pad, scene is playing. Of course, configuration will have been set up before.
If this could work with your raspberry image, i am ok to donate, no pb.
Found it....
It was only issue on right permission when launching qlcplus. You need to use sudo.
To resume, to get it worked on a raspbian, you need:
- start x server at boot time: in rc.local file, add the line
su -l pi -c startx
- autologin // in /etc/inittab
comment the line: 1:2345:respawn:/sbin/getty 115200 tty
add the line: 1:2345:respawn:/bin/login -f pi tty1 /dev/tty1 2>&1
- create a shell script /home/pi/start.sh like this:
sudo qlcplus -o -p &
- autostart it: in the file /etc/xdg/lxsession/LXDE/autostart, add the line
@sh /home/pi/start.sh
that s it
Hope this help
It was only issue on right permission when launching qlcplus. You need to use sudo.
To resume, to get it worked on a raspbian, you need:
- start x server at boot time: in rc.local file, add the line
su -l pi -c startx
- autologin // in /etc/inittab
comment the line: 1:2345:respawn:/sbin/getty 115200 tty
add the line: 1:2345:respawn:/bin/login -f pi tty1 /dev/tty1 2>&1
- create a shell script /home/pi/start.sh like this:
sudo qlcplus -o -p &
- autostart it: in the file /etc/xdg/lxsession/LXDE/autostart, add the line
@sh /home/pi/start.sh
that s it
Hope this help