Sunday, September 9, 2012

taralli: Screen edge pointer wrapping for X

The maximum travel distance between points on a desktop is substantially reduced if the pointer is allowed to travel off a screen edge and reappear at the opposite edge. In other words, we change the topology of the desktop to be that of a torus. This is not a new idea: it's implemented in several window managers, programs for Windows and Mac OS X, and is even the subject of a research paper.

I wanted a standalone program to implement mouse pointer wrapping for X Windows on GNU/Linux. Previously I was using Synergy for this task. Synergy is a very cool program, but it's not a good choice for pointer wrapping on a single machine.

  • Correctness: I have several monitors at different resolutions, which means my desktop isn't rectangular. Synergy didn't understand where the edge of each monitor is.

  • Security: I don't need the exposure of 95,000 lines of code for this simple task. Even if there are no bugs in Synergy, I'm one configuration mistake away from running an unencrypted network keylogger.

  • Energy efficiency: Synergy wakes up 40 times per second even when nothing is happening. This can have a significant impact on laptop battery life.

So I wrote taralli as a simple replacement. It doesn't automatically understand non-rectangular desktops, but you can easily customize the pointer position mapping, to implement multi-monitor wrap-around or many other behaviors. (If someone would like to contribute the code to get multi-monitor information from Xinerama or something, I would be happy to add that.)

taralli is under 100 lines of C99. It has been tested on GNU/Linux and is likely portable to other X platforms. You can download it from GitHub, which is also a great place to submit any bug reports or patches.

