How to Sync Propresenter playlists and files across Mac & PC (w/o paying for it)

My situation is I have 4 computers that I want to sync data to for our church. One of these computers is a Mac. However, ProPresenter is a tricky program. Hopefully by documenting this, I can save myself from the big headache later and you can learn how to do it as well.

  1. First, you’ll want to install two programs:
    1. Propresenter
    2. Bit Torrent Sync
  2. Once you’ve installed both programs, we need to manipulate ProPresenter so that we can find the data to sync. Open Propresenter, click “Propresenter 6” in the upper left corner and then go to preferences. Here is where will be changing all of our data. First let’s manipulate ProPresenter so that we can find our data (we’ll need this to sync playlists). Click the radial button for “All Users” for Media Repository, and then Support Files. Confirm with the dialogue box that comes up. ProPresenter will then start.
  3. Set up your Bit Torrent Sync Folders. I suggest finding a folder easily accessible. You’re going to direct ProPresenter to find these folders later on. I’m going to create a folder called “SoundBooth.” Inside SoundBooth, I’m going to create two folders, “ProPresenter Library” where I will store my files for songs, and “Media Repository” which will hold all my other files for ProPresenter.

    C:/Soundbooth/ProPresenter Library
    C:/Soundbooth/Media Repository

    Make sure in Bit Torrent sync when you create these files that you uncheck the boxes that say, “This link is only good for three days” and “I must approve everyone.” You’ll want to copy the “secret” (key) and put in a location you won’t lose it. I like to save it on my server on notepad so that I don’t have to type it all out. Copy and Paste for the WIN. Go through on all computers and make sure that they are sharing the folders with each other for BTSYNC. You’ll want to keep the folders to the same names and locations as much as possible to avoid confusing yourself later.

  4. Now go through on each computer and change the location in the general tab of ProPresenter to the folders that we created. (Note, even though we changed “Support Files” to all users, we are NOT relocating those files. )
  5. Once you’ve changed your Library to “C:/Soundbooth/ProPresenter Library”, delete the “Default” library or else it will revert to “Default” library every time.

    At this point, all of your files should sync EXCEPT for Playlists. Here is where it gets tricky. Find the following folder depending on whether your are using a PC or a Mac and make a third Bit Torrent Sync folder. Sync the folders with each other. Note that the files will work just fine, but for whatever reason, Renewed Vision decided to put the playlists in different folders for the set-ups

    PC:’s  C:\ProgramData\RenewedVision\ProPresenter6\PlaylistData
    Mac:  C:\ProgramData\RenewedVision\ProPresenter6\Playlist

    Also, please note that you DO NOT want to sync the whole folder that “PlaylistData”/”Playlist” are inside of. The folder tree above that contains your settings for your monitor setup for inside ProPresenter.

 

Well, this is a work in progress. Let me know if you come into any snags! Cheers!

Four Reasons to be baptized

As I become more and more familiar with the up and coming generation of youth, I have noted our trend in our local area where fewer and fewer students (and people in general) are being baptized.

In our denomination (FEC) and church, it is true that baptism is not needed to experience the saving grace of Jesus Christ. But it is highly encouraged.

Right now I’m working on my sermon for Acts 2:42. I stumbled upon some very convincing reasons one should consider baptism.

  1. Baptism is symbolic of God’s grace
    One interesting observation as you look at the word baptize throughout the New Testament: It many times is paired with the word, “repent.” When you are baptized, there is this sorrow for the life of sin you lived in. You are repenting of that past, then washing those sins away and becoming alive in Christ.
  2. Baptism shows your loyalty to Christ.
    If you find someone that you love and you want to spend the rest of your life committed to them, you have a wedding to get married. You have a ceremony telling others that you’re promising yourself to your spouse. In the same way, Baptism is a ceremony, where you show others your commitment to Christ in your life.
  3. Jesus commands us to be baptized.
    Look at the Great Commission in Matthew 28:19-20. It says, “Make disciples of all nations , baptizing them in the name of the Father and of the Son and of the Holy Spirit, and teaching them to obey everything I have commanded you. And surely I am with you always, to the very end of the age.” Jesus gives us the directive to be baptized as his disciples.
  4. Jesus himself was baptized.
    As you look at the recipe for the early church in Acts 2:42, we find four disciplines that the church took upon themselves. Baptism could easily be added to this list and is implied as you look at the context. All four of these disciplines that the church sought were modeled to them by Christ himself. Baptism is interesting as well. Before John the Baptist, Jews did not receive baptism. Only Gentile converts to Judaism would be baptized as a sign of washing away their Gentile sin. So for John the baptist to baptize Jews was something radical. It represented a deep need for God’s inner cleansing and also it signified that observing the law alone could not save someone. (So if you remember, the four foundations we have in Acts 2:42 were new things and now you can add baptism to that list as well)

 

