issues
Last Update:
Word Count:
Read Time:
日常问题大全
[0x001] 如何将md格式转doc
1 |
|
使用方式
1 |
|
[0x002] How to disable kwallet service
You could also edit file ~/.kde/share/config/kwalletrc
: adding to [Wallet]
section just one line
1 |
|
would disable kwallet popups.
If you have ~/.config/kwalletrc
file, do the same with it.
https://stackoverflow.com/questions/29594260/how-to-disable-kwallet-in-kde-plasma-5
[0x003]Vim设置Tab宽度/替换Tab为空格
用户配置:
在/home/logan/.vimrc中添加以下代码后,重启vim即可实现按TAB产生4个空格:
set ts=4 (注:ts是tabstop的缩写,设TAB宽4个空格)
set expandtab
对于已保存的文件,可以使用下面的方法进行空格和TAB的替换:
TAB替换为空格:
:set ts=4
:set expandtab
:%retab!
空格替换为TAB:
:set ts=4
:set noexpandtab
:%retab!
加!是用于处理非空白字符之后的TAB,即所有的TAB,若不加!,则只处理行首的TAB。
[0x004] System settings won’t open after changing Application style
Title. I was wondering if there was a way to change the Application style without opening System Settings.
Trying to open System settings from the terminal gives me this:
1 |
|
start up
1 |
|
[0x005] Failed to start Load/Save Screen Backlight Brightness
1 |
|
Just added acpi_backlight=vendor to the arguments of the kernel and everything seems to work now!
/etc/default/grub:
1 |
|
Do not forget to run sudo update-grub
afterwards.
ref: https://bbs.archlinux.org/viewtopic.php?id=211967
ref: https://bbs.archlinux.org/viewtopic.php?id=261613
ref: https://unix.stackexchange.com/questions/393185/backlightacpi-video0-no-such-device
[0x007] Backlight and add kenel module
https://wiki.archlinux.org/index.php/backlight
https://bbs.archlinux.org/viewtopic.php?id=257810
Add kenel module
vim /etc/mkinitcpio.conf
I added amdgpu to modules
Now it looks like this:
MODULES=(amdgpu)
Then I regenerated initframs:
mkinitcpio -P
[0x008] Pyinstaller throwing AttributeError: ‘NoneType’ object has no attribute ‘groups’ error
Update Pyinstaller from github can solve this problem.
1 |
|
ref:
https://github.com/pyinstaller/pyinstaller/issues/5552#ref-issue-804386339
[0x009] How to save root file by vim when opened with no-root user
Input command in vim
1 |
|
ref: https://www.cnblogs.com/jackie-astro/p/13295584.html
virtualbox6.1.34无法启动问题
问题如下
1 |
|
是vitualbox 6.1.34的一个bug,下载 6.1.32即可,https://www.virtualbox.org/download/testcase/VirtualBox-6.1-6.1.33_150501_el8-1.x86_64.rpm
解压后进入到usr/lib/virtualbox/,然后替换文件。
sudo cp ./VBoxDDR0.r0 /usr/lib/virtualbox/VBoxDDR0.r0