Skip to content

Instantly share code, notes, and snippets.

Guide to Install VMware Tools on Linux and Windows

For Linux (Ubuntu/Debian-based Distributions)

  1. Update the system repositories:
sudo apt update
  1. Install Open VMware Tools:
@Firiks
Firiks / update_system.sh
Created November 10, 2023 19:58
Ubuntu/Debian system update script
#!/bin/bash
TEXT_RESET='\e[0m'
TEXT_YELLOW='\e[0;33m'
TEXT_RED_B='\e[1;31m'
# root check
if [[ ${UID} != 0 ]]; then
echo "Script must be executed as root!"
exit 1
@Firiks
Firiks / zsh-elapsed-time.md
Created October 18, 2023 10:48 — forked from knadh/zsh-elapsed-time.md
Elapsed and execution time for commands in ZSH

Elapsed and execution time display for commands in ZSH

Append this to your ~/.zshrc file.

function preexec() {
 timer=$(($(date +%s%0N)/1000000))
@Firiks
Firiks / NvidiaImageSharpeningEnable.reg
Last active October 14, 2023 08:33
Enable hidden image sharpening in Nvidia control panel
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\nvlddmkm\FTS]
"EnableGR535"=dword:00000000
src: http://difusal.blogspot.com/2015/06/how-to-install-eclipse-mars-45-on-ubuntu.html
0. maybe :
sudo ln -s *eclipse path* /usr/bin/eclipse
make sure you replace *eclipse path* with the location where you previously saved eclipse - in my case it is ~/Programs/eclipse/eclipse
1. sudo gedit /usr/share/applications/eclipse.desktop
2. After these commands, gedit - Ubuntu's default text editor - should have opened
3. Copy the following text and paste it there: