Ubuntu Useful Notes

Yang Li
1 min readFeb 7, 2020

--

To disable GUI on boot, run:

sudo systemctl set-default multi-user.target

To enable GUI again issue the command:

sudo systemctl set-default graphical.target

To start Gnome session on a system without a current GUI just execute:

sudo systemctl start gdm3.service

Terminator:

Global →Putty Style paste

Profiles →General →Copy on selection

To open preference: shift + mouse middle click

To fix the the ugly tab:

vi ~/.config/gtk-3.0/gtk.css

.terminator-terminal-window notebook tab {
background-color: #222;
padding: 0.2em;
border: 0;
border-color: #444;
border-style: solid;
border-width: 1px;
}

.terminator-terminal-window notebook tab:checked {
background-color: #000;
background-image: none;
}

.terminator-terminal-window notebook tab label {
color: #ddd;
}

.terminator-terminal-window notebook tab:checked label {
color: #76C802;
font-weight: 500;
}

.terminator-terminal-window notebook tab button {
padding: 0;
background-color: transparent;
color: #ccc;
}

.terminator-terminal-window notebook header {
background-color: #444;
}

.terminator-terminal-window notebook tab button:hover {
border: 0;
background-image: none;
border-color: #444;
border-style: solid;
border-width: 1px;
}

Edit ip v4 address in ubuntu18

--

--

No responses yet