Compose key for Windows

Discussions worth keeping around later.
Post Reply
Aili Meilani
Lebom
Lebom
Posts: 144
Joined: Sun Feb 24, 2013 3:21 pm

Compose key for Windows

Post by Aili Meilani »

CKFW is not maintained anymore. Please use WinCompose instead.
Last edited by Aili Meilani on Sun Aug 17, 2014 12:44 pm, edited 4 times in total.

User avatar
Rhetorica
Avisaru
Avisaru
Posts: 271
Joined: Sun Nov 03, 2013 3:33 pm

Re: Compose key for Windows

Post by Rhetorica »

Image

The glory! The worship!

...the burning feeling of jealousy that I didn't do it first!

User avatar
Terra
Avisaru
Avisaru
Posts: 571
Joined: Tue May 24, 2005 10:01 am

Re: Compose key for Windows

Post by Terra »

What's wrong/sucks about the standard Windows Keyboard Layout Creator?

Aili Meilani
Lebom
Lebom
Posts: 144
Joined: Sun Feb 24, 2013 3:21 pm

Re: Compose key for Windows

Post by Aili Meilani »

It's more tedious to set up and modify, and I'm not sure it can handle cases more complicated than dead key + key → character. Or can it? Can it do the equivalent of compose + six keys → tens of characters (I actually use this!)?

User avatar
Drydic
Smeric
Smeric
Posts: 1652
Joined: Tue Oct 08, 2002 12:23 pm
Location: I am a prisoner in my own mind.
Contact:

Re: Compose key for Windows

Post by Drydic »

Aino Meilani wrote:It's more tedious to set up and modify, and I'm not sure it can handle cases more complicated than dead key + key → character. Or can it? Can it do the equivalent of compose + six keys → tens of characters (I actually use this!)?
It can't handle more than dead_key + key > character.
Image Image
Common Zein Scratchpad & other Stuffs! OMG AN ACTUAL CONPOST WTFBBQ

Formerly known as Drydic.

User avatar
Rhetorica
Avisaru
Avisaru
Posts: 271
Joined: Sun Nov 03, 2013 3:33 pm

Re: Compose key for Windows

Post by Rhetorica »

It's not entirely bad; I don't think I could ever completely give up a custom MSKLC layout in favour of a compose key. Being able to bind AltGr+E = é is a lot more efficient than, say, binding AltGr, E = é.

Aili Meilani
Lebom
Lebom
Posts: 144
Joined: Sun Feb 24, 2013 3:21 pm

Re: Compose key for Windows

Post by Aili Meilani »

To make it clear: "the existing programs" refers to other compose key implementations. CKFW is not meant to replace keyboard layouts, which is where AltGr and dead keys belong, it's meant to complement them. I'm still a heavy user of AltGr despite having written this tool, but there's only so much characters you can assign to AltGr+key.

User avatar
Rhetorica
Avisaru
Avisaru
Posts: 271
Joined: Sun Nov 03, 2013 3:33 pm

Re: Compose key for Windows

Post by Rhetorica »

Yeah, absolutely. I'm definitely going to be in the same boat. Thanks for a great implementation!

User avatar
ObsequiousNewt
Avisaru
Avisaru
Posts: 434
Joined: Fri Oct 18, 2013 5:05 pm
Location: /ˈaɪ̯əwʌ/

Re: Compose key for Windows

Post by ObsequiousNewt »

Works great for me, except:

I put the executable in my Startup folder so it would auto-run at login (C:\Users\constantine\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\), but, IFF I run it from the start menu, it's not looking in that directory for the config file. Where should I put the config?


Ο ορανς τα ανα̨ριθομον ϝερρον εͱεν ανθροποτροφον.
Το̨ ανθροπς αυ̨τ εκψον επ αθο̨ οραναμο̨ϝον.
Θαιν. Θαιν. Θαιν. Θαιν. Θαιν. Θαιν. Θαιν.

Aili Meilani
Lebom
Lebom
Posts: 144
Joined: Sun Feb 24, 2013 3:21 pm

