Ubuntu: Difference between revisions

From Wiki
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Save harddisk space ==
* /etc/systemd/journald.conf
<blockquote>
<pre>
SystemMaxUse=50M
</pre>
</blockquote>
* apt
<blockquote>
<pre>
apt clean
</pre>
</blockquote>
== Uninstall crap ==
<pre>
apt purge snapd 
</pre>
== Disable Cloud-init (Ubuntu) ==
* dpkg-reconfigure cloud-init
* Then deselect all the options except None
* sudo apt-get purge cloud-init
* sudo mv /etc/cloud/ ~/; sudo mv /var/lib/cloud/ ~/cloud-lib
== Ubuntu on Windows ==
* https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/
== Commandline only / no x autostart ==
== Commandline only / no x autostart ==
* /etc/default/grub
* /etc/default/grub
Line 45: Line 76:
== Oracle / Sun java ==
== Oracle / Sun java ==
* https://sites.google.com/site/easylinuxtipsproject/java
* https://sites.google.com/site/easylinuxtipsproject/java
[[Category:Linux/Distribution]]
[[Category:Linux]]

Latest revision as of 19:35, 22 November 2019

Save harddisk space

  • /etc/systemd/journald.conf
SystemMaxUse=50M
  • apt
apt clean

Uninstall crap

apt purge snapd  

Disable Cloud-init (Ubuntu)

  • dpkg-reconfigure cloud-init
  • Then deselect all the options except None
  • sudo apt-get purge cloud-init
  • sudo mv /etc/cloud/ ~/; sudo mv /var/lib/cloud/ ~/cloud-lib


Ubuntu on Windows


Commandline only / no x autostart

  • /etc/default/grub
    • GRUB_CMDLINE_LINUX_DEFAULT= <- add "text"


rdesktop

  • Server.desktop
[Desktop Entry]
Name=Server
Comment=Server Remote Desktop
Exec=rdesktop -f -5 -x l -u "" 192.168.0.11
Icon=/usr/share/icons/Humanity/apps/48/gnome-remote-desktop.svg
Terminal=false
Type=Application
StartupNotify=true
Name[de_DE]=Server
Comment[de_DE.UTF-8]=Server RDP


Compiz

apt-get install compizconfig-settings-manager


Xubuntu / Lubuntu flickering with old Intel graphics

  • /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="i915.modeset=0 quiet splash"           <- not working

Ubuntu 12.04 with Mate

Oracle / Sun java