Skip to content

Instantly share code, notes, and snippets.

Stop error about nouveau and start using Intel iGPU only on Fedora (and it also applies to Debian/GNU Linux)

I'm using a Thinkpad T480 with GeForce MX150 dGPU option.

After the installation, Fedora 32 raises an error notification about nouveau on every boot up.

To get rid of this, you have two choices. You can install official proprietary driver for NVIDIA GeForce GPU. The other option is disabling GeForce dGPU at all.

You can blacklist nouveau to do that.

When you lost Windows Boot Manager from EFI partition

Sometimes you break your Windows Boot Manager when you set your PC to a dualboot configuration.

In some case, start-up Repair won't help you because files in EFI partition are missing.

If the Windows system partition is untouched, you can copy EFI files from the partition.

Boot with Windows 10 installation media. Choose Repair your computer. Start command prompt.

@squeuei
squeuei / SN520.md
Last active December 4, 2020 12:11
How to buy a SN520 M.2 2242 NVMe SSD
@squeuei
squeuei / grepcmd.md
Created December 27, 2020 02:38
Configuration to use `memo g` on Windows 10 / Powershell Environment

grepcmd = "powershell Select-String ${PATTERN} ${DIR}/*.md"

@squeuei
squeuei / encode_to_mp3.md
Created March 28, 2021 07:17
Encoding all .wav files to .mp3 in one line for PowerShell

Encoding all .wav files to .mp3 in one line for PowerShell

foreach ($TargetName in (Get-ChildItem ./ -Name | Where-Object {$_ -match '.wav$'}) ) { lame -b 320 "$TargetName"}

@squeuei
squeuei / adobe_air.md
Created April 6, 2021 14:56
How to Download Adobe AIR Runtime in 2021.
@squeuei
squeuei / fedora_33_and_SHA-1.md
Created June 28, 2021 12:18
When you have to access an website which uses SHA-1 on Fedora 33 or later.
@squeuei
squeuei / user-dic.md
Last active July 31, 2023 06:42
When you can't add a word to user dictionary of anthy

anthyでユーザ辞書にエントリを追加できないとき

空ファイル~/.anthy/private_words_defaultを作成してkasumiで単語登録する。初回はCLIでkasumi -aを使う方がいいかもしれない。理由は、エラーが出て失敗したことがわかりやすいため。anthy-unicodekasumi-unicodeでも同じように働く思われる。

When you can't add a word to user dictionary of anthy

Put an empty file as ~/.anthy/private_words_default and now you can add a word to user dictionary with kasumi. Maybe it's good to use kasumi -a on the terminal for the first time because it will raise an error. It should work on anthy-unicode and kasumi-unicode as well.