kali linux常用配置
tags: kali
kali linux常用配置
持续更新
适用kali linux 2020.1b amd64
1. qterminal使用login shell
kali linux 2020.1b amd64将默认的terminal切换成了qterminal,使用qterminal默认打开的bash的non-login bash,不会自动加载profile。
可以配置一下快捷键:菜单->设置->键盘->应用程序快捷键
配置CTRL+ALT+T启动命令为qterminal -e "bash --login"
, 即可默认加载profile。
2. 替换qterminal为gnome-terminal
qterminal并不是一个好方案,例如它的历史记录很短, 而gnome-terminal可以无限往上翻
apt-get update gnome-terminal
同时修改一下首选应用程序中的terminal为gnome-terminal, 这个修改会使x-terminal-emulator命令默认打开gnome-terminal
菜单->设置->首选应用程序->实用程序->终端模拟器->GNOME终端->注销重新登录生效
3. debian系操作系统ssh开机启动
systemctl enable ssh
4. 更改桌面文件夹为英文
cp ~/.config/user-dirs.dirs ~/.config/user-dirs.dirs.bak
sed -i "s/桌面/Desktop/g" ~/.config/user-dirs.dirs
sed -i "s/下载/Downloads/g" ~/.config/user-dirs.dirs
sed -i "s/模板/Templates/g" ~/.config/user-dirs.dirs
sed -i "s/公共/Public/g" ~/.config/user-dirs.dirs
sed -i "s/文档/Documents/g" ~/.config/user-dirs.dirs
sed -i "s/音乐/Music/g" ~/.config/user-dirs.dirs
sed -i "s/图片/Pictures/g" ~/.config/user-dirs.dirs
sed -i "s/视频/Videos/g" ~/.config/user-dirs.dirs
cd
mv 桌面 Desktop
mv 下载 Downloads
mv 模板 Templates
mv 公共 Public
mv 文档 Documents
mv 音乐 Music
mv 图片 Pictures
mv 视频 Videos
5. 怎样解决双系统Windows10时间快和Linux时间差问题?
timedatectl set-local-rtc 1 --adjust-system-clock
https://www.zhihu.com/question/46525639/answer/157272414
6. 截图
6.1 gnome-screenshot
配置快捷键
- CTRL+ALT+A:
gnome-screenshot -a
- CTRL+ALT+S:
gnome-screenshot -a -c
6.2 flameshot
https://github.com/flameshot-org/flameshot
apt-get install flameshot
配置快捷键
- CTRL+ALT+A:
flameshot gui
或proxychains flameshot
(如果需要绕过gfw上传到imgur)
7. fusuma
8. 谷歌拼音
https://blog.csdn.net/kan2016/article/details/105735645
9. zsh
9.1 oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
9.2 theme
https://github.com/romkatv/powerlevel10k#oh-my-zsh
编辑 .zshrc
ZSH_THEME="random"
# ZSH_THEME_RANDOM_CANDIDATES=(
"3den" "cloud" "fino-time" "half-life" "kiwi" "murilasso" "rkj" "terminalparty"
"adben" "crcandy" "fino" "humza" "kolo" "muse" "robbyrussell" "theunraveler"
"af-magic" "crunch" "fishy" "imajes" "kphoen" "nanotech" "sammy" "tjkirch_mod"
"afowler" "cypher" "flazz" "intheloop" "lambda" "nebirhos" "simonoff" "tjkirch"
"agnoster" "dallas" "fletcherm" "itchy" "linuxonly" "nicoulaj" "simple" "tonotdo"
"alanpeabody" "darkblood" "fox" "jaischeema" "lukerandall" "norm" "skaro" "trapd00r"
"amuse" "daveverwer" "frisk" "jbergantine" "macovsky-ruby" "obraun" "smt" "wedisagree"
"apple" "dieter" "frontcube" "jispwoso" "macovsky" "peepcode" "Soliah" "wezm+"
"arrow" "dogenpunk" "funky" "jnrowe" "maran" "philips" "sonicradish" "wezm"
"aussiegeek" "dpoggi" "fwalch" "jonathan" "mgutz" "pmcgee" "sorin" "wuffers"
"avit" "dstufft" "gallifrey" "josh" "mh" "pure" "sporty_256" "xiong-chiamiov-plus"
"awesomepanda" "dst" "gallois" "jreese" "michelebologna" "pygmalion" "steeef" "xiong-chiamiov"
"bira" "duellj" "garyblessington" "jtriley" "mikeh" "re5et" "strug" "ys"
"blinks" "eastwood" "gentoo" "juanghurtado" "miloshadzic" "refined" "sunaku" "zhann"
"bureau" "edvardm" "geoffgarside" "junkfood" "minimal" "rgm" "sunrise"
"candy-kingdom" "emotty" "gianu" "kafeitu" "mira" "risto" "superjarin"
"candy" "essembeh" "gnzh" "kardan" "mortalscumbag" "rixius" "suvash"
"clean" "evan" "gozilla" "kennethreitz" "mrtazz" "rkj-repos" "takashiyoshida"
)
ZSH_THEME_RANDOM_CANDIDATES=(
"strug" "powerlevel10k/powerlevel10k"
)
9.3 zsh-autosuggestions
https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
编辑~/.zshrc
plugins=(
# other plugins...
zsh-autosuggestions
)