Setting up development environment with Ubuntu 22.04
2023-09-28 21:44 蜡笔小旧 阅读(14) 评论(0) 编辑 收藏 举报0.
Dont' use Snap & Ubuntu appliation store.
90%的问题可以通过重启解决
改了IP后需要,禁用网络后再开启才生效
1. Input:
https://shurufa.sogou.com/linux/guide
2. .NET:
https://www.jetbrains.com/toolbox-app/ (Rider, dotTrace)
https://code.visualstudio.com/
https://github.com/icsharpcode/AvaloniaILSpy/releases Avalonia ILSpy(only support C# 8.0/VS2019)
3. Remote Control:
3.1 Setting - Sharing - Remote Control
https://linuxhint.com/enable-remote-desktop-ubuntu-access-windows/
https://ubuntuhandbook.org/index.php/2023/07/share-extended-screen-gnome/
问题:Sogou输入法无法使用,密码每次重启都会重新生成
3.2 xrdp
Issue1: xrdp login failed for display 0
Done: It is likely that you did not set the username/password correctly. Change user.1 to user1
Issue2: Windows rdp密码用户名登陆后闪退
Done: 已经在电脑上登陆了无法继续再登陆, 需要注销后由client登陆
4. Password manager
https://bitwarden.com/ Chrome plugin
5. Personnal Data
ln -s source dest
6. WxWork
https://www.ubuntukylin.com/applications/108-cn.html
Issue: 无法使用截屏
7. SSH
ln -s /media/user1/DATA/ProgramData/.ssh ~/.ssh
chmod 600 ~/.ssh/hosts/test/id_rsa
8. Fonts
https://github.com/microsoft/cascadia-code/releases
*.ttf -> Open with Fonts -> Install
9. Wallpaper
download full black wallpaper
10. Keyboard
Issue1: Unity Super + D shortcut doesn't work
A: Search for Keyboard settings. Open Shortcuts tab. Move to Navigation. Scroll down until you see the option Hide all normal windows. Double click on it and press Meta + D. Now, Meta + D will show you the desktop from now on.
https://askubuntu.com/questions/39118/unity-super-d-shortcut-doesnt-work
11. Docker
1. KVM: https://docs.docker.com/desktop/install/linux-install/#system-requirements
2. Installation https://docs.docker.com/desktop/install/ubuntu/
3. settings:
Disable `send usage statistics`, `open docker dashboard at start up`
4. extensions:
- disk-usage
- logs-explorer
12. Flatpak
https://flathub.org/setup/Ubuntu
Bottles:
https://flathub.org/apps/com.usebottles.bottles
13. Extensions
13.1 - GNOME Shell Exntenions
13.2 - tweaks
sudo apt install gnome-tweaks
Tweaks -> Window Titlebars -> enable `Maximize`, `Minimize`
14. Backup
Create a Backup if you install after OS.
search `Backups` in system then create it.
15. git
fatal: unable to access xxxx: GnuTLS recv error (-110)
sudo atp install gnutls-bin git config --global http.sslVerify false git config --global http.postBuffer 1048576000
16 nala
REF: https://github.com/ChrisTitusTech/website/issues/16#issuecomment-1193347940
Here's how I got mine working, it's simple really.. Install Add the required packages echo "deb http://deb.volian.org/volian/ scar main" | sudo tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list echo "deb-src http://deb.volian.org/volian/ scar main" | sudo tee -a /etc/apt/sources.list.d/volian-archive-scar-unstable.list Get the required keys wget -qO - https://deb.volian.org/volian/scar.key | sudo tee /etc/apt/trusted.gpg.d/volian-archive-scar-unstable.gpg > /dev/null Install Nala sudo apt update && sudo apt install nala Replacement For the .bashrc or .zshrc part, all you really need is this part and you will not need to add the extra alias to sudo.. sudo() { if [ "$1" = "apt" ]; then shift command sudo nala "$@" else command sudo "$@" fi }