Giter Club home page Giter Club logo

Comments (9)

K900 avatar K900 commented on July 28, 2024 3

Generally, wrongly rotated screens should be fixed at DRM level, not with hacks like these.

from nixpkgs.

RaitoBezarius avatar RaitoBezarius commented on July 28, 2024 2

This is not a good way to interact with developers from the NixOS project, consider changing your ways or we can close the issue here, to be honest.

from nixpkgs.

K900 avatar K900 commented on July 28, 2024 1

Do you have a device where the display orientation is incorrect? Or is your monitor physically rotated from its normal orientation?

from nixpkgs.

K900 avatar K900 commented on July 28, 2024 1

So which is it?

from nixpkgs.

RaitoBezarius avatar RaitoBezarius commented on July 28, 2024 1

This is not a good way to interact with developers from the NixOS project, consider changing your ways or we can close the issue here, to be honest.

from nixpkgs.

eclairevoyant avatar eclairevoyant commented on July 28, 2024

Currently this is how the config file is generated:

let
westonIni = (pkgs.formats.ini { }).generate "weston.ini" {
libinput = {
enable-tap = config.services.libinput.mouse.tapping;
left-handed = config.services.libinput.mouse.leftHanded;
};
keyboard = {
keymap_model = xcfg.xkb.model;
keymap_layout = xcfg.xkb.layout;
keymap_variant = xcfg.xkb.variant;
keymap_options = xcfg.xkb.options;
};
};
in
"${getExe pkgs.weston} --shell=kiosk -c ${westonIni}";

which you can use this as a starting point to set the compositor command (services.displayManager.sddm.wayland.compositorCommand)

CC @peterhoeg @K900 for input on how they want to handle this

from nixpkgs.

crftbt avatar crftbt commented on July 28, 2024

Generally, wrongly rotated screens should be fixed at DRM level, not with hacks like these.

Not really sure what this means. Would you provide some more guidance to help me understand?

from nixpkgs.

crftbt avatar crftbt commented on July 28, 2024

Yes

from nixpkgs.

crftbt avatar crftbt commented on July 28, 2024

The goal is to update the weston.ini configuration file in NixOS. See original post for details.

from nixpkgs.

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.