On Fri, Jan 13, 2017 at 11:23:28PM +0800, Ivan Tham wrote:
> On Thu, Jan 12, 2017 at 07:25:06PM +0100, Patrick Bucher wrote:
> > I'm using st and dwm at the same time, and today I discovered a little problem
> > when using the default config of both programs. st uses Alt-Shift-C to copy text
> > into the clipboard, dwm uses Mod1-Shift-C for closing the selected window,
> > whereas Mod1 is Alt by default, at least on my machine. (Maybe some of you use
> > Super_L, vulgo "the Windows key".)
>
> Windows key is a better choice most of the time since it's unused except
> in qemu where windows uses super key so it clashes. Alt would be bad
> since most applications uses Alt like Alt+1 in firefox, Alt+f in
> terminal.
>
As you and many others suggested, I am now using the Windows key as well. It's a
bit strange at the beginning, for my thumb has to move a bit more to the left,
but at the same time I can use a lot more key combinations that require Alt,
such as the one mentioned in st, but also some emacs-style readline commands.
> > So guess what happened when I was trying to copy some code into the clipboard
> > today ;-)
>
> Try using the primary clipboard, I use that most of the time. I only use
> the clipboard when it comes to Google drive stuff since they clipboard
> sucks and don't support primary keyboard.
>
Now Alt also works here, but I also started using autocutsel, as an other user
suggested; thank you, it's working fine.
> > PS: Anybody using Arch Linux here? Since the fontconfig update today st no
> > longer works with my font of choice Terminus. Just in case somebody has the same
> > problem... here's my font[] definition:
> >
> > static char font[] = "Terminus:pixelsize=24:antialias=true:autohint=true:lang=ru";
>
> I use Arch here with Void (Musl is broken with locale so no Chinese
> LC_DATETIME), I heard that there is some issues with the latest update
> where my friend can't use Inifinity but I am still be able to use
> ttf-mononoki here fine.
>
> I don't know how to solve that but still hope you good luck!
>
As somebody else already pointed out, the freetype library has a different
behaviour, requiring "xos4 Terminus" instead of "Terminus" to find the font. It
works for me, but there is still a discussion going on:
https://bugs.gentoo.org/show_bug.cgi?id=605168
Thank you for all your help!
Patrick
Received on Fri Jan 13 2017 - 17:25:00 CET