GithubHelp home page GithubHelp logo

Comments (7)

phillipberndt avatar phillipberndt commented on July 21, 2024

Sounds reasonable.

Since this is a major change, let's wait a few days with this: Regarding the licensing issue #7, I noticed that much of wertarbyte's code is too trivial to be rewritten in another way, and I don't know enough about copyright law to be absolutely certain that this is not a problem. I wrote him an email yesterday, and hopefully he'll reply. If he doesn't, this conceptual change would be a great opportunity to rewrite the whole thing from scratch, keeping configuration/parameter compatibility of course. (autorandr isn't that big/complicated, after all.. and we could switch to Python or Perl to ditch the awk/sed scripts.)

from autorandr.

tachylatus avatar tachylatus commented on July 21, 2024

Yeah, I guess it would make sense to just rewrite it, although I don't have much experience with neither Python nor Perl ;-)

I was planning on working on these new issues/requests myself (see #9).

from autorandr.

phillipberndt avatar phillipberndt commented on July 21, 2024

I couldn't resist: https://github.com/phillipberndt/autorandr/blob/license/autorandr.py

This is very early and experimental code, and I haven't tested it very much. Both your suggestions should already work though. Please consider this as a suggestion on where we could go with autorandr rather than something I'd like to impose on anyone.. I'm open to suggestions.

(I'll write a follow-up to #7 tomorrow, where I'll also ask the others that don't follow this issue for their opinion & more on why I think a rewrite is the safest option.)

from autorandr.

tachylatus avatar tachylatus commented on July 21, 2024

Haha, that's brilliant!
I couldn't resist either, and have been learning Perl since yesterday.

Here's my little Perl experiment:
https://github.com/tachylatus/autorandr/blob/perl-experiment/autorandr.pl

I only just got the xrandr output parsing working (including transform matrix and reflections), but the whole program is far from done.
Anyway, your Python version looks much nicer, so I guess I'll start learning some Python now :-)

from autorandr.

phillipberndt avatar phillipberndt commented on July 21, 2024

See #7; a bash implementation of this might be of interest, after all. (Depends on which version you'll be going to use. ;-))

from autorandr.

phillipberndt avatar phillipberndt commented on July 21, 2024

Does this work as expected for you in the Python version? It should, but I still haven't thoroughly tested this.

from autorandr.

phillipberndt avatar phillipberndt commented on July 21, 2024

I have been using this for some time now and it seems to be stable. This night need some changes to properly support providers when RandR 1.5 becomes more widespread, still, for now, I'll close this as fixed.

(See also: http://cgit.freedesktop.org/xorg/app/xrandr/commit/?id=d06730e94320175d40ff6f2bb38dce55312f2e54)

from autorandr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.