Bug#924063: sway: Configure x-terminal-emulator as $term or add urxvt (and suckless-tools) to recommends and fix keyboard layout.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#924063: sway: Configure x-terminal-emulator as $term or add urxvt (and suckless-tools) to recommends and fix keyboard layout.

Javier Barroso-3
Package: sway
Version: 1.0~rc3-1
Severity: wishlist

Dear Maintainer,

Thank you for your Debian work

If you have not installed urxvt and/or suckless-tools (for dmenu) you will not be
able to launch any app from sway with default config (at least for my
knowledge)

So I'm proposing to add suckless-tools to recommended packages, and
changing in the default config urxvt to x-terminal-emulator (or adding
urxvt to the recommended list)

Maybe worth of mention on a (new) README.Debian (or similar) that if you want to have
a different layout keyboard than the default (english), you need to add
XKB_DEFAULT_LAYOUT to the languaje preferred, at my case:

$ cat /etc/environment.d/99sway.conf
XKB_DEFAULT_LAYOUT=es

Not sure how awesome (or others wm) solve this problem. Maybe the
correct solution is another.

Regards
PD: Sorry for mention 3 mini bugs only on one bug report, i hope it is
not problem


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8), LANGUAGE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sway depends on:
ii  libc6                2.28-8
ii  libcairo2            1.16.0-3
ii  libevdev2            1.6.0+dfsg-1
ii  libgdk-pixbuf2.0-0   2.38.0+dfsg-7
ii  libglib2.0-0         2.58.3-1
ii  libinput10           1.12.6-1
ii  libjson-c4           0.13.1+dfsg-2
ii  libpango-1.0-0       1.42.4-6
ii  libpangocairo-1.0-0  1.42.4-6
ii  libpcre3             2:8.39-11
ii  libpixman-1-0        0.36.0-1
ii  libsystemd0          241-1
ii  libwayland-client0   1.16.0-1
ii  libwayland-cursor0   1.16.0-1
ii  libwayland-server0   1.16.0-1
ii  libwlroots0          0.3-1
ii  libxcb1              1.13.1-2
ii  libxkbcommon0        0.8.2-1

Versions of packages sway recommends:
ii  sway-backgrounds  1.0~rc3-1

Versions of packages sway suggests:
pn  swayidle  <none>
pn  swaylock  <none>

-- Configuration Files:
/etc/sway/config changed [not included]

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#924063: sway: Configure x-terminal-emulator as $term or add urxvt (and suckless-tools) to recommends and fix keyboard layout.

Birger Schacht
Control: confirmed -1

Hello Javier,

thanks a lot for testing sway and sending feedback!

On 3/9/19 1:08 AM, Javier Barroso wrote:
> If you have not installed urxvt and/or suckless-tools (for dmenu) you will
> not be
> able to launch any app from sway with default config (at least for my
> knowledge)
>
> So I'm proposing to add suckless-tools to recommended packages, and
> changing in the default config urxvt to x-terminal-emulator (or adding
> urxvt to the recommended list)
Ah, you're right, dmenu should definitly be installed- for the terminal
i guess i'll patch the config (and recommend rxvt-unicode |
x-terminal-emulator, as it is done with i3-wm)

> Maybe worth of mention on a (new) README.Debian (or similar) that if you
> want to have
> a different layout keyboard than the default (english), you need to add
> XKB_DEFAULT_LAYOUT to the languaje preferred, at my case:
>
> $ cat /etc/environment.d/99sway.conf
> XKB_DEFAULT_LAYOUT=es
>
> Not sure how awesome (or others wm) solve this problem. Maybe the
> correct solution is another.
You can do input configuration in your sway config- you can get a list
of inputs with swaymsg -t get_inputs and configure the layout for the
keyboard using:
input <identifier> {
    xkb_layout us,de
    xkb_variant ,nodeadkeys
    xkb_options grp:alt_shift_toggle
}

in your config file (at least thats what the sway FAQ suggests
(https://github.com/swaywm/sway/wiki)

cheers,
Birger