Setting up development environment with Ubuntu 22.04
2023-09-28 21:44 蜡笔小旧 阅读(18) 评论(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
1 | 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)
1 2 3 | 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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 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 } |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架