{"id":15051117,"url":"https://github.com/hamidgholami/mydesktop","last_synced_at":"2025-07-19T19:34:33.998Z","repository":{"id":150901092,"uuid":"309025171","full_name":"hamidgholami/myDesktop","owner":"hamidgholami","description":"All configuration for my desktop","archived":false,"fork":false,"pushed_at":"2023-12-04T12:31:24.000Z","size":164,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-12T07:32:16.110Z","etag":null,"topics":["ansible","ansible-playbook","debian","debian-desktop","debian-linux","debian-packages","desktop-application","desktop-applications","desktop-environment","devops","i3","i3wm","qtile"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hamidgholami.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-01T04:48:03.000Z","updated_at":"2024-05-03T17:51:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d26da92-2ba8-437a-b382-34d1c9dc939a","html_url":"https://github.com/hamidgholami/myDesktop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hamidgholami/myDesktop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidgholami%2FmyDesktop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidgholami%2FmyDesktop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidgholami%2FmyDesktop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidgholami%2FmyDesktop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamidgholami","download_url":"https://codeload.github.com/hamidgholami/myDesktop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidgholami%2FmyDesktop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265999094,"owners_count":23862219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-playbook","debian","debian-desktop","debian-linux","debian-packages","desktop-application","desktop-applications","desktop-environment","devops","i3","i3wm","qtile"],"created_at":"2024-09-24T21:30:59.630Z","updated_at":"2025-07-19T19:34:33.970Z","avatar_url":"https://github.com/hamidgholami.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# myDesktop\n- **Ubuntu 20.04**\n- **Lubuntu 18.04**\n\n## Table of content\n\n- [Git configuration](#Git-configuration)\n- [Disable sudo prompt for ask password](#Disable-sudo-prompt-for-ask-password)\n- [All requirement packages](#All-requirement-packages)\n- [Install qbittorrent](#Install-qbittorrent)\n- [Install VSCode](#Install-VSCode)\n- [Install Typora](#Install-Typora)\n- [Install packer](#Install-packer)\n- [Install KVM, qemu, libvirt](#Install-KVM-qemu-libvirt)\n- [Install Vagrant](#Install-Vagrant)\n- [Install Docker](#Install-Docker)\n- [Install ansible](#Install-ansible)\n- [Install VNCViewer](#Install-VNCViewer)\n- [Install i3wm](#Install-i3wm)\n- [Install kubectl](#Kubernetes)\n- [Install oh-my-zsh](#oh-my-zsh)\n- [Install Install powerline](#Install-powerline)\n- [Install SpaceVim plugin](#Install-SpaceVim-plugin)\n- [Install Nerd Font](#Install-Nerd-Font)\n- [Install XDM](#Install-XDM)\n- [Install AnyDesk](#Install-AnyDesk)\n- [Install Zoom](#Install-Zoom)\n- [Install Shutter](#Install-Shutter)\n\n\n### Change default editor\n```sh\nsudo update-alternatives --config editor\n```\n### Git configuration\n\n- Change default editor to vim\n\n```sh\n git config --global core.editor vim\n```\n- Set your email and name\n\n```sh\n git config --global user.name \"Hamid Gholami\"\n git config --global user.email hamid@linuxmail.org\n```\n\n### Disable sudo prompt for ask password\n\nAdd a file in `/etc/sudoers.d/\u003cFILE_NAME\u003e`\n\n```sh\nhamid ALL=(ALL) NOPASSWD: ALL\n```\nand\n```sh\nchmod go-r /etc/sudoers.d/\u003cFILE_NAME\u003e\n```\n### All requirement packages\n\n```sh\nsudo apt-get install \\\nvim git python3 python3-pip terminator tmux tree neovim xpad \\\nzsh vlc build-essential gcc remmina remmina-plugin-* \\\nca-certificates openjdk-11-jdk simplescreenrecorder kazam \\\nunrar zip unzip p7zip-full p7zip-rar rar dnsutils okular \\\nwine winetricks filezilla zim sshpass openssl mosh \\\ntraceroute virtualbox curl ipython3 openssh-server openssh-client \\\ngnupg-agent code software-properties-common apt-transport-https \\\nqemu-kvm virtinst virt-viewer virt-manager bridge-utils \\\ncpu-checker spice-client-gtk fonts-farsiweb \\\nmtr-tiny htop virt-top imvirt apg at bc rsync ftp \\\nguake chromium-browser x11vnc clipit cups-pdf \\\nopenvpn network-manager-openvpn gnome-tweaks \\\nnetwork-manager-openvpn-gnome network-manager-vpnc \\\nnetwork-manager-l2tp network-manager-l2tp-gnome \\\nmlocate net-tools cpu-checker fonts-powerline \\\nzsh-syntax-highlighting ubuntu-restricted-extras\n```\n### Install Shutter\n\n* Add repository\n\n```bash\nsudo add-apt-repository -y ppa:linuxuprising/shutter\n```\n\n* Install Shutter\n\n```bash\nsudo apt install shutter\n```\n\n### Install Zoom\n\n* Install deb/rpm pakcge from [Official website](https://zoom.us/download).\n\n```bash\nsudo apt install ./zoom_amd64.deb\n# or\nsudo dpkg -i zoom_amd64.deb\n```\n\n### Install AnyDesk\n\n* add repository key to Trusted software providers list.\n\n```bash\nwget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | apt-key add -\n```\n\n* add the repository:\n\n```bash\necho \"deb http://deb.anydesk.com/ all main\" \u003e /etc/apt/sources.list.d/anydesk-stable.list\n```\n\n* Update and install:\n\n```bash\nsudo apt update \u0026\u0026 sudo apt install anydesk\n```\n\n### Install XDM\n\n* Once downloaded and extract it from its [official website](https://subhra74.github.io/xdm/).\n* `cd` into its directory and run `install.sh`.\n\n```bash\nsudo ./install.sh\n```\n\n### Install qbittorrent\n\n* Add stable repository .\n\n```bash\nsudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable\n```\n\n* Run follow commands for install.\n\n```bash\nsudo apt-get update \u0026\u0026 sudo apt-get install qbittorrent\n```\n\n### Install VSCode\n\n* Download and import the Microsoft signing GPG key using the curl command.\n\n```bash\ncurl -sSL https://packages.microsoft.com/keys/microsoft.asc -o microsoft.asc\nsudo apt-key add microsoft.asc\n```\n\n* Now, add the Visual Studio Code repository to your system.\n\n```bash\necho \"deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main\"  | sudo tee /etc/apt/sources.list.d/vscode.list\n```\n\n* Once you have added the repository to the system, do not forget to update the repository index. Use the apt command to install Visual Studio Code.\n\n```bash\nsudo apt update \u0026\u0026 sudo apt install code\n```\n\n### Install Typora\n\n[Official Typora installation](https://support.typora.io/Typora-on-Linux/)\n\n* Add `typora` GPG key.\n\n```bash\nwget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -\n# or use\n# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE\n```\n\n* Add Typora's repository.\n\n```bash\nsudo add-apt-repository 'deb https://typora.io/linux ./'\nsudo apt-get update\n```\n\n* Install Typora.\n\n```bash\nsudo apt install typora\n```\n\n### Install packer\n\n[Offical packer installation](https://learn.hashicorp.com/tutorials/packer/getting-started-install)\n\n- Add HashiCorp GPG.\n\n```sh\ncurl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -\n```\n- Add HashiCorp repository.\n\n```sh\nsudo apt-add-repository \\\n     \"deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main\"\n```\n- Update and install.\n\n```sh\nsudo apt-get update \u0026\u0026 sudo apt-get install packer\n```\n### Install KVM qemu libvirt\n\n[Official Ubuntu KVM installation](https://help.ubuntu.com/community/KVM/Installation)\n\nBefore continuing with the installation, make sure your Ubuntu host machine supports KVM virtualization. The system should have either an Intel processor with the VT-x (vmx), or an AMD processor with the AMD-V (svm) technology support.\n\nRun the following grep command to verify that your processor supports hardware virtualization:\n```sh\ngrep -Eoc '(vmx|svm)' /proc/cpuinfo\n```\nIf the CPU supports hardware virtualization, the command will output a number greater than zero, which is the number of the CPU cores. Otherwise, if the output is 0 it means that the CPU doesn’t support hardware virtualization.\n\nOn some machines, the virtual technology extensions may be disabled in the BIOS by the manufacturers.\n\n- To check if VT is enabled in the BIOS, use the kvm-ok tool.\n\n```sh\nkvm-ok\n```\n```ini\noutput\n\nINFO: /dev/kvm exists\nKVM acceleration can be used\n```\n- Install packages\n\n```sh\nsudo apt install qemu libvirt-daemon-system \\\nlibvirt-clients libxslt1-dev libxml2-dev libvirt-dev \\\nzlib1g-dev ruby-dev ruby-libvirt ebtables dnsmasq-base \\\nqemu-kvm bridge-utils virtinst virt-manager libvirt-doc libnss-libvirt\n```\n- Start and enable libvirtd daemon service.\n\n```sh\nsudo systemctl is-active libvirtd\n```\n- To be able to create and manage virtual machines, you’ll need to add your user to the “libvirt” and “kvm” groups. To do that, enter:\n\n```sh\nsudo usermod -aG libvirt $USER\nsudo usermod -aG kvm $USER\n```\n- Add `libvirt` in `nsswitch.conf`\n```bash\n. . . \nhosts: files libvirt mdns4_minimal ...\n. . .\n```\n### Install Vagrant\nDownload deb/rpm package from [vagrant official website](https://www.vagrantup.com/downloads).\n- Install vagrant package.\n\n```sh\nsudo dpkg -i vagrant_2.2.13_i686.deb\n# or\nsudo apt install ./vagrant_2.2.13_i686.deb\n```\n- Now, install **vagrant-libvirt** plugin using command:\n\n```sh\nvagrant plugin install vagrant-libvirt\n```\n- You also need to install **vagrant-mutate** plugin which converts vagrant boxes to work with different providers.\n\n```sh\nvagrant plugin install vagrant-mutate\n```\n### Install Docker\n[Official docker installation](https://docs.docker.com/engine/install/ubuntu/)\n- Remove old docker versions.\n\n```sh\nsudo apt-get remove docker docker-engine docker.io containerd runc\n```\n- Install docker repository\n\n```sh\nsudo apt-get update\n```\n```sh\nsudo apt-get install \\\n    apt-transport-https \\\n    ca-certificates \\\n    curl \\\n    gnupg-agent \\\n    software-properties-common\n```\n\n- Add Docker’s official GPG key:\n\n```sh\ncurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -\n```\n\n- Add docker repository\n\n```sh\nsudo add-apt-repository \\\n   \"deb [arch=amd64] https://download.docker.com/linux/ubuntu \\\n   $(lsb_release -cs) \\\n   stable\"\n```\n- Install docker engine\n\n```sh\nsudo apt-get update\nsudo apt-get install docker-ce docker-ce-cli containerd.io\n```\n- Add user in docker goup.\n\n```sh\nsudo usermod -aG docker $USER\n```\n\n- Install docker-compose\n\n```sh\npip3 install docker-compose\n```\n\n- Docker configuration\u003cbr /\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;`/etc/docker/daemon.json`\u003cbr /\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;`~/.docker/config.json`\n\n### Install ansible\n\n```sh\npip3 install ansible\npip3 install ansible-cmdb\n```\n\n### Install VNCViewer\n\n* Download deb/rpm file from official [VNC website](https://www.realvnc.com/en/connect/download/viewer/linux/) and then install it.\n\n```shell\nsudo apt install ./VNC-Viewer-6.20.529-Linux-x86.deb\n# or\nsudo dpkg -i VNC-Viewer-6.20.529-Linux-x86.deb\n```\n\n### Install i3wm\n\n* To begin, open a terminal and run the following command.\n\n```bash\nsudo apt-get install i3 i3status dmenu i3lock xbacklight feh conky\n```\n\n**i3** is the main window manager package.\n\n**i3status** is a utility to generate a string with information to be displayed in the i3bar.\n\n**dmenu** is a utility to launch our apps in the i3 desktop.\n\n**xbacklight** is a utility to set our laptop’s screen brightness.\n\n**feh** is a utility to set a wallpaper.\n\n**conky** is a utility to display information of the system in a awesome way.\n\n* If you have dual monitor maybe you want use image in dual monitor when you lock your system.\n\n  So you must install `i3lock-multimonitor` from its [repository](https://github.com/ShikherVerma/i3lock-multimonitor).\n\n* This is my `i3/config` file as an instance.\n\n### Kubernetes\n\n* Install `kubectl` on your machine\n\n```bash\nsudo apt install kubectl\n```\n\n- This is my `.kube`  configuration as an instance.\n### Vagrant\n- `.vagrant.d`\n### ssh\n- `.ssh/config`\n\n### oh-my-zsh\n- Firstly, you should install `zsh`.\n\n```sh\nsudo apt install zsh\n```\n- After the installation is complete, change the default shell of the root user to zsh with the chsh command below.\n\n```sh\nchsh -s /usr/bin/zsh root\n```\n- Now logout from the root user, log in again, and you will get the zsh shell. Check the current shell used with the command below.\n\n```sh\necho $SHELL\n```\n\n- Install `oh-my-zsh` from its official github repository or website.\n\n```sh\nsh -c \"$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)\"\n```\n- So, oh-my-zsh is installed in the home directory `~/.oh-my-zsh`. Copy the template .zshrc.zsh-template configuration file to the home directory .zshrc and apply the configuration by running the source command, as shown below\n\n```sh\ncp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc\nsource ~/.zshrc\n```\n- My `.zshrc` config.\n\n[Install zsh syntax highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)\n\n\n### Install powerline\n\n[Powerline official installation](https://devpro.media/install-powerline-ubuntu/#)\n\n* Add the *Universe* repository.\n\n```bash\nsudo add-apt-repository universe\n```\n\n* Install Powerline\n\n```bash\nsudo apt install powerline\n```\n\n### Install SpaceVim plugin\n\n[Official installation for linux](https://spacevim.org/quick-start-guide/#linux-and-macos)\n\n### Install Nerd Font\n\n[Nerd Font Official installation](https://www.nerdfonts.com/)\n\n* Select and install Nerd Font from official website.\n\n--------------------------------\n\n#### To Do List\n\n- [ ] Check all this configuration on Fedora and make a README file for it.\n- [ ] Insert my configuration file for some tools such as: docker, kubectl, i3, ssh and etc\n- [ ] Install `kubectl`,`kubectx`, `helm`,`k9s`\n- [ ] Install `regolith` (i3) desktop\n- [ ] Install `pipenv`\n- [ ] Install `keepassxc`\n- [ ] Install `jami` as a softphone\n- [ ] Install `vagrant-cachier` and `vagrant-faster` as a plugin for `Vagrant`\n- [ ] Install `mitogen` for Ansible speed [Mitogen](https://mitogen.networkgenomics.com/ansible_detailed.html#installation)\n- [ ] [Kubernetes Utilities](https://gamov.io/posts/2020/03/26/2020-03-11-5-kubernetes-tools-you-probably-dont-use-but-you-should.html)\n\n**************\n\n**Author**: Hamid Gholami (hidgholami@gmail.com)\n\n[![Linkedin](https://i.stack.imgur.com/gVE0j.png) LinkedIn](https://www.linkedin.com/in/hamid-gholami)\n\u0026nbsp;\n[![GitHub](https://i.stack.imgur.com/tskMh.png) GitHub](https://github.com/hamidgholami)\n\u0026nbsp;\n[![Twitter](http://i.imgur.com/wWzX9uB.png) Twitter](https://www.twitter.com/045_hamid)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamidgholami%2Fmydesktop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamidgholami%2Fmydesktop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamidgholami%2Fmydesktop/lists"}