herzi / mango-lassi Goto Github PK
View Code? Open in Web Editor NEWFriendly Fork: Desktop Input Device Sharing
Home Page: http://0pointer.de/blog/projects/mango-lassi.html
Friendly Fork: Desktop Input Device Sharing
Home Page: http://0pointer.de/blog/projects/mango-lassi.html
README for herzi's mango-lassi ============================== THIS IS NOT THE OFFICIAL REPOSITORY This repository is created to do some development on Mango Lassi (which was originally written by Lennart Poettering). He asked me to simply fork his project to apply the changes I'm considering to add. When he does a review of the code here, he'll decide whether to merge my changes or whether to update the web references to guide people to this repository as the official one. Website: http://0pointer.de/blog/projects/mango-lassi.html Changes made in this tree: * added the patches from mango-lassi.sf.net (to fix some crashes and implement screen reordering) * add a menu item and a logo * be less verbose on the console (unless --verbose gets passed) * improved OSD overlays (only the background is transparent, the text and icon are opaque -- unless no RGBA colormap is available, then the display is the same) * use an icon view in the preferences (instead of a tree view) to provide a better model for rearranging displays * implement drag-and-drop reordering within the icon view * use GtkBuilder instead of libglade
What are the requirements to run mango lassi? I'm stuck with a lot of autoconf errors:
configure.ac:41: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:41: You should run autoupdate.
../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from...
configure.ac:41: the top level
configure.ac:46: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
configure.ac:46: the top level
configure.ac:133: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Also reporting here from: http://bugs.debian.org/585116
Unfortunately, I'm getting a segfault when I try to launch it, I'm
attaching a backtrace built with DEB_BUILD_OPTIONS="nostrip noopt".
System: Linux 2.6.34-1-686-bigmem #1 SMP Thu May 20 12:53:16 UTC 2010 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10801000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Darkilouche
Icon Theme: gnome
GTK+ Modules: gnomebreakpad, canberra-gtk-module
Memory status: size: 18485248 vsize: 18485248 resident: 5820416 share: 4861952 rss: 5820416 rss_rlim: 18446744073709551615
CPU usage: start_time: 1276072432 rtime: 1 utime: 1 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100
Backtrace was generated from '/usr/bin/mango-lassi'
[Thread debugging using libthread_db enabled]
0xb78c4424 in __kernel_vsyscall ()
#0 0xb78c4424 in __kernel_vsyscall ()
#1 0xb775cf23 in __waitpid_nocancel ()
at ../sysdeps/unix/syscall-template.S:82
#2 0xb785c80f in IA__g_spawn_sync (working_directory=0x0, argv=0x94b6d18,
envp=0x0, flags=G_SPAWN_SEARCH_PATH, child_setup=0, user_data=0x0,
standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0xbfa07dfc)
at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gspawn.c:386
#3 0xb785cb1c in IA__g_spawn_command_line_sync (
command_line=0x9510730 "bug-buddy --appname=\"mango-lassi\" --pid=28047",
standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0xbfa07dfc)
at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gspawn.c:700
#4 0xb69ed8f4 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#5
#6 0x08052b26 in log_handler (log_domain=0x0, log_level=G_LOG_LEVEL_DEBUG,
message=0x94bbf90 "Listening on port 7421", user_data=0x0)
at src/lassi-server.c:1547
#7 0xb69ed335 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#8 0xb7820805 in IA__g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_DEBUG,
format=0x8058914 "Listening on port %u", args1=0xbfa088bc "\375\034")
at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmessages.c:519
#9 0xb7820c36 in IA__g_log (log_domain=0x0, log_level=G_LOG_LEVEL_DEBUG,
format=0x8058914 "Listening on port %u")
at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmessages.c:569
#10 0x0805254b in server_init (ls=0xbfa08928) at src/lassi-server.c:1408
#11 0x08052d28 in main (argc=1, argv=0xbfa08b14) at src/lassi-server.c:1586
Thread 1 (Thread 0xb6bef720 (LWP 28047)):
#0 0xb78c4424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb775cf23 in __waitpid_nocancel ()
at ../sysdeps/unix/syscall-template.S:82
No locals.
#2 0xb785c80f in IA__g_spawn_sync (working_directory=0x0, argv=0x94b6d18,
envp=0x0, flags=G_SPAWN_SEARCH_PATH, child_setup=0, user_data=0x0,
standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0xbfa07dfc)
at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gspawn.c:386
outpipe = -1
errpipe = -1
pid = 28048
fds = {__fds_bits = {0, 155938084, -1080001368, -1216138275,
156126032, -1216222176, 0, 1, 0, 1, 156139520, 32, 72, 64,
156312480, -1217028191, -1217334792, 12, 0, 10517728, -1080001384,
-1080001372, 17, 156297824, 0, -1215679960, -1080001536,
-1080001396, -1080001400, 3, 155938072, 156126032}}
ret = <value optimized out>
outstr = 0x0
errstr = 0x0
failed = 0
status = <value optimized out>
__PRETTY_FUNCTION__ = "IA__g_spawn_sync"
#3 0xb785cb1c in IA__g_spawn_command_line_sync (
command_line=0x9510730 "bug-buddy --appname=\"mango-lassi\" --pid=28047",
standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0xbfa07dfc)
at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gspawn.c:700
retval = 0
argv = 0x94b6d18
__PRETTY_FUNCTION__ = "IA__g_spawn_command_line_sync"
#4 0xb69ed8f4 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#5
No symbol table info available.
#6 0x08052b26 in log_handler (log_domain=0x0, log_level=G_LOG_LEVEL_DEBUG,
message=0x94bbf90 "Listening on port 7421", user_data=0x0)
at src/lassi-server.c:1547
verbose = 0x0
#7 0xb69ed335 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#8 0xb7820805 in IA__g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_DEBUG,
format=0x8058914 "Listening on port %u", args1=0xbfa088bc "\375\034")
at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmessages.c:519
msg = 0x94bbf90 "Listening on port 7421"
depth = 0
domain = <value optimized out>
data = 0x0
log_func = 0xb69ed2f0
domain_fatal_mask = 5
test_level = G_LOG_LEVEL_DEBUG
was_recursion = 0
i = <value optimized out>
#9 0xb7820c36 in IA__g_log (log_domain=0x0, log_level=G_LOG_LEVEL_DEBUG,
format=0x8058914 "Listening on port %u")
at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmessages.c:569
No locals.
#10 0x0805254b in server_init (ls=0xbfa08928) at src/lassi-server.c:1408
e = {name = 0x0, message = 0x0, dummy1 = 1, dummy2 = 0, dummy3 = 0,
dummy4 = 0, dummy5 = 0, padding1 = 0xbfa08a68}
r = -1
port = 7421
__PRETTY_FUNCTION__ = "server_init"
#11 0x08052d28 in main (argc=1, argv=0xbfa08b14) at src/lassi-server.c:1586
verbose = 1
entries = {{long_name = 0x8058960 "verbose", short_name = 118 'v',
flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbfa08a5c,
description = 0x8058968 "display information useful for debugging", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0,
arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0,
arg_description = 0x0}}
ls = {dbus_server = 0x94b6c68, id = 0x0, address = 0x0, port = 7421,
connections = 0x0, n_connections = 0, connections_by_id = 0x0,
connections_left = 0x0, connections_right = 0x0,
active_generation = 0, active_connection = 0x0,
order_generation = 0, order = 0x0, clipboard_generation = 0,
clipboard_connection = 0x0, clipboard_empty = 0,
primary_generation = 0, primary_connection = 0x0, primary_empty = 0,
grab_info = {server = 0x0, display = 0x0, screen = 0x0, root = 0x0,
left_window = 0x0, right_window = 0x0, empty_cursor = 0x0,
grab_window = 0x0, base_x = 0, base_y = 0, last_x = 0, last_y = 0,
lock_mask = 0, left_shift = 0, right_shift = 0, double_shift = 0},
osd_info = {window = 0x0, label = 0x0, left_icon = 0x0,
right_icon = 0x0}, clipboard_info = {server = 0x0,
clipboard = 0x0, primary = 0x0}, avahi_info = {server = 0x0,
poll = 0x0, client = 0x0, group = 0x0, service_name = 0x0,
browser = 0x0}, tray_info = {server = 0x0, status_icon = 0x0,
menu = 0x0}, prefs_info = {server = 0x0, dialog = 0x0,
up_button = 0x0, down_button = 0x0, add_button = 0x0,
remove_button = 0x0, icon_view = 0x0, list_store = 0x0,
row_deleted_id = 0, row_inserted_id = 0, inserted_path = 0x0,
builder = 0x0}}
error = 0x0
A debugging session is active.
Inferior 1 [process 28047] will be detached.
Quit anyway? (y or n) [answered Y; input not from terminal]
----------- .xsession-errors (199 sec old) ---------------------
(liferea:10627): libsoup-CRITICAL *: soup_cookie_domain_matches: assertion host != NULL' failed (liferea:10627): libsoup-CRITICAL *_: soup_cookie_domain_matches: assertion
host != NULL' failed
(liferea:10627): libsoup-CRITICAL **: soup_cookie_domain_matches: assertionhost != NULL' failed (liferea:10627): libsoup-CRITICAL *_: soup_cookie_domain_matches: assertion
host != NULL' failed
(liferea:10627): libsoup-CRITICAL *: soup_cookie_domain_matches: assertion host != NULL' failed (liferea:10627): libsoup-CRITICAL **: soup_cookie_domain_matches: assertion
host != NULL' failed
** Message: console message: undefined @1: SyntaxError: Parse error
** Message: console message: undefined @1: SyntaxError: Parse error
As described in Debian bug #659906 [1],
Avahi upstream is planning to drop the GTK2 bindings from Avahi.
This means, mango-lassi needs to be ported to libavahi-ui-gtk3.
As mixing libgtk2 and libgtk3 in the same process is not allowed,
mango-lassi needs ported to GTK 3 fully.
[1] See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659906
As described here: http://launchpadlibrarian.net/60682404/mango-lassi_001%2Bdfsg-2ubuntu1_001%2Bdfsg-2ubuntu2.diff.gz
Bug was reported by Ubuntu.
it turns out mango-lassi is crashing out on me every couple of hours.
Basically the sharing session disconnects and I get this message
** (mango-lassi:3695): WARNING **: Received invalid message: Argument 0 is specified to be of type "int32", but is actually of type "uint32"
after this i have to recreate the session from the preferences dialog.
one machine is 11.10 (onieric) with package from repo (although this one segfaults when try to initiate a connection from its preferences, so I can only iniate sharing session from the 2nd machine)
other machine is 10.04 (lucid) built from source from here
Is there an option to disable the OSD's from displaying? (or set them to autohide after a few seconds?)
Hi,
Current README doesn't include details on how to use package. Can we have better documentation on usage. Manpage is not enough for users.
Lets start putting content in wiki and then we can make better docs out of it to put into package.
Thanks.
As described in Debian bug: http://bugs.debian.org/630290
We are planning to transition[0] libnotify to version 0.7 which
breaks its API.
Unfortunately, after a rebuild it seems that your package FTBFS with
the newer version.
Packages of the 0.7 version can be currently found in experimental.
API changes (shamelessly taken from[1]):
notify_notification_new_with_status_icon is gone
notify_notification_attach_to_status_icon is gone
notify_notification_attach_to_widget is gone
notify_notification_set_geometry_hints is gone
notify_notification_new has lost its widget argument
All rebuild logs can be found at:
http://people.debian.org/~bigon/libnotify0.7_rebuildlog/
Cheers
Laurent Bigonville
[0] http://release.debian.org/transitions/html/libnotify.html
[1] http://lists.fedoraproject.org/pipermail/devel/2010-November/144914.html
From: Olivier Berger [email protected]
Date: Sat, Jun 19, 2010 at 11:02 AM
Subject: Bug#586394: mango-lassi: Allow positioning desktop on top of each-other in addition of next to each-other
To: Debian Bug Tracking System [email protected]
Package: mango-lassi
Version: 001+dfsg-1
Severity: wishlist
Hi.
It would be great if mango-lassi allowed to stack screens on top of each-other (above/below) in addition of next to each-other (left/right), for cases when you pile screens in a vertical way.
Thanks in advance.
This page seems more 2 Years more actual then http://git.0pointer.net/mango-lassi.git/ (even there wasn't an action since 2010)
Tried to run in Ubuntu 16.04
Got no error message.
With hope :-)
Mannshoch
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.