Making Location work for MacBook (and other items)

Do you ever try to find your MacBook Pro in “Find my iPhone” on your iPhone and get this message: “Online but no location is available” ?

The problem lies that your Macbook get the location from your router. If you happen to know the MAC address of your router, you can update it on the following website (pretty much updates the location instantly).

 

http://www.skyhookwireless.com/submit-access-point

 

Use Linux as Music Server for Itunes using Tangerine (EASY)!

Tangerine is an application that allows you to publish music over the local network (streaming music server), using DAAP. It runs on Linux, Windows, and Mac OS X. There are several clients that you can then use to connect to it, such as Apple’s iTunes, Banshee, and Rhythmbox.

Music files can be specified either by a directory, or can be automatically discovered using Beagle, Google Desktop, or Spotlight. Recently you can also specify which music player you use and share the songs in it’s collection. For typical configurations, a graphical tool is included.

On the System where you have music collection located, install the DAAP server using following command

sudo apt-get install tangerine

After successful installation, you can open the  tangerine from Unity ‘Dash’

Check “enable music sharing” to enable sharing.
You can change the name of the music sharing as it will appear on the network by changing the value in the “Share name“.
To select music to share, you can choose one of the following possibility:
* Find music in: select your drive and Tangerine share music player for you.
* Select folder: You can choose a particular folder to share.

You can also limit the number of users that can connect to the tangerine server and can also specifiy the password that client needs to use to access the resources on the server

Once, all is done, from the client system using any DAAP client like Banshee or Exaile, you can connect to the DAAP server.

A much cheaper way to back up your computer

I couldn’t help but read this article where the guy referred to buying space in the cloud to back up his computer: http://mobilemeandering.com/the-best-way-to-backup-your-apple-macbook-pro-automatically/

Let me just say there’s a few better ways. If you’re a Mac person, please please please use Time Machine. It’s free, it’s genius and it is so easy to use. You will just need an external hard drive or another computer with some extra space on the hard drive to back up. Please refer to the Linux post I have about manipulating your Linux Server to allow Time Machine Backups.

