How I set up my Ubuntu Desktop that looks like a mac. Low Budget iMac...
- Download Ubuntu Desktop ISO file. (Currently 18.04.3 LTS)
- Use Rufus to create a boot USB, using the downloaded ISO file.
- Make sure that you have a partition that you can install Ubuntu.
(Windows) cmd> diskmgmt.msc
- Configure boot priority.
- On GNU GRUB, select Install Ubuntu.
- Select preferred language, and keyboard layout.
- On Installation Type, select Something Else. (Also check if the installer is installing on the correct partition)
- Select free space and click
+
button. - Create a new partition.
- Size: 20GB+
- Type for new partition: Primary
- Location for the new partition: Beginning of this space
- Use as: Ext4 journaling file system
- Mount point:
/
- Wait for the installer to finish.
- Remove the boot USB, and restart the computer.
These normal steps didn't work for me, so I had to go to BIOS settings, and changed UEFI Hard Disk Drive BBS Priorities to ubuntu.
sudo apt-get update
sudo apt-get upgrade
sudo hostname <new_hostname>
-
Go to NVIDIA Driver Downloads and get
.run
file. -
Open terminal and execute the downloaded file as root.
sudo ./NVIDIA-*.run
-
Logout and log back in.
- Search and open
Software & Updates
. - Select
Additional Drivers
tab. - Select appropriate driver and
Apply Changes
(auto reboot).
(uim Method)
sudo apt-get install uim uim-byeoru
-
Go to
Language Support
and changeKeyboard input method system
touim
-
Reboot
-
Modify keymap
echo "xmodmap -e 'keycode 108 = Hangul'" > keymap chmod 744 keymap ./keymap
-
Open
Input Method
and configure.
- Enable
Specify default IM
- Select
Default input method
asByeoru
- Select only
Byeoru
inEnabled input methods
- Go to
Byeoru key bindings 1
and set"hangul"
for both[Byeoru] on / [Byeoru] off
- Chrome, VSCode, Slack
- git, gcc/g++, java, python3, python3-pip
- zsh, zsh-syntax-highlighting, powerlevel10k
UPD: Ubuntu 20.04.1 LTS
- gcc/g++, python3 are automatically installed.
sudo apt-get install -y git openjdk-11-jre-headless python3-pip
sudo snap install --classic code
sudo snap install --classic slack
- git config
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
sudo apt-get install zsh
chsh -s `which zsh`
sudo apt-get install curl
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
- Syntax Highlighting & Autosuggestions
sudo apt install zsh-syntax-highlighting
echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- Note: The second line must be executed inside zsh. (Not in bash)
- Add the plugin to the list of plugins for oh-my-zsh inside
~/.zshrc
.
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
- And set
ZSH_THEME="powerlevel10k/powerlevel10k"
in~/.zshrc
- Install Powerline Fonts.
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
cd ..
rm -rf fonts
sudo apt-get install vim
(When hitting arrow keys add characters, try installing vim)
.vimrc
set number set ai set si set cindent set shiftwidth=4 set tabstop=4 set ignorecase set hlsearch set nocompatible set fileencodings=utf-8,euc-kr set fencs=ucs-bom,utf-8,euc-kr set bs=indent,eol,start set ruler set title set showmatch set wmnu syntax on filetype indent on set mouse=a
timedatectl set-local-rtc 1 --adjust-system-clock
- Install gnome-shell
sudo apt-get install gnome-shell
- Install gnome-tweak-tool
sudo apt-get install gnome-tweak-tool
- Install theme and save it to
~/.themes
. macOS Theme. - Install icon theme and save it to
~/.icons
. La Capitaine Icon Theme, Os-Catalina-icons - Open
Tweaks
application and configure.
-
Unable to change shell theme
- Go to https://extensions.gnome.org
- Click
click here to install browser extension
- Install
chrome-gnome-shell
sudo apt-get install chrome-gnome-shell
- Go to https://extensions.gnome.org/extension/19/user-themes/ and enable
-
Try Rebooting ...
- Install
sudo apt-get install plank
- Disable Ubuntu Dock
sudo apt remove gnome-shell-extension-ubuntu-dock
- Press
Alt + F2
and typer
- Configure Plank
plank --preferences
vim ~/.config/gtk-3.0/gtk.css
gtk.css
/* shrink headerbars (don't forget semicolons after each property) */
headerbar {
min-height: 0px;
padding-left: 5px; /* same as childrens vertical margins for nicer proportions */
padding-right: 5px;
padding-top: 0px;
padding-bottom: 0px;
background-color: #2d2d2d;
}
headerbar entry,
headerbar spinbutton,
headerbar button,
headerbar separator {
margin-top: 0px; /* same as headerbar side padding for nicer proportions */
margin-bottom: 0px;
}
/* shrink ssd titlebars */
.default-decoration {
min-height: 0; /* let the entry and button drive the titlebar size */
padding: 0px;
background-color: #2d2d2d;
}
.default-decoration .titlebutton {
min-height: 0px; /* tweak these two props to reduce button size */
min-width: 0px;
}
window.ssd headerbar.titlebar {
padding: 5px;
min-height: 0;
}
window.ssd headerbar.titlebar button.titlebutton {
padding: 5px;
min-height: 0;
}