Package: rofi
Version: 1.7.5-0.1+b1
Severity: wishlist
X-Debbugs-Cc: wes...@schwengle.net

Dear Maintainer,

I saw a cool thing on /r/unixporn on reddit and it made me look at rofi. I want
to replace it for the dmenu call to dmenu of suckless-tools. However there is
an issue.

rofi states that it is a drop-in replacement for dmenu. If you call rofi as
dmenu, eg by linking it ln -s /usr/bin/rofi /usr/bin/dmenu you get to have all
the toys. This works pretty well as long as you have suckless-tools installed.

Without suckless-tools i3 for example doesn't work correctly. This is because
i3 calls dmenu_run, which is provided by suckless-tools. dmenu_run calls
/usr/bin/dmenu_path which is also provided by suckless-tools.

My question is as follows, is there a way that both suckless-tools and rofi
start providing dmenu (as an update-alternatives) and that both suckless-tools
and rofi depend on a package that is called dmenu-data which provides dmenu_run
and dmenu_path?

I filed this against rofi, because rofi is the one not providing some of the
crucial infra to be a replacement for dmenu.

$ apt-cache depends i3
i3
  Depends: i3-wm
  Recommends: i3lock
  Recommends: suckless-tools
  Recommends: dunst

By implementing the dmenu_path and dmenu_run scripts from suckless-tools the i3
recommends can be either suckless-tools or rofi.

Many thanks!
Wesley



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental'), (500, 'testing'), (10, 
'stable-updates'), (10, 'stable-security'), (10, 'oldstable-security'), (10, 
'oldoldstable'), (10, 'stable'), (10, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.15-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages rofi depends on:
ii  libc6                     2.37-15
ii  libcairo2                 1.18.0-1+b1
ii  libgdk-pixbuf-2.0-0       2.42.10+dfsg-3+b1
ii  libglib2.0-0              2.78.4-1
ii  libpango-1.0-0            1.51.0+ds-4
ii  libpangocairo-1.0-0       1.51.0+ds-4
ii  libstartup-notification0  0.12-6+b1
ii  libxcb-cursor0            0.1.4-1+b1
ii  libxcb-ewmh2              0.4.1-1.1+b1
ii  libxcb-icccm4             0.4.1-1.1+b1
ii  libxcb-randr0             1.15-1
ii  libxcb-util1              0.4.0-1+b1
ii  libxcb-xinerama0          1.15-1
ii  libxcb-xkb1               1.15-1
ii  libxcb1                   1.15-1
ii  libxkbcommon-x11-0        1.6.0-1
ii  libxkbcommon0             1.6.0-1

rofi recommends no packages.

rofi suggests no packages.

-- no debconf information

Reply via email to