Skip to content

xorg.libX11 - runtime dependency on xorg.libXcursor? #24137

@pbogdan

Description

@pbogdan

Issue description

I've ran into a strange situation where certain applications wouldn't respect my mouse cursor settings. An example of that is rxvt_unicode. Stracing urxvt shown the process trying to load libXcursor library which seemed relevant, despite urxvt itself not being linked against it. Some further digging shown that libX11, on which urxvt depends, seems to try loading it dynamically at runtime, and once I installed xorg.libXcursor the issue went away.
Is the requirement of manual installation of libXcursor the expected behaviour?

Steps to reproduce

  1. Install rxvt_unicode package.
  2. Customise any cursor settings for example by adding the following to .Xdefaults:
Xcursor.size:  48
  1. Run
$ xrdb .Xdefaults
  1. Launch urxvt from the same shell session.

Technical details

  • System: 16.09.git.a574006 (Flounder)
  • Nix version: nix-env (Nix) 1.11.7
  • Nixpkgs version: 16.09.1836.067e66a

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions