Ubuntu Minimal: Difference between revisions
From ICO wiki
Jump to navigationJump to search
Line 23: | Line 23: | ||
=Keskkonna seadistus= | =Keskkonna seadistus= | ||
tekst_siia | |||
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"> | |||
~/.xinitrc | |||
</pre> | |||
<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;"> | |||
... | |||
exec dbus-launch openbox-session | |||
</pre> | |||
tekst_siia | |||
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"> | |||
~/.bash_profile | |||
</pre> | |||
<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;"> | |||
... | |||
<nowiki>[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]</nowiki> && exec startx | |||
</pre> | |||
tekst_siia | |||
<pre>sudo adduser user audio</pre> | |||
tekst_siia | |||
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"> | |||
/etc/NetworkManager/NetworkManager.conf | |||
</pre> | |||
<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;"> | |||
... | |||
[ifupdown] | |||
managed=true | |||
</pre> | |||
tekst_siia | |||
<pre>mkdir -p ~/.config/openbox | |||
cp /etc/xdg/openbox/* ~/.config/openbox</pre> | |||
tekst_siia | |||
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"> | |||
~/.config/openbox/autostart | |||
</pre> | |||
<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;"> | |||
... | |||
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 & | |||
</pre> | |||
tekst_siia | |||
<pre>sudo rm /etc/xdg/autostart/{nm*,polkit*,xfce4*,clipit*}</pre> | |||
tekst_siia | |||
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"> | |||
~/.gtkrc-2.0 | |||
</pre> | |||
<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;"> | |||
gtk-theme-name="Adwaita" | |||
gtk-icon-theme-name="nuoveXT2" | |||
gtk-font-name="Sans 9" | |||
gtk-cursor-theme-name="Adwaita" | |||
</pre> | |||
tekst_siia | |||
<pre>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</pre> | |||
=Välimuse muutmine= | =Välimuse muutmine= |
Revision as of 12:27, 21 November 2013
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
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
~/.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"
GTK 3
#!/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
~/.config/openbox/rc.xml
... <theme> <name>openboxi theme'i nimi siia</name>
Tint2
~/.config/tint2/tint2rc
Kokkuvõte
Kasutatud allikad
Autor
Gert Vaikre A21