However, if you’re not a Mac person, there’s a wonderful program called “Bit Torrent Sync” (http://www.getsync.com/). What this allows you to do is sync one folder from a computer to another computer. It’s much like the Dropbox idea, except it’s free and you’re not limited on space. Say you have two computers. You can easily point Bit Torrent Sync to sync the existing Document folders you have between your computers. I believe they have some tutorials on their site. It’s pretty interesting. So if you’re looking for a free backup program, give it a try!

 

How to Start TeamViewer from SSH

I needed to start up TeamViewer on my Mac at work. I was able to log into my server (which is on the same network). Then I SSH’d into my Mac using the following information below:

sudo /Applications/TeamViewer.app/Contents/MacOS/TeamViewer

If it should fail and report: com.teamviewer.desktop: Invalid argument com.teamviewer.teamviewer: Invalid argument

You can run it again without sudo:

/Applications/TeamViewer.app/Contents/MacOS/TeamViewer

This should launch TeamViewer and make it ready for a client connection.

If for some reason it fails to launch, try setting the display first with:

export DISPLAY=:0

Then, to get your TeamViewer ID do:

defaults read /Library/Preferences/com.teamviewer.teamviewer9 ClientID

 

How To Add, Delete, and Grant Sudo Privileges to Users

How To Add, Delete, and Grant Sudo Privileges to Users on a Debian VPS

Author: Justin Ellingwood Published: Jan 7, 2014 Updated: May 30, 2014

Tagged In: Getting Started, Linux Basics, System Tools, Debian Difficulty: Beginner

Introduction

When you spin up a new server, a default account is created called root. This user has full system access and should be used only for administrative tasks. There are basically no restrictions on what you can do to your system as the root user, which is powerful, but extremely dangerous. Linux does not have an “undo” button.

To alleviate this risk, we can create a new user, who has less privileges, but is more appropriately suited to everyday tasks. When you need the power of an administrative user, you can access that functionality through a command called sudo, which will temporarily elevate the privileges of a single command.

This guide will go over how to create a new user on a Debian system. We will also cover how allow users access to the sudo command if they require administrative privileges, and how to delete users that you no longer need.

Log Into Your Server

To complete the steps in this guide, you will need to log into your Debian server as the root user.

If you created a server instance without selecting an SSH key to embed for authentication, you should receive an email with the root user’s password. You can use this information to log into your server as the root user in a terminal by typing:

ssh root@your_server_ip_address

Enter the password you were emailed (nothing will appear on the screen as you enter your password. This is a security feature so that people nearby cannot guess your password based on its length).

Another option is to click on the “Console Access” button in the upper-right corner of your droplet’s page. This will open a terminal session in the browser window that you can use to log in.

DigitalOcean console access

If you configured your server to use SSH keys for authentication, you can use the same SSH procedure as above, but you will be automatically logged in without being asked for a password. Note that no password email will be sent to you either.

If you would like to find out how to configure SSH key authentication, click here.

Add a New User

The first step is to add a new user. New users, by default, are unprivileged. This means that they will only be able to modify files in their own home directory, which is what we want.

If this is your first new user, and you are currently logged in as the root user, you can use the following syntax to create a new user:

adduser newuser

If you are logged into a user that you added previously and gave sudo privileges, you can create a new user by invoking sudo with the same command:

sudo adduser newuser

Either way, Debian will prompt you for more information about the user you are creating. The first piece of information you need to choose is the password for the new user.

It will ask you to select a password and then confirm it by repeating it (again, the characters you type will not appear in the window, for security purposes).

Afterwards, it will ask you for personal information about the user. You can feel free to fill this out or to leave it blank. The user will operate in entirely the same way regardless of your decision. Type “Enter” to skip these prompts and accept the entered values.

Access the New User

When you have finished these steps, your new user is now available. You can log into the new user by typing:

exit

This will terminate your current session as root and allow you to log in as the new user through SSH by typing:

ssh newuser@your_server_ip_address

This time, enter the new password you just configured for this user.

Another way to quickly switch to another user without logging out first is to use the su command.

This command stands for substitute user and it allows you to enter the user you would like to change to. You can use it like this:

su - newuser

This will ask you for the new user’s password. When you’ve entered it correctly, you will be changed to the new user. When you wish to exit back into your original session, simply issue the exit command again:

exit

Grant Users Administrative Privileges

Now that you have a new user on your system, you need to decide if this user should be able to perform administrative tasks with sudo.

If the user you created will be your primary user on the system, you usually want to enable sudo privileges so that you can do routine configuration and maintenance.

We give users access to the sudo command with the visudo command. If you have not assigned additional privileges to any user yet, you will need to be logged in as root to access this command:

visudo

Once you have assigned sudo privileges to your user, you can access the same functionality from within your user’s session by typing:

sudo visudo

When you type this command, you will be taken into a text editor session with the file that defines sudo privileges pre-loaded. We will have to add our user to this file to grant our desired access rights.

Find the part of the file that is labeled “User privilege specification”. It should look something like this:

# User privilege specification
root    ALL=(ALL:ALL) ALL

We give a user sudo privileges by copying the line beginning with “root” and pasting it after. We then change the user “root” on the new line to our new user, like this:

# User privilege specification
root        ALL=(ALL:ALL) ALL
newuser    ALL=(ALL:ALL) ALL

We can now save the file and close it. By default, you can do that by typing Ctrl-X and then typing “Y” and pressing “Enter”.

Now, when you are logged in as your regular user, you can execute a certain command with root privileges by typing:

sudo command_name

You will be prompted to enter your user’s password (not the root user’s password). The command will then be executed with elevated access.

Delete a User

If more than one person is using your server, you should give them their own user to log in. If there is a user you created that you no longer need, it is very easy to delete it.

As a regular user with sudo privileges, you can delete a user using this syntax:

sudo deluser --remove-home username

The --remove-home option will delete the user’s home directory as well.

If you are logged in as root, you do not need to add the sudo before the command:

deluser --remove-home username

Conclusion

Adding users, deleting users, and assigning sudo privileges are all basic tasks that you will most likely need to configure for any server. By becoming familiar with these processes, you will be able to set up your initial environment faster and more confidently.