Scratchpad:Tips
From OpenLP
Contents |
Move songs to custom
To move songs to custom, where the title begins with the word "LITURGY":
user@host:~$ sqlite3 ~/.local/share/openlp/custom/custom.sqlite sqlite3> attach "~/.local/share/openlp/songs/songs.sqlite" as songs; sqlite3> insert into custom_slide (title, text, credits,theme_name) select title, lyrics,'', '' from songs.songs where songs.title like 'LITURGY%';
Remove all trace of OpenLP v2 on Windows
This will remove all OpenLP data, including songs you have entered and settings you have changed, as well as the program itself.
- Ensure OpenLP is not running. Look for
OpenLP.exeon the Task Manager Processes tab, or reboot if not sure. - Uninstall OpenLP via the Control Panel Add/Remove programs option in the usual way.
- Windows Key+R, and type:
"%APPDATA%". Delete the OpenLP folder within the Explorer window that appears. - Windows Key+R, and type:
"%PROGRAMFILES%". Delete the OpenLP folder within the Explorer window that appears. - Windows Key+R, and type:
notepad. Copy and paste the following into the Notepad window that appears.
Windows Registry Editor Version 5.00 [-HKEY_CURRENT_USER\Software\OpenLP]
- In notepad, go to File -> Save.
- Change the save location to your desktop.
- In the "Save as type" dropdown, change this to "All files".
- In the filename, type:
openlp.reg. The file should not end in .txt. - Double click on the
openlp.regthat appears on your desktop. Click OK on the warnings.
Disable presentations on Windows from outside OpenLP
On some Windows systems with OpenOffice installed, OpenLP can hang when starting up. Sometimes this can be due to the link with OpenOffice Impress. To turn off Presentations and Impress support and allow OpenLP to start normally, open notepad and paste the following:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\OpenLP\OpenLP\presentations] "status"=dword:00000000 "Impress"=dword:00000000
- In notepad, go to File -> Save.
- Change the save location to your desktop.
- In the "Save as type" dropdown, change this to "All files".
- In the filename, type:
openlp.reg. The file should not end in .txt. - Double click on the
openlp.regthat appears on your desktop. Click OK on the warnings.
Configure VLC on Windows to play a video on the second monitor
Now this is not an OpenLP tip you may be saying, however at the current stage in development of v2 there are some videos that OpenLP refuses to play on Windows. VLC therefore is our recommended choice of media player when you face this problem. It can also be used to play DVD's and audio files. Note that on Linux we suggest you try installing the phonon-vlc-backend which may help you get around some video playback problems within OpenLP itself. Unfortunately we haven't worked out how to install this backend on Windows.
These settings were tested with version 1.1.9 of VLC. The latest version can be downloaded from the VideoLAN website (Caution - Don't use the vlcmediaplayer.org website as that VLC download is infected - Only use the videolan.org/vlc site which the above link uses).
- If you already have VLC installed, I recommend you reset your settings back to their default, unless you have made configuration changes that you really need to keep. On the Start Menu, find VideoLAN and run "Reset VLC media player preferences and cache files"
- Run VLC and go into the Preferences via the Tools menu.
- On the Interface tab:
- Deselect "Show Controls in full screen mode"
- Deselect "Embed video in interface"
- Deselect "Resize interface to video size"
- On the Video tab:
- Select "Fullscreen"
- On the Output dropdown, select "DirectX (DirectDraw) video output"
- In the DirectX section, choose Display Device "\\.\DISPLAY2". Note however that on some systems the displays are switched around, so if when you try it later it plays on the wrong monitor try setting this to "\\.\DISPLAY1" instead.
- On the Subtitles tab:
- Deselect "Enable On Screen Display (OSD)"
- Deselect "Show media title on video start"
- CLOSE and RESTART VLC. Some settings are only picked up on program restart.
- Play a video and it will hopefully play full screen on the second monitor. If it plays on the wrong one, try picking an alternate display as mentioned above.
Remember, if you are running VLC alongside OpenLP, remember to press the Hide Display/Show Desktop button on the OpenLP Slide Controller to prevent the OpenLP window sitting on top of the VLC one.