111 comments:

  1. I would love to download and check it out but before this I gotta get a laptop screen replacement to get back my laptop life.

    ReplyDelete
  2. Nice article, thanks for the information. It's very complete information. I will bookmark for next reference
    jaring futsal | jaring golf | jaring pengaman proyek |
    jaring pengaman bangunan | jaring pengaman gedung
    http://www.jual-jaring.blogspot.com/
    http://www.agen-jaring.blogspot.com/
    http://www.pancasamudera-safetynet.blogspot.com/
    http://www.toko-jaring.blogspot.com/
    http://www.pusat-jaring.blogspot.com/
    http://jualjaringpengaman.blogspot.com/
    https://pancasamudera.wordpress.com/
    https://pasangjaringfutsal.wordpress.com/
    https://jualtambangmurah.wordpress.com/
    https://tokojaring.wordpress.com/
    https://jualjaringfutsal.wordpress.com/
    https://jaringfutsal.wordpress.com/


    ReplyDelete
  3. Nice Post, Thanks for your very useful information...

    ReplyDelete
  4. I really liked this part of the article, with a nice and interesting topics have helped a lot of people who do not challenge things people should know... you need more publicize this so many people who know about it are rare for people to know this, Success for you..

    ReplyDelete
  5. A lot of things that can increase my knowledge here, I continue to monitor your blog for updates. Thankyou i really love it

    Filehippo

    ReplyDelete
  6. I really liked this part of the article, with a nice and interesting topics have helped a lot of people who do not challenge things people should know... you need more publicize this so many people who know about it are rare for people to know this, Success for you. Download Firefox 2016 Download Firefox 2016 Download Firefox 2016 Download Smadav 2016


    smadav 2016

    ReplyDelete
  7. I know where I'm going and I know the truth, and I don't have to be what you want me to be. I'm free to be what I want.Thankyou i really love it

    sharelink
    filehippo
    2016 free download latest version
    acehfreesoft
    umarka
    offlineinstallerfilehippo
    esoftpedia
    filehorse
    supportcanon
    freedownloadlatetsversion

    ReplyDelete
  8. Hi,
    That’s an amazing post. I’m sure these techniques will work for beginners. thanks for sharing great admin.
    Thanks
    for Sharing

    ReplyDelete
  9. Thanks for sharing, nice blog. This is a great article. It gave me a lot of useful information. plese visit me
    IDM 6.5 Build 5 kegan
    Trend Micro Antivirus
    Windows 7 Product Key
    Adobe Illustrator CC 2016 Crack

    ReplyDelete
  10. this site very helpful for reader and get more information here, and i found this blog good infomation and sharing about all

    brother mfc 8950dwt driver

    ReplyDelete
  11. Thanks for the best blog.it was very useful for me.keep sharing such ideas in the future as well. Thanks for giving me the useful information. I think I need it!
    Hug Day SMS 217
    Kiss Day SMS 2017

    ReplyDelete
  12. Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
    i also found some helpful sites like yours.



    IRCTC
    irctc login

    erail

    NTES

    Indian Railway

    Train enquiry

    PNR Status

    Pnr enquiry

    running status


    spot your train
    live train status
    Train between stations
    book train tickets

    ReplyDelete
  13. Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
    i also found some helpful sites like yours.


    Govt jobs
    free jobs
    job alerts
    fresh job alert
    bank jobs
    ibps jobs
    ssc jobs
    railway recruitment
    recruitment 2017
    latest jobs
    upcoming jobs
    army jobs

    ReplyDelete
  14. Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
    i also found some helpful sites like yours.


    digital marketing
    SEO
    social media marketing
    web development
    software development
    SEM
    PPC
    affiliape marketing
    email marketing
    advertising agency

    ReplyDelete
  15. Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
    i also found some helpful sites like yours.


    West Bengal Police jobs
    HSSC jobs
    RPSC jobs
    fresh job alert
    WPSC jobs
    IBPS jobs
    SSC jobs
    RRB recruitment
    RRC recruitment 2018
    Bihar police reruitment
    Bank jobs
    Latest jobs
    UPSSC jobs
    ARMY jobs
    Upcoming jobs

    ReplyDelete
  16. Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
    i also found some helpful sites like yours.



    Recipes
    Best recipes
    Atozrecipes
    All recipes
    Indian recipes
    Punjabi recipes
    Chinese recipes
    Paneer recipes
    Sabji
    Breakfast recipes
    Dinner recipes
    Healthy recipes

    ReplyDelete
  17. This article is interesting and useful. Thank you for sharing. And let me share an article about health that God willing will be very useful. Thank you :)

    Cara Mengatasi Diare
    Obat Sariawan Alami
    Obat Penghancur Batu ginjal
    Cara Mudah Mengobati Diabetes
    Cara Menyembuhkan Mata Minus
    Cara Mengobati Gusi Bengkak

    ReplyDelete
  18. This is a wonderful article, Given so much info in it, You can see Travel Nearby best tourist place Best Honeymoon Destination in this page. Places to visit in Goa
    Weekend Gateways Near Pune
    Beautifull Hill Station for Couples

    ReplyDelete
  19. Thanks for sharing such beautiful information with us This is a wonderful article, Given so much info in it, You can see Travel Nearby best tourist place Best Honeymoon Destination in this page.

    Places to visit in Dharamshala
    Places to visit in Kasol
    Places to visit in Kinnaur
    Travel Destination Near Manali
    Beautifull Hill Station Shimla for Couples
    Tourist Place Near Kasauli

    ReplyDelete
  20. The post is written in very a good manner and it contains many useful information for me. Thank you very useful information admin, and pardon me permission to share articles here may help :

    risa herbal
    cara menghilangkan benjolan
    toko obat herbal sapnudin
    sehat dan cantik alami
    khasiat obat herbal
    cara menghilangkan bekas jerawat

    ReplyDelete
  21. Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
    i also found some helpful sites like yours.

    Emi Calculator for Home Loan
    Emi Calculator for Car loan
    Emi Calculator for Personal Loan
    Emi Calculators for Education Loan
    Emi Calculator for Two Wheeler Loan
    Emi Calculator for Credit Card Loan

    ReplyDelete
  22. Sweet blog! I found it while searching on Yahoo News.Do you have any tips on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Many thanks
    VTU 6th Sem Civil Notes

    ReplyDelete

  23. The dynamism of the Power combined together of a core focused high-spirited,aggressive and enthusiastic team at Bangalore Secretarial Services with an bulls eye view of the envisioned target is success Mantra in Bangalore Secretarial Services and the vitality of the Power combined together of focused high-spirited individuals show cases the buoyancy and ebullience in our set goals and is the success Mantra in Bangalore Secretarial Services
    https://www.bangaloresecretary.com/placements-consultancy-services

    ReplyDelete
  24. we Headhunters in India know precisely where to look for your desired person and existing clients with us know that we are the only the most convenient and straight forward head hunting firm in India and user-friendly and time-effective way to fill a role.
    https://www.bangaloresecretary.com/head-hunters-in-India


    Head hunters India

    ReplyDelete
  25. I have been reading out a few of your posts and it’s clever stuff. www.gumawawebsite.blogspot.com

    ReplyDelete
  26. It is a good and amazing article. Your information is very useful for me and for others. thank you so much. www.freesitemaker.net

    ReplyDelete
  27. Double Down codes is a Fan Site and is not endorsed by or affiliated with double down Slot Machine. double down codes

    ReplyDelete
  28. Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live. I have bookmarked more article from this website. Such a nice blog you are providing ! Kindly Visit Us @ Packers And Movers Mumbai

    ReplyDelete
  29. Local Packers and Movers Bangalore List, Get Best Price Quotes, Compare Movers and packers Charges, Top, Local Household Shifting Services. Packers And Movers Bangalore

    ReplyDelete
  30. Packers and Movers Gurgaon Provide Reliable, Safe and Certified Service Provider list, Get Free ***Best Price Quotaition and Compare Charges. ???Hassle free Household Shifting Services, High Quality packing Material, Office Relocation, Car Transportaion, ###Local and Domestic Shifting Service @
    Packers And Movers Gurgaon

    ReplyDelete
  31. Get Shifting/Relocation Quotation from ###Packers and Movers Delhi. Packers and Movers Delhi 100% Affordable and Reliable ***Household Shifting Services. Compare Transportation Charges and Save Time, Verified and Trusted Packers and Movers in Delhi, Cheap and Safe Local, Domestic House Shifting @ Packers And Movers Delhi

    ReplyDelete
  32. Your article is great. Take a look at mine. zazasudawan

    ReplyDelete
  33. Your article is great. Come in, read my stuff, click. >> Support me
    iphonemodxx
    UFABET

    ReplyDelete
  34. WOW! I Love it...
    and i thing thats good for you >>


    THE MOVIE Thank you!

    ReplyDelete
  35. I am really enjoying reading your well written articles. I think you spend numerous effort and time updating your blog.
    @ Local Packers And Movers Bangalore

    ReplyDelete
  36. You can without much of a stretch fix any issue identified with your printer driver. ... Thus, the inquiry is: hp printer won't install on windows 10 ... It is, consequently, suggested that you introduce the accessible Windows updates to fix the issue.

    ReplyDelete
  37. This comment has been removed by the author.

    ReplyDelete
  38. "ห้ามพลาดครีม มาร์คสิว ในตำนาน>> REVIEW"

    ReplyDelete
  39. Microsoft Office 365
    Cracked Here is a useful place where you can easily find Activators, Patch, Full version software Free Download, License key, serial key, keygen, Activation Key and Torrents. Get all of these by easily just on a single click.
    https://crackzoom.com/

    ReplyDelete
  40. If Hp printer's status displays hp printer in error state there may be a problem with the Hp printer itself. Now Fix HP Printer in Error State.

    ReplyDelete
  41. 123.hp.com/setup - Complete Hp Printer setup, Driver Software installation, 123 hp com wireless setup & Troubleshooting 123hpcom Printer.

    ReplyDelete
  42. Suggest good information in this message, click here.
    meraldgardensnw
    1idee-cadeau

    ReplyDelete
  43. How to connect hp deskjet 2540 to wifi password,Steps to get the wireless direct password of HP Deskjet 2540, direct wireless password type

    ReplyDelete
  44. 123.hp.com/setup - Visit 123.com.setup to download & a 123.hp.com setup for , Multifunctional InkJet,HP DeskJet, LaserJet, and other printer drivers.

    ReplyDelete
  45. MP Board Syllabus The syllabus is always necessary as it guides us on what to study. The Madhya Pradesh Board provides an updated and comprehensive syllabus for each class. MP 3rd Class Textbook The syllabus is prepared after extensive research and it covers all the relevant topics which are necessary to learn the subject thoroughly. The Board maintains a standard syllabus to impart a standard education to the entire state.

    ReplyDelete
  46. I read your post. It is so an informative post. I appreciate your work and your knowledge.
    Akshi Engineers Pvt. Ltd. is well-known industry for Drivers & Automation Manufacturers, Suppliers & Exporters as per client's requirements in India. We provide tailored solutions for a wide range of industries, including electric drivers and automation, with the goal of revolutionizing energy conservation efforts by introducing reputable corporations' revolutionary power-saving products.

    ReplyDelete

  47. I am very impressed with your post because this post is very beneficial for me and provide a new knowledge to me
    KakaoTalk for Windows & Mac Crack

    ReplyDelete
  48. We at Bajrangi Astro are an astrological firm providing astrological solutions to all the questions related to the various Life aspects. If you are stuck anywhere in Life and looking for a top astrologer near me, then come to us.

    ReplyDelete