Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jeonghanlee/kakaotalk-env
Browse files Browse the repository at this point in the history
  • Loading branch information
jeonghanlee committed Jun 15, 2023
2 parents 2d19693 + 83f65a5 commit 1dcccc9
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
# kakaotalk-env

![Linter Run](https://github.com/jeonghanlee/kakaotalk-env/workflows/Linter%20Run/badge.svg)
[![Linter Run](https://github.com/jeonghanlee/kakaotalk-env/actions/workflows/linter.yml/badge.svg)](https://github.com/jeonghanlee/kakaotalk-env/actions/workflows/linter.yml)

Configuration Environment for KakaoTalk [1] and its wrapper script to start and quit the Kakao Talk in the Debian / Ubuntu Linux.
Configuration Environment for KakaoTalk [1] and its wrapper script to start and quit Kakao Talk in the Debian / Ubuntu Linux.

## Backgroud

I am weak to type many words with the small phone, and it turns out so many typos in messages. Since Kakao doesn't support the KakaoTalk Desktop for Linux distribution, so I just tried to install it through Wine. This repository was turned out my struggle while doing so. I hope that Kakao should support their application for Linux architecture more and more. I am pretty sure that the company has a lot of benefits from Linux community.
I am weak in typing many words with a small phone, and it turns out so many typos in messages. Since Kakao doesn't support the KakaoTalk Desktop for Linux distribution, I just tried to install it through Wine. This repository turned out to be my struggle while doing so. Kakao should support their application for Linux architecture more and more. The company has a lot of benefits from the Linux community.

## Preparation (Debian 12)

Note that with the default Debian installation, `${USER}` doesn't belong to `sudo` group. One should add the relevant user account to system `sudo` group.
Note that with the default Debian installation, `${USER}` doesn't belong to the `sudo` group. One should add the relevant user account to the system `sudo` group.

```bash
usermod -aG sudo ${USER}
```

Of course, one should logout and login in, then be back to this console.
Of course, one should log out and log in, then return to this console.

* Install required packages and **Wine 8 stable** (latest) from Winehq repository (Debian package Wine doesn't work with Kakaotalk).
* Install required packages and **Wine 8 stable** (latest) from the Winehq repository (Debian package Wine doesn't work with Kakaotalk).


```bash
bash scripts/updateWine4Debian12.bash
```

* Configure Wine first. And choose Window 10. (It doesn't matter actually.)
* Configure Wine first. And choose Window 10. (It doesn't matter, actually.)

```bash
winecfg
Expand Down Expand Up @@ -61,13 +61,13 @@ $ make setup
|**Setup Step 3** |


* Unselect the checkbox with Daum prefix
* Unselect the checkbox with the Daum prefix

|![setupi4.png](images/setup4.png)|
| :---: |
|**Setup Step 4** |

* Select Middle button (as default). One has to login the Kakao service with an accout.
* Select the Middle button (as default). One has to log in to the Kakao service with an account.

|![setup5.png](images/setup5.png)|
| :---: |
Expand All @@ -82,7 +82,7 @@ $ make setup
|**Setup Step 7** |

* One should go `화면` option, the sixth from top to bottom, in the left broken menu. The first and second options in the right panel are shown in the following picture.
Please select the second one as Nanum font. Then the application will ask us to reboot. After rebooting one can see the Korean font well.
Please select the second one as Nanum font. Then the application will ask us to reboot. After rebooting, one can see the Korean font well.

|![setup8.png](images/setup8.png)|
| :---: |
Expand All @@ -101,11 +101,11 @@ Download `KakaoTalk_Setup.exe` from [2].

### `make conf`

This rule make the basic Korean font setup for KakaoTalk by editing `$HOME/.wine/system.reg`. The default font I've tested is `NanumGothic`. If one would like to test other fonts, please check `DEFAULT_FONT` in `configure/CONFIG` file.
This rule makes the basic Korean font setup for KakaoTalk by editing `$HOME/.wine/system.reg`. The default font I've tested is `NanumGothic`. If you want to test other fonts, please check `DEFAULT_FONT` in the `configure/CONFIG` file.

### `make conf.show`

This rule shows what two defintions are in `$HOME/.wine/system.reg`.
This rule shows the two definitions in `$HOME/.wine/system.reg`.

```bash
$ make conf.show
Expand All @@ -117,9 +117,9 @@ $ make conf.show

Install KakaoTalk.

* Login with Kakao account
* Login with a Kakao account

With the `kakaotalk.bash`, one can register this application with the Kakao-Talk. And it may start and kill few times.
With the `kakaotalk.bash`, one can register this application with the Kakao-Talk. And it may start and kill a few times.

### `make uninstall`

Expand All @@ -133,11 +133,11 @@ The automatic update doesn't work. However, we can install it again from scratch
make upgrade
```

If one has the exist `KakaoTalk_Setup.exe` file locally, the rule triggers an additional rule `make backup`. This backup rule renames the exist installation file with an extracted version number suffix, for example, `KakaoTalk_Setup.exe_v3.1.6.2572`. If the same version file exists, it will overwrite it. In case, the latest version doesn't work, use this backup file to recover it.
If one has the existing `KakaoTalk_Setup.exe` file locally, the rule triggers an additional rule, `make backup`. This backup rule renames the existing installation file with an extracted version number suffix, for example, `KakaoTalk_Setup.exe_v3.1.6.2572`. If the same version file exists, it will overwrite it. In case the latest version doesn't work, use this backup file to recover it.

## Command line Commands

Usually, `Mate Desktop` one can find the Kakao icon in `Applicatons / Wine / Programs / Kakao Talk. However, sometime, the command line is useful.
Usually, In `Mate Desktop`, one can find the Kakao icon in `Applications / Wine / Programs / Kakao Talk. However, sometimes, the command line is useful.

* Start it

Expand All @@ -161,17 +161,17 @@ make stop

## Ubuntu 20.04

* There is no `NanumGothic`, but one can select `NanumBarunGothic` in setting of KakaoTalk.
* There is no `NanumGothic`, but one can select `NanumBarunGothic` in the setting of KakaoTalk.

|![Ubuntu20](images/ubuntu20.png)|
| :---: |
|**Figure 11** Kakao Talk Setting. |

* ufw is the default active stage, but disable. I tested with both disable and enable (with gufw) with the default ufw firewald configuration. Both case work fine.
* ufw is the default active stage but disabled. I tested with both disable and enable (with gufw) with the default ufw firewall configuration. Both cases work fine.

## Doesn't work

In case, this repository doesn't work for anyone. One may try the method with PlayOnLinux shown in https://github.com/kimlulz/Katalk_linux.
In case this repository doesn't work for anyone. One may try the method with PlayOnLinux, shown at https://github.com/kimlulz/Katalk_linux.

## More Screenshots

Expand All @@ -189,7 +189,7 @@ In case, this repository doesn't work for anyone. One may try the method with Pl

## Korean Input System

I don't use the Korean Locale, because it makes me so many troubles to build programs since my First SUSE / Redhat Linux. Now it is much better than before. But I don't need to use them also. I delightly use `ibus-hangul`, it is easy to setup, and work very well [3]. Here is my locale information if anyone have some difficulties.
I don't use the Korean Locale because it makes me so much trouble building programs since my First SUSE / Redhat Linux. Now it is much better than before. But I don't need to use them also. I delightedly use `ibus-hangul`; it is easy to set up and works very well [3]. Here is my locale information if anyone has some difficulties.

```bash
LANG=en_US.UTF-8
Expand Down

0 comments on commit 1dcccc9

Please sign in to comment.