Skip to content

Commit

Permalink
Updated Readme, About txt, and version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
anoved committed Sep 9, 2013
1 parent 86cf4f0 commit f555525
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 49 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FILE(GLOB_RECURSE SOURCE_FILES src/*.cpp)
SET(CMAKE_CXX_FLAGS_RELEASE "-s -Wall -Wextra -Wconversion")

SET(MMSERVER_VERSION_MAJOR 1)
SET(MMSERVER_VERSION_MINOR 2)
SET(MMSERVER_VERSION_MINOR 3)
SET(MMSERVER_VERSION_PATCH 0)

CONFIGURE_FILE(
Expand Down Expand Up @@ -43,10 +43,10 @@ INCLUDE_DIRECTORIES(
SET(CPACK_GENERATOR "DEB")
SET(CPACK_SET_DESTDIR "ON")
SET(CPACK_PACKAGE_VERSION "${MMSERVER_VERSION_MAJOR}.${MMSERVER_VERSION_MINOR}.${MMSERVER_VERSION_PATCH}")
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Erik Lax <[email protected]>")
SET(CPACK_DEBIAN_PACKAGE_HOMEPAGE "http://sourceforge.net/projects/mmlinuxserver/")
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Jim DeVona")
SET(CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://github.com/anoved/mmserver/")
SET(CPACK_DEBIAN_PACKAGE_SECTION "X11")
SET(CPACK_DEBIAN_PACKAGE_DESCRIPTION "An unofficial Mobile Mouse Server for Linux")
SET(CPACK_DEBIAN_PACKAGE_DESCRIPTION "Modified Mobile Mouse Server for Linux")
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libpcrecpp0, libconfig++8")
SET(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_SOURCE_DIR}/share/postinst;${CMAKE_SOURCE_DIR}/share/prerm")

Expand Down
69 changes: 31 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,46 @@
#MobileMouse FOSS server for linux
# Modified Mobile Mouse Server for Linux

###build:
sh builddep.sh
mkdir build
cd build
cmake ..
make
Use your iOS or Android device as a network mouse and keyboard for your Linux computer using [Mobile Mouse](http://www.mobilemouse.com/) and this software, which is a fork of [Mobile Mouse Server for Linux](http://sourceforge.net/projects/mmlinuxserver/) by Erik Lax. This fork by Jim DeVona is based on an [earlier fork](https://github.com/kiriakos/mmserver) by Kiriakos Krastillos.

###install:
sudo make install
## Modifications

- Revised mouse acceleration algorithm.
- Added support for horizontal scrolling.
- Added user-configurable scrolling speed limit.
- Added support for middle mouse button.
- Fixed numeric keypad input of numerals.
- Fixed keyboard input of capital letters and some other characters (hack).
- Other minor changes and simplifications.

## Installation

##ORIGINAL README (Eric Lax):
First, install prerequisite packages:

About:
```sh
sh builddep.sh
```

This application was created by Erik Lax <[email protected]>.
Then, prepare the build directory:

http://sourceforge.net/projects/mmlinuxserver/
```sh
mkdir build
cd build
cmake ..
```

Build:
Lastly, compile and install the software:

sh builddep.sh
mkdir build
cd build
cmake ..
make
```sh
make
sudo make install
```

Install:
Invoke by running `mmserver` or by choosing *Mobile Mouse Server for Linux* from your system menu.

sudo make install
## Compatibility

cp ../mmserver.conf ~/.mmserver/mmserver.conf
chmod 0600 ~/.mmserver/mmserver.conf
Tested with version 2.7.1 of Mobile Mouse Pro for iOS. Other versions may or may not be compatible.

Edit ~/.mmserver/mmserver.conf accordingly.
## License

Test run /usr/sbin/mmserver ~/.mmserver/mmserver.conf

Autorun:

In Gnome, go to System -> Preferences -> Startup Applications
add a new Entry

Name: Mobile Mouse Server
Command: /usr/sbin/mmserver /home/<username>/.mmserver/mmserver.conf
Comment: (empty)

Login and logout again...

Have fun!
This software is freely distributed under the terms of the [GNU General Public License, version 2.0](http://www.gnu.org/licenses/gpl-2.0.txt). See the `LICENSE` file for details.
4 changes: 2 additions & 2 deletions share/mmserver.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Exec=/usr/sbin/mmserver
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=Mobile Mouse Linux Server
Comment=An unofficial Mobile Mouse Server for Linux
Name=Mobile Mouse Server for Linux
Comment=Modified Mobile Mouse Server for Linux
Categories=GNOME;GTK;Utility
Icon=/usr/share/mmserver/icons/mm-idle.svg
10 changes: 5 additions & 5 deletions src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,16 +192,16 @@ int main(int argc, char* argv[])
#ifdef TOOLBAR_ICON
void GTKTrayAbout(GtkMenuItem* item __attribute__((unused)), gpointer uptr __attribute__((unused)))
{
const gchar* authors[] = { "Erik Lax <[email protected]>", NULL };
const gchar* authors[] = { "Erik Lax <[email protected]>\nhttp://sourceforge.net/projects/mmlinuxserver/\n\nKiriakos Krastillis\nhttp://github.com/kiriakos/mmserver\n\nJim DeVona\nhttp://github.com/anoved/mmserver", NULL };
const gchar* license = "GNU GENERAL PUBLIC LICENSE\nVersion 2, June 1991\n\nhttp://www.gnu.org/licenses/gpl-2.0.txt";

GtkWidget* about = gtk_about_dialog_new();
gtk_about_dialog_set_name((GtkAboutDialog*)about, "Mobile Mouse Linux Server");
gtk_about_dialog_set_name((GtkAboutDialog*)about, "Mobile Mouse Server for Linux");
gtk_window_set_icon((GtkWindow*)about, gtk_widget_render_icon(about, GTK_STOCK_ABOUT, GTK_ICON_SIZE_MENU, NULL));
gtk_about_dialog_set_copyright((GtkAboutDialog*)about, "Copyright (C) 2011 Erik Lax");
gtk_about_dialog_set_copyright((GtkAboutDialog*)about, "Copyright (C) 2011 Erik Lax,\n2013 Kiriakos Krastillis, Jim DeVona");
gtk_about_dialog_set_version((GtkAboutDialog*)about, MMSERVER_VERSION_MAJOR"."MMSERVER_VERSION_MINOR"."MMSERVER_VERSION_PATCH);
gtk_about_dialog_set_website((GtkAboutDialog*)about, "http://sourceforge.net/projects/mmlinuxserver/");
gtk_about_dialog_set_comments((GtkAboutDialog*)about, "An unofficial Mobile Mouse (http://www.mobilemouse.com) server for Linux (X11) which implements mouse, keyboard and application functionality.");
gtk_about_dialog_set_website((GtkAboutDialog*)about, "https://github.com/anoved/mmserver/");
gtk_about_dialog_set_comments((GtkAboutDialog*)about, "An unofficial Mobile Mouse server for Linux. Use your iOS or Android device as a network mouse and keyboard for your Linux computer using Mobile Mouse and this software.");
gtk_about_dialog_set_authors((GtkAboutDialog*)about, authors);
gtk_about_dialog_set_license((GtkAboutDialog*)about, license);

Expand Down

0 comments on commit f555525

Please sign in to comment.