From 1e45b1ff47eccf97211f55c27dd8bfc4e30a14f3 Mon Sep 17 00:00:00 2001 From: Amine Djeghri Date: Sun, 28 Jul 2024 19:31:46 +0200 Subject: [PATCH] :memo: update docs --- README.md | 1 + docs/README.md | 1 + docs/shortcuts_and_apps_setup.md | 1 + docs/unix_workflow/README_unix.md | 6 ++++-- docs/unix_workflow/cuda_pytorch_install.md | 2 +- docs/windows_workflow/DisplayFusion Backup.reg | Bin 0 -> 141978 bytes docs/windows_workflow/README_windows.md | 17 ++++++++++++----- docs/windows_workflow/config.yaml | 10 +++++++++- 8 files changed, 29 insertions(+), 9 deletions(-) create mode 100644 docs/windows_workflow/DisplayFusion Backup.reg diff --git a/README.md b/README.md index 4a2a19f..3a86713 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ Read more about it here: WSL2 enables users to run Linux applications and use command-line tools natively on their Windows machines. This integration allows users to enjoy the familiarity of Windows while simultaneously harnessing the power and flexibility of Linux. +Also, a surprising number of Linux GUI apps can run on WSL. GUI applications are officially supported on WSL2 and referred to as [WSLg](https://github.com/microsoft/wslg)(No installation required). | | macOS | Linux | Windows with WSL | |--------------|-------------------------------------------------------------------------------|----------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| diff --git a/docs/README.md b/docs/README.md index 2c2a479..542b43f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -65,6 +65,7 @@ Read more about it here: WSL2 enables users to run Linux applications and use command-line tools natively on their Windows machines. This integration allows users to enjoy the familiarity of Windows while simultaneously harnessing the power and flexibility of Linux. +Also, a surprising number of Linux GUI apps can run on WSL. GUI applications are officially supported on WSL2 and referred to as [WSLg](https://github.com/microsoft/wslg)(No installation required). | | macOS | Linux | Windows with WSL | |--------------|-------------------------------------------------------------------------------|----------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| diff --git a/docs/shortcuts_and_apps_setup.md b/docs/shortcuts_and_apps_setup.md index 5969241..c4e3d46 100644 --- a/docs/shortcuts_and_apps_setup.md +++ b/docs/shortcuts_and_apps_setup.md @@ -92,6 +92,7 @@ shortcuts: You can read more about the shortcuts [here](https://github.com/glaze - Use the debug function when needed. - Every time you start a project, edit the configuration template of python and python tests(autodetect and pytest) to select a default working directory for all your scripts. This will prevent you from having problems with working directory location when running from the terminal and pycharm. - You can Run pytest just by right-clicking on a function bloc, file, or folder! +- Git Clone : You can directly clone a repository from your git accounts by going to the Menu bar | VCS | Get from Version Control | GitHub | and select the right repository. - Commits : [doc](https://www.jetbrains.com/help/pycharm/log-tab.html) - pre-commit hooks: If you use conda as an interpreter in pycharm, you need to install pre-commit with pip in the environment that you are using. After the installation, see in the commit options (wheel button) next to the message if `Run git hooks` is there. If it isn't, then restart pycharm. - When you write in your terminal: `pip list | grep pre-commit` you should see the package. Running `pre-commit --version` should also work. diff --git a/docs/unix_workflow/README_unix.md b/docs/unix_workflow/README_unix.md index 4c71111..06c56e6 100644 --- a/docs/unix_workflow/README_unix.md +++ b/docs/unix_workflow/README_unix.md @@ -4,8 +4,10 @@ A set of configurations, dotfiles and a script to automatically set up a powerful terminal & shell utilities(zsh, fzf...), themes like Powerlvl10k, Conda, GPU drivers, and more on Linux/WSL2. -I developed this tool to streamline the setup process when working on various servers, such as AWS instances and not having to install everything manually every time. -While it's particularly useful for Python developers, feel free to customize it for your specific needs. The script is in bash (might move to Ansible in the future). +I developed this tool to streamline the setup process when working on various servers, +such as AWS & Azure VM instances and not having to install everything manually every time. +While it's particularly useful for Python developers, feel free to customize it for your specific needs. +The script is in bash (might move to Ansible in the future). ## Step 1 - Terminal customization : diff --git a/docs/unix_workflow/cuda_pytorch_install.md b/docs/unix_workflow/cuda_pytorch_install.md index f67bea2..2ce4637 100644 --- a/docs/unix_workflow/cuda_pytorch_install.md +++ b/docs/unix_workflow/cuda_pytorch_install.md @@ -96,5 +96,5 @@ if device.type == 'cuda': print('Cached: ', round(torch.cuda.memory_reserved(0)/1024**3,1), 'GB') ``` -- When utilizing pre-commit hooks, ensure to exclude the file requirements-cuda.txt to prevent sorting the packages. +- When using pre-commit hooks, ensure to exclude the file requirements-cuda.txt to prevent sorting the packages. - Prioritize the installation of applications using pip; if pip is not applicable, resort to conda; and if conda is not an option, utilize apt-get. For instance, when installing Tesseract through conda, it is preferable to install it within the conda environment rather than globally using apt-get. diff --git a/docs/windows_workflow/DisplayFusion Backup.reg b/docs/windows_workflow/DisplayFusion Backup.reg new file mode 100644 index 0000000000000000000000000000000000000000..a482447665a60130c5eaed302edfce27d8d50123 GIT binary patch literal 141978 zcmeI5`L7knlIPFQE%pCkxusE$Uh~Ypyw=mqWwDJ72D8}M?Uu!Au-P75jP05J*Jma^ z6(sS^s>(W9S#>UWgs$M$t&~=A+HE&Hc?! zcJJk8fAeDVyWP29pFXm`p4s0YZN9P3U)ZOQ?C+=c_leD4H;3)#pEv*1{riv2=bJC> zneR3~Zq99P8og`w*H@bx_V>-rb-TW{`N4ia+dMFuuQ#`i+I_oow&R1p==0OAH#oR& zeZkl8iSr$o&o_^a#_#sTtG8VJXUECMn@iT>u2FbupWHXD?pwR-*6V$H;>qUY&EM_c z5##;H=8*k=)c(I>pMPe2-q@Vk9Jf1+?9k?G8`C+v|IOyu=CpBov}^l^QM+fKA2V7v zHs5c)uy*(Csq;qfmW}QY`~Qjc{KBqJY`!%b&+OS>?B3DM&zpZ3z020iRl9rCp1xwT z_}#{G$=dE)Pj@yC?USqa*=rlycczo;Hjdxy-p@w)zV&g#+Fv%wUNWi=I!doLd&cJ_ zIt8jOxbbxp8^Ko;YSS?r(lIj$fOMzO|nlCZV4@Ov$iMg=@a&I zuG94`ExL4`l5UGC;R=%{(feodT3HS)oJ?^d**X%|EoRmyX?>(da znf3Xr@qNyualu-@GP-B%E^;|*Sop(Q-!vMp?YY~VznE^%n*7e%U*Fp^znFX<+Fi7N z*|hhy@pRn!|H69z-l#n@3XiP)W0T*n#^ZHsbJXZuv45wH_LtV~tm*2djqV$x^`(vE zO!x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^q0uJyXL>)XC@SO9?up<}^NW(SRmPf`YQCto2OWuOzh2(K-9J3@RuWfyX2S1yMFgX@aOW=IfrUF zx5w~jx;D9s-4nr|O8#JMGa+iq3WL9GtraV3Yl?)3`Z-$E|LKfL?~nV%;ICw-S}V!t z2f<~Hztm`^D4Jdu3I1GuyO={La&#mbi`B!cR}cPjji}Z_PPxU5Yh+zL1b;*PwP|Es zJp_Nb7SyJ~GF0-pMxr9CaaLoDdZN769lFxk?R0`aAGgk~b)8o|s$!^|y+*HEyP3}B zlk8&-8T^&yr?RZM4teJ>COB5)MAzMdO$RqvxR)(DyJ1PE>BBUEmJzRv4{zr3e-QnScB1JyOipsw6& zX0P;h6_u2X^B=}4IPdN+usoklj^6Rjw zwQwB#81kItw zgFly_&JWg-!Tga2UV}gNoOvxjTIZ`=dVgLmUt`QPa)LjX-@C0w4t+@QSJpz{L$Ots zcUXz~MSV7pAEAfg+DY)2E_>^DZM`Eyw(syCkP%TG~X??qisL+vE_1($Pm68!1- z)J}D*2X8UKpO00?mvg3)*O(D2VH)+-L**-HK}V&aBiFfK@TZkV^|Z?IFhBEATNxgS2%fMx6MjQNTR8dXoYNuAj@>*bUQ>GKu57p+h zeu6)j)1N*6TcW|hR-PF|#*k|t%j?TeZC0<Dy*YRPvq@68?Gf IPaFRIKl|MOjQ{`u literal 0 HcmV?d00001 diff --git a/docs/windows_workflow/README_windows.md b/docs/windows_workflow/README_windows.md index 9e29273..9517b6d 100644 --- a/docs/windows_workflow/README_windows.md +++ b/docs/windows_workflow/README_windows.md @@ -110,7 +110,7 @@ iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercon - Always use the Windows search bar to search for functionalities, settings, apps, files, folders, and more. Even the deep settings are accessible from the search bar. - Change the display settings if you want to adjust the refresh rate, resolution etc.. (windows + p) -> display settings - Disconnect/extend/ duplicate a monitor if you have multiple ones (windows + p) -> display settings -> select the monitor monitor -> next to identify, select the right option. - -Remember, each monitor configuration requires its own settings adjustments. Here's how it works: + - Remember, each monitor configuration requires its own settings adjustments. Here's how it works: - If you have one monitor and customize the refresh rate, then you moved to two monitors, you need to adjust the refresh rate for this new configuration. Next time when you switch between a single monitor and a dual monitor, Windows will remember your settings for both configurations. - If you switch to three monitors, you need to customize the settings (like the refresh rate) for each one for this new configuration (triple monitor settings), - When you return to the two-monitor/ single monitor setup, Windows will remember your previous settings, so you won't need to change them again. @@ -126,8 +126,9 @@ iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercon - You can import my settings: [link](Files_3.0.15.0.zip). Open Files -> Settings -> advanced -> import settings - DisplayFusion (paid): - use the Steam version (it can be used on multiple computers with the same steam account) - - it adds lot of features to windows monitor settings. - - There are 4 apps available after the installation . The main ones are : DisplayFusion and "monitor settings displayfusion" + - it adds a lot of features to Windows monitor settings. + - There are four apps available after the installation. The main ones are: DisplayFusion and "monitor settings displayfusion" + - ### 2.3. Dev Software & Websites #### 2.3.1. PyCharm: - I prefer to use PyCharm (the Pro version is free for students) @@ -168,7 +169,7 @@ The most amazing thing about WSL (WSL2.0 exactly) is: You can run Linux in Windo ### 3.1. Install WSL: - Automatic installation of WSL available with this [command](#2-software) -- Or manual installation: Run this command in powershell ``` wsl --install ``` +- Or manual installation: Run this command in PowerShell ``` wsl --install ``` - Restart your computer - When installing WSL, it comes with Ubuntu (you can always install other distibutions from the microsoft store) @@ -201,7 +202,12 @@ shell, install Miniconda, CUDA, and more: - [4. Python package example](../unix_workflow/package_example) -### 3.3. WSL2 Tips & Tricks : +### 3.3. WSL2 Utilities, Tips & Tricks : +- Take a look at [awesome-wsl](https://github.com/sirredbeard/awesome-wsl) +- A surprising number of Linux GUI apps can run on WSL. GUI applications are officially supported on WSL2 and referred to as [WSLg](https://github.com/microsoft/wslg)(No installation required). +- [Windows Hello on WSL]( https://github.com/nullpo-head/WSL-Hello-sudo) +- + - Find WSL path: `\\wsl$\Ubuntu\home` or `\\wsl$\Ubuntu` then ping it in Windows Explorer's sidebar. - You can use `wslpath` command to convert a Windows path to wsl path: `wslpath 'C:\Users\AmineDjeghri\Desktop\'` - Folder size for current directory: `du -h`, `du -h | sort -h`. For specific directory: `du -h /folder` @@ -222,6 +228,7 @@ wsl --setdefault - (pycharm) Use WSL/ubuntu as the default terminal in pycharm: `settings -> tools -> terminal` and put in a shell path: `ubuntu run` - (pycharm) Add WSL conda interpreter in Pycharm (add interpreter -> WSL -> conda) and select the global conda: `/home/amine/miniconda3/bin/conda`. Then click on load environments, and it will automatically detect all the conda envs. + ### 3.4. backup and restore WSL You can export wsl image after finishing all the steps to save it in case you move to a new computer : - wsl --terminate ubuntu diff --git a/docs/windows_workflow/config.yaml b/docs/windows_workflow/config.yaml index 6c09370..93226b8 100644 --- a/docs/windows_workflow/config.yaml +++ b/docs/windows_workflow/config.yaml @@ -109,21 +109,29 @@ workspaces: display_name: "1.🌐 Browser" # Optionally prevent workspace from being deactivated when empty. keep_alive: true + bind_to_monitor: 1 - name: "2" display_name: "2.💻Pycharm" keep_alive: true + # Optionally force the workspace on a specific monitor if it exists. Use the monitor's number + # as shown in the Windows display settings (eg. 1, 2, 3...). + bind_to_monitor: 2 - name: "3" display_name: "3.📂Explorer" keep_alive: true + bind_to_monitor: 1 - name: "4" display_name: "4.📝Editors" keep_alive: true + bind_to_monitor: 2 - name: "5" display_name: "5.💬Social" keep_alive: true + bind_to_monitor: 1 - name: "6" display_name: "6.🎮Gaming" keep_alive: true + bind_to_monitor: 1 - name: "7" - name: "8" - name: "9" @@ -315,4 +323,4 @@ keybindings: - commands: ["move to workspace 8"] #, "focus workspace 8"] binding: "Alt+Shift+8" - commands: ["move to workspace 9"] #, "focus workspace 9"] - bindings: ["Alt+Shift+9"] + bindings: ["Alt+Shift+9"]