Showing posts with label Open source. Show all posts
Showing posts with label Open source. Show all posts

Mouse and Keyboard sharing with Synergy

Synergy is an open source software, which allows you to easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It's intended for users with multiple computers on their desk since each system uses its own monitors.

Redirecting the mouse and keyboard is as simple as moving the mouse off the edge of your screen. Synergy also merges the clipboards of all the systems into one, allowing cut-and-paste between systems. Furthermore, it synchronizes screensavers so they all start and stop together and, if screen locking is enabled, only one screen requires a password to unlock them all. Machines running following operating systems and TCP/IP networking are supported.

  • Microsoft Windows 95/98/Me/NT/2000/XP
  • Mac OS X 10.2 or higher
  • Unix including Linux, Solaris, and other variants running X- Windows version 11 revision 4 or higher

Synergy unifies display of all the computers on your desktop to form a single virtual screen. You use the mouse and keyboard attached with only one of the computers while you use all of the computer monitors. Once you configure Synergy about how many screens you have and their relative positions, and move mouse off the edge of a screen, it jumps instantly to the neighboring screen. The keyboard input is fed to screen with mouse focus. Synergy can also handle multiple screens attached to the same computer.

Furthermore, it builds a single clipboard to make cut-copy-paste functions work across all the computers. It even converts newlines (CR-LF sequence) to each computer's native format so cut and paste between different operating systems works seamlessly.

Synergy also ensures that screensavers on all computers start/stop simultaneously.

Running Synergy is a 3 step process.

  1. Choose a server
  2. Install the software
  3. Configure and start the server

Step 1 - Choose a server

The first step is to choose which keyboard and mouse you want to share. The computer with that keyboard and mouse is called the "primary screen" and it runs the Synergy server. All of the other computers are "secondary screens" and run the Synergy client.

Step 2 - Install the software

Second, you need to install the software on all the computers that will share the mouse and keyboard. 

Step 3 - Configure and start the server

Next, you need to configure Synergy with primary and secondary screens names, their relative positions, and other options. After installing Synergy on all the computers, click on Start > Programs > Synergy > Synergy on server computer, i.e., computer with keyboard and mouse attached with it.

1

Select Share this computer’s keyboard and mouse (server) option and click on Configure button.

2

Click on + button to add the server to the screens list and click on OK button. Use the + button to add other computers. Use controls under Links to connect screens together.

  • Click on the server's name in the Screens list
  • Choose the screen to the left of the server; use --- if there is no screen to the left of the server.
  • Similarly choose the screens to the right, above and below the server.
  • Repeat these steps for all the other screens.

Click OK to close the Screens & Links dialog.

Now click on Test button. It will start the server and you will see a console window with scrolling log messages informing you about Synergy's progress. If any error occurs you'll be intimated. Some errors are documented below.

Failed to open screen (X11 only)

  Hint: Check permission to open the X display
Address already in use
  Hint: Another program or another copy of Synergy is using the synergy port; stop the other program or choose a different port in the Advanced... dialog. In case you select different port, configure all clients accordingly.
Connection forcefully rejected
  Hint: Check Synergy is running on the server and no firewall is blocking the server or Synergy port.
Already connected
  Hint: Check that the Synergy client isn't already running.
Refused client
  Hint: Add the client to the server's configuration file.

Connection timed out

 

Hint: Check that server-host-name is correct and no firewall is blocking the server or Synergy port.

Connection failed

 

Hint: Check that server-host-name is correct.

Read the errors to determine the problem then correct them and click on Test button again. Once everything works fine, stop all the clients then the server. Then start the server and all the clients.

Synergy is a boon for those who work with multiple computers on their desktop.

PDFCreator – Open source freeware for PDF file creation

PDFCreator is an open source application that can create Portable Document Format (PDF) files from just about any program that prints using windows printers. With PDFCreator you can

  • Create PDF's like printing using Windows printers.
  • Create documents in PDF, Postscript (PS), Encapsulated Postscript (EPS), and variety of graphic file formats.
  • Combine multiple documents into single PDF.
  • Protect PDF files with password and up to 128 bit encryption.
  • Automatically save PDF documents with current settings.

Download a copy of PDFCreator setup from its project site and install it on your Windows machine. Setup is quite simple and is illustrated in following screen shots.

1 2

 3 4-1 Take note of above screen shot, there are two different types of installations you can use when you install PDFCreator.

  • Standard Installation: A standard installation sets up a standard printer for PDFCreator and allows that computer to create PDF documents, images, and Postscript files.
  • Server Installation: A server installation sets up a network printer for PDFCreator and allows computers on your network to create PDF documents, images, and Postscript files remotely. If you use a server installation on a terminal server, make sure that you do not install PDFCreator in application mode.

Both types of installations are straight-forward and it depends entirely upon your requirement whether you need a PDF printer for your local machine or for your network users. With server installation of PDFCreator, you can use Auto-Save Mode to automatically save documents to a specified directory with UNC-pathnames and/or filename tokens. So, When using a server installation, you need to create a share for the printer with user access rights belonging to yourself. Also, make sure that at least one instance of PDFCreator is open. You can install PDFCreator as a service by using "instsrv.exe" and "srvany.exe" tools from Windows Resource Kit. If you do install PDFCreator as a service, make sure to use a user account with access rights writing in a Auto-Save directory. Settings can only be changed on the server. Users cannot change any settings in PDFCreator.

Following screen shot is of PDF Print Monitor when PDFCreator is installed as a server.

15-1If first icon shown in toolbar has green ball, it means that PDFCreator Print Monitor is started. If it is red ball, it means Print Monitor is stopped. Press F2 key to start/stop the Print Monitor.

Click on Printer menu and select Options, then click on Auto-save link in left side of Options window.

17-1

In this Auto-save mode, following tokens are available to automatically assign names to PDF files.

  • <Author>
  • <Computername>
  • <ClientComputer>
  • <DateTime>
  • <Title>
  • <Username>
  • <Counter>
  • <REDMON_DOCNAME>
  • <REDMON_DOCNAME_FILE>
  • <REDMON_DOCNAME_PATH>
  • <REDMON_FILENAME>
  • <REDMON_JOB>
  • <REDMON_MACHINE>
  • <REDMON_PORT>
  • <REDMON_PRINTER>
  • <REDMON_SESSIONID>
  • <REDMON_USER>

Click on Formats drop-down menu in PDFCreator options window and you can configure file format settings for PDF, PNG, JPEG, BMP, PCX, TIFF, PS, EPS, TXT, PSD, PCL, Raw, and SVG file types.

There are five ways to create PDF in PDFCreator:

  • Printing
  • Drag and Drop
  • Document Adding
  • Command Line
  • Windows Explorer

Method 1: Printing

Open the document you wish to convert into a PDF in its default application and print the document to PDFCreator printer. You can provide additional information in the next window. Save your PDF file or click on Waiting button to create the PDF at a later time.

Method 2: Drag and Drop

Open the PDFCreator Print Monitor, click and drag the document or file you wish to create into a PDF into the Print Monitor.

Method 3: Document Adding

Open the PDFCreator Print Monitor, click the Document menu and select Add. In the file type box, select the document you wish to convert to PDF.

Method 4: Command Line

Execute following command at the command prompt:

PDFCreator.exe /PF"Full path of the document"

Make sure to type full path to PDFCreator.exe without any space between /PF and the path.

Method 5: Windows Explorer

Right click on any document in Windows Explorer and select Create PDF with PDFCreator.

You can create a single PDF file from multiple files waiting to be printed in PDF Print Monitor. Click on Document menu and select Combine or Combine all to do so.