Ubuntu Minimal

From ICO wiki
Jump to navigationJump to search

Sissejuhatus

Ettevalmistus

Windows

Win32DiskImager

Linux

dd

Vajalikud paketid

  • xserver-xorg-video-intel
  • xserver-xorg-video-ati
  • xserver-xorg-video-nouveau


sudo apt-get install --no-install-recommends xserver-xorg-video-intel xorg


sudo apt-get install --no-install-recommends openbox tint2 xcompmgr gtk2-engines-pixbuf lxde-icon-theme gnome-themes-standard gnome-keyring gvfs alsa-utils network-manager xfce4-notifyd


sudo apt-get install --no-install-recommends network-manager-gnome clipit xfce4-power-manager lxterminal geany xarchiver volumeicon-alsa feh pcmanfm firefox

Keskkonna seadistus

~/.xinitrc
...
exec dbus-launch openbox-session


~/.bash_profile
...
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx


sudo adduser user audio


/etc/NetworkManager/NetworkManager.conf
...
[ifupdown]
managed=true


mkdir -p ~/.config/openbox
cp /etc/xdg/openbox/* ~/.config/openbox


~/.config/openbox/autostart
...
xcompmgr &
(sleep 1s && tint2) &
(sleep 1s && xfce4-power-manager) &
(sleep 1s && volumeicon) &
(sleep 1s && clipit) &
(sleep 3s && nm-applet) &
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
feh --bg-fill /home/user/wallpaper.jpg &
lxterminal &


sudo rm /etc/xdg/autostart/{nm*,polkit*,xfce4*,clipit*}

Välimuse muutmine

GTK 2

~/.gtkrc-2.0
gtk-theme-name=gtk_theme_nimi_siia
gtk-icon-theme-name=ikooni_theme_nimi_siia
gtk-font-name=Sans 9
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0


gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb

GTK 3

mkdir .config/gtk-3.0
echo '[Settings]' > .config/gtk-3.0/settings.ini
cat .gtkrc-2.0 >> .config/gtk-3.0/settings.ini
sed -i -e 's/"//g' .config/gtk-3.0/settings.ini

Openbox

obconf

Kokkuvõte

Kasutatud allikad

Autor

Gert Vaikre A21