Ubuntu Minimal: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Gvaikre (talk | contribs)
Gvaikre (talk | contribs)
Line 23: Line 23:


=Keskkonna seadistus=
=Keskkonna seadistus=
 
tekst_siia
~/.xinitrc
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;">
 
~/.xinitrc
...
</pre>
exec dbus-launch openbox-session
<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">
 
...
 
exec dbus-launch openbox-session
~/.bash_profile
</pre>
 
tekst_siia
...
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;">
<nowiki>[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]</nowiki> && exec startx
~/.bash_profile
 
</pre>
 
<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">
sudo adduser user audio
...
 
<nowiki>[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]</nowiki> && exec startx
 
</pre>
/etc/NetworkManager/NetworkManager.conf
tekst_siia
 
<pre>sudo adduser user audio</pre>
...
tekst_siia
[ifupdown]
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;">
managed=true
/etc/NetworkManager/NetworkManager.conf
 
</pre>
 
<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">
mkdir -p ~/.config/openbox
...
cp /etc/xdg/openbox/* ~/.config/openbox
[ifupdown]
 
managed=true
 
</pre>
~/.config/openbox/autostart
tekst_siia
 
<pre>mkdir -p ~/.config/openbox
...
cp /etc/xdg/openbox/* ~/.config/openbox</pre>
xcompmgr &
tekst_siia
(sleep 1s && tint2) &
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;">
(sleep 1s && xfce4-power-manager) &
~/.config/openbox/autostart
(sleep 1s && volumeicon) &
</pre>
(sleep 1s && clipit) &
<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">
(sleep 3s && nm-applet) &
...
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
xcompmgr &
feh --bg-fill /home/user/wallpaper.jpg &
(sleep 1s && tint2) &
lxterminal &
(sleep 1s && xfce4-power-manager) &
 
(sleep 1s && volumeicon) &
 
(sleep 1s && clipit) &
sudo rm /etc/xdg/autostart/{nm*,polkit*,xfce4*,clipit*}
(sleep 3s && nm-applet) &
 
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
 
feh --bg-fill /home/user/wallpaper.jpg &
~/.gtkrc-2.0
lxterminal &
 
</pre>
gtk-theme-name="Adwaita"
tekst_siia
gtk-icon-theme-name="nuoveXT2"
<pre>sudo rm /etc/xdg/autostart/{nm*,polkit*,xfce4*,clipit*}</pre>
gtk-font-name="Sans 9"
tekst_siia
gtk-cursor-theme-name="Adwaita"
<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;">
 
~/.gtkrc-2.0
 
</pre>
mkdir ~/.config/gtk-3.0
<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">
echo '[Settings]' > ~/.config/gtk-3.0/settings.ini
gtk-theme-name="Adwaita"
cat ~/.gtkrc-2.0 >> ~/.config/gtk-3.0/settings.ini
gtk-icon-theme-name="nuoveXT2"
sed -i -e 's/"//g' ~/.config/gtk-3.0/settings.ini
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