Re: Compose key for Windows

Post by Aili Meilani »

Fuck if I know. This is one of the reasons I prefer the task scheduler.

I think the correct way to deal with the start menu would be to put a shortcut to the executable in there and set the working directory in the shortcut properties.

If all else fails or you're really don't want shortcuts, you can use the environment variable:
Aino Meilani wrote:If the environment variable CKFWRC exists and its value is a path to a readable file, use that file

User avatar
Rhetorica
Avisaru
Avisaru
Posts: 271
Joined: Sun Nov 03, 2013 3:33 pm

Re: Compose key for Windows

Post by Rhetorica »

ObsequiousNewt wrote:Works great for me, except:

I put the executable in my Startup folder so it would auto-run at login (C:\Users\constantine\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\), but, IFF I run it from the start menu, it's not looking in that directory for the config file. Where should I put the config?
You should never put an executable in your Start Menu; Windows isn't really designed for that, unlike Mac OS. It's probably looking in your home directory (c:\users\constantine) or (at worst) the directory that Explorer itself is running from (c:\windows) when you click on it. (Also, if you're putting the config file in the Startup folder, shouldn't you be assaulted by a text editor or file association window every time you log in?)

User avatar
ObsequiousNewt
Avisaru
Avisaru
Posts: 434
Joined: Fri Oct 18, 2013 5:05 pm
Location: /ˈaɪ̯əwʌ/

Re: Compose key for Windows

Post by ObsequiousNewt »

Rhetorica wrote:You should never put an executable in your Start Menu; Windows isn't really designed for that, unlike Mac OS. It's probably looking in your home directory (c:\users\constantine) or (at worst) the directory that Explorer itself is running from (c:\windows) when you click on it. (Also, if you're putting the config file in the Startup folder, shouldn't you be assaulted by a text editor or file association window every time you log in?)
Tried the former, didn't try the latter. (Also, I don't know, I just did it yesterday, but it might :P)

EDIT: Yes, it did. Anyway, I've got it setup in Task Scheduler now, so no worries :)


Ο ορανς τα ανα̨ριθομον ϝερρον εͱεν ανθροποτροφον.
Το̨ ανθροπς αυ̨τ εκψον επ αθο̨ οραναμο̨ϝον.
Θαιν. Θαιν. Θαιν. Θαιν. Θαιν. Θαιν. Θαιν.

User avatar
Drydic
Smeric
Smeric
Posts: 1652
Joined: Tue Oct 08, 2002 12:23 pm
Location: I am a prisoner in my own mind.
Contact:

Re: Compose key for Windows

Post by Drydic »

What's this coded in?
Image Image
Common Zein Scratchpad & other Stuffs! OMG AN ACTUAL CONPOST WTFBBQ

Formerly known as Drydic.

Aili Meilani
Lebom
Lebom
Posts: 144
Joined: Sun Feb 24, 2013 3:21 pm

Re: Compose key for Windows

Post by Aili Meilani »

In ugly C++.

Why do you ask?

User avatar
Drydic
Smeric
Smeric
Posts: 1652
Joined: Tue Oct 08, 2002 12:23 pm
Location: I am a prisoner in my own mind.
Contact:

Re: Compose key for Windows

Post by Drydic »

Someone was asking in irc if one could be written in Python, so I figured it pertinent to ask what this one was in.
Image Image
Common Zein Scratchpad & other Stuffs! OMG AN ACTUAL CONPOST WTFBBQ

Formerly known as Drydic.

Aili Meilani
Lebom
Lebom
Posts: 144
Joined: Sun Feb 24, 2013 3:21 pm

Re: Compose key for Windows

Post by Aili Meilani »

With enough ctypes, one certainly could be written in Python.

Aili Meilani
Lebom
Lebom
Posts: 144
Joined: Sun Feb 24, 2013 3:21 pm

Re: Compose key for Windows

Post by Aili Meilani »

CKFW is not maintained anymore. Please use WinCompose instead.

Post Reply