Ubuntu Minimal: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Gvaikre (talk | contribs)
Gvaikre (talk | contribs)
Line 86: Line 86:
=Välimuse muutmine=
=Välimuse muutmine=
==GTK 2==
==GTK 2==
tekst_siia <code style="display:inline-block; padding: 0.1em 0.3em;">lxappearance</code> <code style="display:inline-block; padding: 0.1em 0.3em;">gtk-chtheme</code>
tekst_siia
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;">
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;">
~/.gtkrc-2.0
~/.gtkrc-2.0
Line 96: Line 96:
gtk-cursor-theme-name="kursorite theme'i nimi siia"
gtk-cursor-theme-name="kursorite theme'i nimi siia"
</pre>
</pre>
tekst_siia
*<code style="display:inline-block; padding: 0.1em 0.3em;">lxappearance</code>
*<code style="display:inline-block; padding: 0.1em 0.3em;">gtk-chtheme</code>
==GTK 3==
==GTK 3==
tekst_siia <code style="display:inline-block; padding: 0.1em 0.3em;">lxappearance</code>
tekst_siia <code style="display:inline-block; padding: 0.1em 0.3em;">lxappearance</code>

Revision as of 13:13, 21 November 2013

Sissejuhatus

Ettevalmistus

Windows

Win32DiskImager

Linux

dd

Vajalikud paketid

tekst_siia

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

tekst_siia

sudo apt-get install --no-install-recommends graafikakaardi-draiveri-pakett-siia xorg

tekst_siia

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

tekst_siia

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

Keskkonna seadistus

tekst_siia

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

tekst_siia

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

tekst_siia

sudo adduser user audio

tekst_siia

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

tekst_siia

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

tekst_siia

~/.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 &

tekst_siia

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

tekst_siia

~/.gtkrc-2.0
gtk-theme-name="Adwaita"
gtk-icon-theme-name="nuoveXT2"
gtk-font-name="Sans 9"
gtk-cursor-theme-name="Adwaita"

tekst_siia

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

Välimuse muutmine

GTK 2

tekst_siia

~/.gtkrc-2.0
gtk-theme-name="gtk theme'i nimi siia"
gtk-icon-theme-name="ikoonide theme'i nimi siia"
gtk-font-name="fondi nimi ja suurus siia"
gtk-cursor-theme-name="kursorite theme'i nimi siia"

tekst_siia

  • lxappearance
  • gtk-chtheme

GTK 3

tekst_siia lxappearance

#!/bin/bash

rm ~/.config/gtk-3.0/settings.ini
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

tekst_siia obconf

~/.config/openbox/rc.xml
...
<theme>
    <name>openboxi theme'i nimi siia</name>

Tint2

tekst_siia tintwizard

~/.config/tint2/tint2rc

Kokkuvõte

Kasutatud allikad

Autor

Gert Vaikre A21