Difference between pages "GNOME First Steps" and "Wim42gnu's-setup"

(Difference between pages)
 
 
Line 1: Line 1:
== What is GNOME? ==
+
=WIM42GNU's Funtoo Setup=
"GNOME 3 is an easy and elegant way to use your computer. It is designed to put you in control and bring freedom to everybody. GNOME 3 is developed by the GNOME community, a diverse, international group of contributors that is supported by an independent, non-profit foundation." [http://gnome.org GNOME]
+
  
== Prerequisites ==
+
This is for everybody who might have seen my funtoo setup and liked it!
 +
This is also for myself to keep track on my system. I have used most of the Linux distributions out there and I am currently most happy with funtoo.
 +
My reasons are:
 +
# Gentoo/Funtoo is a rolling release distribution, meaning you only have to install it once and update it frequently.
 +
# Gentoo/Funtoo is only what you make out of it, no unnesecary rubish like in Ubuntu, OpenSuse or Fedora will be installed by default. In the mean time being aware that Gentoo/Funtoo is for advanced users not careing that much about GUIs for Settings or Configs.
 +
# Gentoo/Funtoo runs fast due to multiple reasons. (Compiling your own software,USE-Flags,...)
 +
# Philosophy, one would think that Slackware would suite me most (KISS,Unix) but the fact is that these distributions require you more energy and time to work with. I want to get my jobs done, not careing to much about the system. It is okay to have tools that do things for you as long they are designed well - like in funtoo.
  
Before installing GNOME, ensure that the [[X Window System]] has been installed.
 
  
{{fancywarning|1=
+
==1. Install Funtoo (not complete yet - I will update this part when I install funtoo the next time)==
Please note that Linux kernel 3.15.* may still have serious incompatibility with various graphics drivers. If you like to use <tt>gentoo-sources</tt> or <tt>vanilla-sources</tt>, please use a 3.14.* kernel. This is of particular importance if you plan to run GNOME, and want to use NVIDIA (commercial or nouveau) or ATI (ati-drivers) graphics drivers.}}
+
  
== Preparing to emerge ==
+
''Follow the install instructions and setup a minimal system.''http://www.funtoo.org/Funtoo_Linux_Installation
  
To get your system ready to emerge gnome, it is recommended that you first set the gnome profile mix-in. To accomplish this, do the following:
+
Notice you will need to create/edit some configs in the installation prozess. Here are some of mine customizations:
<console>
+
##r### ##b## eselect profile list
+
##g##Currently available mix-ins profiles: 
+
  [11]  funtoo/1.0/linux-gnu/mix-ins/audio 
+
  [12]  funtoo/1.0/linux-gnu/mix-ins/console-extras 
+
  [13]  funtoo/1.0/linux-gnu/mix-ins/dvd 
+
  [14]  funtoo/1.0/linux-gnu/mix-ins/gnome 
+
  [15]  funtoo/1.0/linux-gnu/mix-ins/kde 
+
  [16]  funtoo/1.0/linux-gnu/mix-ins/mate 
+
  [17]  funtoo/1.0/linux-gnu/mix-ins/media 
+
  [18]  funtoo/1.0/linux-gnu/mix-ins/print 
+
  [19]  funtoo/1.0/linux-gnu/mix-ins/python3-only
+
  [20]  funtoo/1.0/linux-gnu/mix-ins/rhel5-compat
+
  [21]  funtoo/1.0/linux-gnu/mix-ins/server-db 
+
  [22]  funtoo/1.0/linux-gnu/mix-ins/server-mail
+
  [23]  funtoo/1.0/linux-gnu/mix-ins/server-web
+
  [24]  funtoo/1.0/linux-gnu/mix-ins/X
+
  [25]  funtoo/1.0/linux-gnu/mix-ins/xfce
+
  [26]  funtoo/1.0/linux-gnu/mix-ins/vmware-guest
+
  [27]  funtoo/1.0/linux-gnu/mix-ins/hardened
+
</console>
+
After seeing a list of available profiles, we want to add in the appropriate number for the gnome mix-in. To do this, run the following:
+
<console>
+
##r### ##b##eselect profile add 14
+
</console>
+
  
By enabling the gnome mix-in, various USE and other settings will be optimized to provide you with a pain-free GNOME installation experience.
+
a) <code>/etc/portage/make.conf</code>:
 +
  CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
 +
  CXXFLAGS="${CFLAGS}"
 +
  CPU_FLAGS_X86="aes avx fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop"
  
== Emerging ==
+
''for the CPU Flags checkout:'' http://www.funtoo.org/News:CPU_FLAGS_X86
  
You are provided with two packages that will pull in this desktop environment:
+
  USE="qt3support theora libkms xa cdr dvd dvdr alsa ffmpeg -gnome gtk -qt4 -kde lm_sensors mp3 mp4 mozilla multilib png python sound udev usb unicode static-libs hddtemp -bluetooth  nvidia X pulseaudio udisks"
  
* ''gnome''
+
  EMERGE_DEFAULT_OPTS="--keep-going"
 +
  FEATURES="-collision-protect ccache"
 +
  CCACHE_SIZE="1G"
 +
  PORTAGE_NICENESS=20
 +
  PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
 +
  #EMERGE_DEFAULT_OPTS="--jobs=12"
 +
  MAKEOPTS="-j12" ''<--- Number of CPU cores *2 in my case works best.''
  
{{fancynote|This is the "whole shabang" - pulls in a range of applications made for the gnome desktop environment including a few games, an archive manager, a system monitor, a web browser, a terminal, etc.}}
+
  LANG="de_DE.UTF-8"  
 +
  LINGUAS="de" 
 +
  ACCEPT_LICENSE="* -@EULA"
 +
  INPUT_DEVICES="evdev"
 +
  VIDEO_CARDS="nvidia"
  
* ''gnome-light''
 
  
{{fancynote|As the name implies, this pulls in the base minimal you need to get a functioning GNOME Desktop Environment.}}
+
b) <code>/etc/fstab</code>
  
=== GNOME 3.12 from a clean install ===
+
  # /etc/fstab: static file system information.
 +
  #
 +
  # The root filesystem should have a pass number of either 0 or 1.
 +
  # All other filesystems should have a pass number of 0 or greater than 1.
 +
  #
 +
  # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
 +
  #
 +
  # See the manpage fstab(5) for more information.
 +
  #
 +
  # <fs> <mountpoint> <type> <opts> <dump/pass>
  
==== gnome ====
+
  /dev/sda1 /boot ext2 noauto,noatime 1 2
 +
  #/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
 +
  /dev/mapper/vg-swap    none          swap      sw                              0 0
 +
  /dev/mapper/vg-root    /            ext4      noatime,nodiratime,defaults    0 1
 +
  /dev/sr0                /mnt/cdrom    auto      noauto,ro                      0 0
 +
  /dev/mapper/vg-home    /home        ext4      noatime,nodiratime              0 0
 +
''' tmpfs /var/tmp/portage tmpfs uid=portage,gid=portage,mode=0775,size=16048M,noatime 0 0'''
  
To emerge ''gnome'' run the following command
+
for tmpfs see: http://www.funtoo.org/Funtoo_Filesystem_Guide,_Part_3
  
<console>
+
c) Since I have an encrypted LVM, one needs an initramfs. I prefer the genkernel method.
# ##i## emerge -va gnome
+
    genkernel --kernel-config=/path/to/your/custom-kernel-config --no-mrproper --makeopts=-j5 --install --lvm --luks all
</console>
+
more here: http://www.funtoo.org/Rootfs_over_encrypted_lvm or use better-initramfs: http://www.funtoo.org/Initramfs
  
==== gnome-light ====
+
d) My Funtoo Profiles:
 +
  eselect profile show
 +
 
 +
  Currently set profiles:
 +
    arch: gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit
 +
    build: gentoo:funtoo/1.0/linux-gnu/build/current
 +
  flavor: gentoo:funtoo/1.0/linux-gnu/flavor/desktop
 +
  mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/audio
 +
  mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/console-extras
 +
  mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/dvd
 +
  mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/media
 +
  mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/X
 +
 +
  Automatically enabled profiles:
 +
  mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/print
 +
  mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/X
 +
  mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/audio
 +
  mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/dvd
 +
  mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/media
 +
  mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/console-extras
  
To emerge ''gnome-light'' run the following command
 
  
<console>
+
==2. Install your WindowManager or DesktopEnviroment==
# ##i## emerge -va gnome-light
+
</console>
+
  
=== Upgrading from GNOME 3.6 ===
+
''My favourite Window Manager at the time is i3 followed by xfce and openbox.''
 +
''Details about i3 & funtoo → http://www.funtoo.org/Package:I3_(Window_Manager) ''
 +
'''i3 setup:'''
  
==== gnome ====
+
1) install these packages:
 
+
<console> emerge --ask i3 i3status dmenu lxappeareance
To emerge ''gnome'', remove nautilus-open-terminal if it is installed as it now bundled into gnome-terminal
+
 
+
<console>
+
# ##i## emerge -vaC nautilus-open-terminal
+
 
</console>
 
</console>
 +
'' If you want to know what these packages are research them. I use lxappeareance to install and select gtk-themes.''
  
Then, run the following command
+
Config files:
  
<console>
+
==='''1.''' xinitrc at <code>~/.xinitrc </code>===
# ##i## emerge -vauDN world
+
  exec ck-launch-session i3
</console>
+
''You only need --force-xinerama if you do have a nvidia grafics card that do not work without it. For more <code>startx</code> magic → https://wiki.archlinux.org/index.php/xinitrc''
  
==== gnome-light ====
+
==='''2.'''  <code>~/.i3/config</code>===
  
To emerge ''gnome-light'' remove the following packages as there have been changes since 3.6 (you will have up reinstall any packages that have been renamed after gnome-light completes).
+
''specify window colors at the top of the file:''
 +
  # class                border  backgr. text    indicator
 +
  client.focused          #333333 #000000 #ffffff #000000
 +
  client.focused_inactive #333333 #5f676a #ffffff #484e50
 +
  client.unfocused        #333333 #222222 #888888 #292d2e
 +
  client.urgent          #333333 #900000 #ffffff #900000
  
<console>
+
''specify the bar/workspace colors at the bottom of the file:''
# ##i## emerge -vaC gnome-fallback gnome-panel gnome-screensaver metacity gnome-games gcalctool nautilus-open-terminal
+
 
</console>
+
  bar {
 +
          status_command i3status
 +
          # Bar color settings
 +
          colors{
 +
                  #background #000000
 +
                  #statusline #ffffff
 +
                  #separator  #666666
 +
                  # Type            border  background font
 +
                  focused_workspace  #008fff #007fff #ffffff
 +
                  active_workspace  #333333 #5f676a #ffffff
 +
                  inactive_workspace #333333 #222222 #888888
 +
                  urgent_workspace  #aa0000 #990000 #ffffff
 +
          }
 +
  }
  
Then, run the following command
 
  
<console>
+
Do not forget the keymap setting at <code>/etc/X11/xorg.conf</code> otherwise you need to use <code>setxkbmap</code>
# ##i## emerge -vauDN world
+
  Section "InputClass"
</console>
+
    Identifier        "keyboard-all"
 +
    Driver            "evdev"
 +
    MatchIsKeyboard    "on"
 +
  ''' Option        "XkbLayout" "de"'''
 +
  EndSection
  
Finally, restore any applications that have been renamed (such as gcalctool => gnome-calculator)
+
==='''3. '''Display Power Management Signaling===
  
<console>
+
a) You can either use XScreenSaver(https://wiki.archlinux.org/index.php/XScreenSaver):
# ##i## emerge -va gnome-calculator
+
  emerge -a xscreensaver
</console>
+
  
== Subsystems ==
+
and add <code>/usr/bin/xscreensaver -no-splash &</code> to your <code>~/.xinitrc</code> file:
 +
 
 +
  xscreensaver -no-splash &        # starts screensaver daemon
 +
  exec ck-launch-session i3 --force-xinerama
  
=== Bluetooth ===
+
or b) modifi your Xorg server (https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling).
  
For bluetooth support, ensure that:
+
==='''4. '''Note: ===
  
# Bluetooth support is enabled in your kernel (using modules is fine).
+
I login without a login manager using <code>startx</code> to start my Window Manager, you can end/exit your i3 wm via <code>alt or windows key + shift + e</code>
# Your bluetooth hardware is turned on.
+
# Add the <code>bluetooth</code> startup script to the default runlevel, and start it.
+
  
This can be done as follows:
+
==='''5.''' Background Image Viewer===
 
+
<console>
+
# ##i##rc-update add bluetooth default
+
# ##i##rc
+
</console>
+
 
+
Once this is done, you should now be able to navigate to ''Settings'' -> ''Bluetooth'' and turn bluetooth on. The icon next to devices should now animate and you should be able to discover and add devices such as keyboards.
+
 
+
=== Printing ===
+
 
+
To enable printing support, add <code>cupsd</code> to the default runlevel:
+
 
+
<console>
+
# ##i##rc-update add cupsd default
+
# ##i##rc
+
</console>
+
 
+
You should now be able to navigate to ''Settings'' -> ''Printers'' and add printers to your system, and print.
+
 
+
=== Scanning ===
+
 
+
To enable scanning support, add your user account to the <code>lp</code> group. This will allow your user to access the USB scanner.
+
 
+
Then, <code>emerge xsane</code>, and run it. It should be able to access your scanner.
+
 
+
== Finishing Touches ==
+
 
+
=== X ===
+
 
+
==== Setting up xdm (GUI log-in) ====
+
 
+
Typically, you will want to use <tt>gdm</tt>, the GNOME display manager, to log in to GNOME. This will allow you to log in graphically, rather than using the text console.
+
 
+
To enable gdm, edit <tt>/etc/conf.d/xdm</tt> and set <tt>DISPLAYMANAGER</tt> to <tt>gdm</tt> instead of <tt>xdm</tt>. Then, perform the following steps to add <tt>xdm</tt> to the default runlevel, and have it start automatically from now on when your system starts:
+
 
+
<console>
+
# ##i##rc-update add xdm default
+
</console>
+
 
+
Then, if you want to start it now do
+
 
+
<console>
+
# ##i##rc
+
</console>
+
 
+
But you should reboot to avoid having an open login terminal
+
 
+
==== Setting up xinitrc (text log-in) ====
+
 
+
Adding the following to your <tt>~/.xinitrc</tt> file is sufficient:
+
 
+
<pre>
+
# Fix Missing Applications in Gnome
+
export XDG_MENU_PREFIX=gnome-
+
 
+
# Properly Launch the Desired X Session
+
exec ck-launch-session gnome-session
+
</pre>
+
 
+
Additionaly, if you need support for different input sources, there is no longer a need to configure ibus or scrim in your <tt>.xinitrc</tt> file as GNOME uses ibus natively. Simply configure it in the Control Center under Region & Langauge.
+
 
+
=== Disable Adwaita Dark Theme ===
+
 
+
If you do not like the Adwaita Dark Theme it can be disabled by copying then modifying it like so:
+
 
+
<console>
+
mkdir -p ~/.themes/Adwaita-NoDark
+
cp -r /usr/share/themes/Adwaita/gtk-* ~/.themes/Adwaita-NoDarkhttp://www.funtoo.org/Category:Ebuild_Category
+
rm ~/.themes/Adwaita-NoDark/gtk-3.0/gtk-dark.css
+
ln -s gtk.css ~/.themes/Adwaita-NoDark/gtk-3.0/gtk-dark.css
+
</console>
+
  
Then, run gnome-tweak-tool and select select Theme -> GTK+ Theme -> Adwaita-NoDark.
+
a) Feh
 +
<console> emerge -a feh</console>
 +
<code>~/.xinitrc</code>:
 +
  feh --bg-center <path>/<image>.png
  
{{fancynote|If you run GUI programs with the sudo command, then the above steps (excluding running gnome-tweak-tool) must be repeated for the root account.}}
+
''more options → https://wiki.archlinux.org/index.php/Feh#As_a_desktop_wallpaper_manager ''
  
[https://ask.fedoraproject.org/en/question/10304/how-do-i-ban-apps-from-using-gnome-3-adwaita-dark-theme/ Reference]
+
b) Nitrogen(GUI Programm)
 +
<console> emerge -a nitrogen</console>
 +
<code>~/.xinitrc</code>:
 +
  exec --no-startup-id nitrogen --restore
 +
==3. Additional Software:==
  
=== Verify the inode/directory MimeType Handler ===
+
===1) File Manager:===
 +
<console> emerge --ask thunar </console>
 +
''thunar - filemanager that supports automounting''
 +
''Make sure you create this rule: <code> /etc/polkit-1/rules.d/10-drives.rules</code>
 +
  polkit.addRule(function(action, subject) {
 +
  if (action.id.indexOf("org.freedesktop.udisks2.") == 0){
 +
  return polkit.Result.YES;
 +
  }
 +
  }
 +
  );
  
In some odd instances, baobab might take priority over nautilus when handling the inode/directory MimeType. If this behavior is not desired, add the following to /home/~/.local/share/applications/mimeapps.list:
+
''Also you should have <code>udisk</code> installed''
  
<pre>
+
===2) '''media-video/smplayer:'''===
[Added Associations]
+
inode/directory=nautilus.desktop;baobab.desktop;
+
</pre>
+
  
=== Automatically Starting Applications at Login ===
+
''allow smplayer always to floate, just add''
 +
  for_window [class="smplayer" instance="smplayer"] floating enable
 +
''to your <code>~/.i3/config</code>''
  
When using an old-fashioned <tt>.xinitrc</tt>, starting up applications when X starts is relatively easy. When using GDM, this can still be accomplished, by using the <tt>~/.xprofile</tt> file. Here's my sample <tt>.xprofile</tt> to start <tt>xflux</tt> to dim the screen at night:
+
===3)''' Internet Browser '''===
 +
''I recommend <code>
 +
www-client/chromium</code> or <code>www-client/google-chrome</code>
 +
''see for more info: http://www.funtoo.org/Funtoo_Linux_Web_Browsers''
 +
  Addons:
 +
  1) Adblock
 +
  2) uMatrix
 +
  3) StayFocused
 +
  4) WebRTC Block
  
<pre>
+
===n)''' usefull software '''===
xflux -z 87107
+
app-arch/file-roller
</pre>
+
app-editors/bluefish
 +
app-emulation/wine
 +
app-misc/freemind
 +
app-office/libreoffice
 +
app-portage/eix
 +
mail-client/thunderbird
 +
media-gfx/blender
 +
media-gfx/gimp
 +
media-sound/audacity
 +
media-video/kdenlive
  
Remember to add a <tt>&</tt> at the end of any command that doesn't return to the shell prompt after running.
 
  
[[Category:Desktop]]
+
media-video/vlc
[[Category:First Steps]]
+
net-analyzer/wireshark
[[Category:Official Documentation]]
+
net-ftp/filezilla
 +
sys-apps/lm_sensors
 +
virtual/jre
 +
app-text/evince
 +
app-text/calibre
 +
app-emulation/virtualbox

Revision as of 20:37, February 16, 2015

WIM42GNU's Funtoo Setup

This is for everybody who might have seen my funtoo setup and liked it! This is also for myself to keep track on my system. I have used most of the Linux distributions out there and I am currently most happy with funtoo. My reasons are:

  1. Gentoo/Funtoo is a rolling release distribution, meaning you only have to install it once and update it frequently.
  2. Gentoo/Funtoo is only what you make out of it, no unnesecary rubish like in Ubuntu, OpenSuse or Fedora will be installed by default. In the mean time being aware that Gentoo/Funtoo is for advanced users not careing that much about GUIs for Settings or Configs.
  3. Gentoo/Funtoo runs fast due to multiple reasons. (Compiling your own software,USE-Flags,...)
  4. Philosophy, one would think that Slackware would suite me most (KISS,Unix) but the fact is that these distributions require you more energy and time to work with. I want to get my jobs done, not careing to much about the system. It is okay to have tools that do things for you as long they are designed well - like in funtoo.


1. Install Funtoo (not complete yet - I will update this part when I install funtoo the next time)

Follow the install instructions and setup a minimal system.http://www.funtoo.org/Funtoo_Linux_Installation

Notice you will need to create/edit some configs in the installation prozess. Here are some of mine customizations:

a) /etc/portage/make.conf:

 CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
 CXXFLAGS="${CFLAGS}"
 CPU_FLAGS_X86="aes avx fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop"

for the CPU Flags checkout: http://www.funtoo.org/News:CPU_FLAGS_X86

 USE="qt3support theora libkms xa cdr dvd dvdr alsa ffmpeg -gnome gtk -qt4 -kde lm_sensors mp3 mp4 mozilla multilib png python sound udev usb unicode static-libs hddtemp -bluetooth  nvidia X pulseaudio udisks"
 EMERGE_DEFAULT_OPTS="--keep-going"
 FEATURES="-collision-protect ccache"
 CCACHE_SIZE="1G"
 PORTAGE_NICENESS=20
 PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
 #EMERGE_DEFAULT_OPTS="--jobs=12" 
 MAKEOPTS="-j12" <--- Number of CPU cores *2 in my case works best.
 LANG="de_DE.UTF-8" 
 LINGUAS="de"  
 ACCEPT_LICENSE="* -@EULA" 
 INPUT_DEVICES="evdev"
 VIDEO_CARDS="nvidia"


b) /etc/fstab

 # /etc/fstab: static file system information.
 #
 # The root filesystem should have a pass number of either 0 or 1.
 # All other filesystems should have a pass number of 0 or greater than 1.
 #
 # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
 #
 # See the manpage fstab(5) for more information.
 #
 # <fs>			<mountpoint>	<type>		<opts>		<dump/pass>
 /dev/sda1		/boot		ext2		noauto,noatime	1 2
 #/dev/cdrom		/mnt/cdrom	auto		noauto,ro	0 0
 /dev/mapper/vg-swap     none          swap      sw                              0 0
 /dev/mapper/vg-root     /             ext4      noatime,nodiratime,defaults     0 1
 /dev/sr0                /mnt/cdrom    auto      noauto,ro                       0 0
 /dev/mapper/vg-home     /home         ext4      noatime,nodiratime              0 0
 tmpfs		/var/tmp/portage	tmpfs	uid=portage,gid=portage,mode=0775,size=16048M,noatime	0 0

for tmpfs see: http://www.funtoo.org/Funtoo_Filesystem_Guide,_Part_3

c) Since I have an encrypted LVM, one needs an initramfs. I prefer the genkernel method.

   genkernel --kernel-config=/path/to/your/custom-kernel-config --no-mrproper --makeopts=-j5 --install --lvm --luks all 

more here: http://www.funtoo.org/Rootfs_over_encrypted_lvm or use better-initramfs: http://www.funtoo.org/Initramfs

d) My Funtoo Profiles:

 eselect profile show
 
 Currently set profiles:
    arch: gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit
   build: gentoo:funtoo/1.0/linux-gnu/build/current
  flavor: gentoo:funtoo/1.0/linux-gnu/flavor/desktop
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/audio
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/console-extras
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/dvd
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/media
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/X

 Automatically enabled profiles:
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/print
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/X
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/audio
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/dvd
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/media
 mix-ins: gentoo:funtoo/1.0/linux-gnu/mix-ins/console-extras


2. Install your WindowManager or DesktopEnviroment

My favourite Window Manager at the time is i3 followed by xfce and openbox. Details about i3 & funtoo → http://www.funtoo.org/Package:I3_(Window_Manager) i3 setup:

1) install these packages:

 emerge --ask i3 i3status dmenu lxappeareance

If you want to know what these packages are research them. I use lxappeareance to install and select gtk-themes.

Config files:

1. xinitrc at ~/.xinitrc

 exec ck-launch-session i3

You only need --force-xinerama if you do have a nvidia grafics card that do not work without it. For more startx magic → https://wiki.archlinux.org/index.php/xinitrc

2. ~/.i3/config

specify window colors at the top of the file:

 # class                 border  backgr. text    indicator
 client.focused          #333333 #000000 #ffffff #000000
 client.focused_inactive #333333 #5f676a #ffffff #484e50
 client.unfocused        #333333 #222222 #888888 #292d2e
 client.urgent           #333333 #900000 #ffffff #900000

specify the bar/workspace colors at the bottom of the file:

 bar {
         status_command i3status
         # Bar color settings
         colors{
                 #background #000000
                 #statusline #ffffff
                 #separator  #666666
                 # Type             border  background font
                 focused_workspace  #008fff #007fff #ffffff
                 active_workspace   #333333 #5f676a #ffffff
                 inactive_workspace #333333 #222222 #888888
                 urgent_workspace   #aa0000 #990000 #ffffff
         }
 }


Do not forget the keymap setting at /etc/X11/xorg.conf otherwise you need to use setxkbmap

 Section "InputClass"
   Identifier         "keyboard-all"
   Driver             "evdev"
   MatchIsKeyboard    "on"
   Option         "XkbLayout" "de"
 EndSection

3. Display Power Management Signaling

a) You can either use XScreenSaver(https://wiki.archlinux.org/index.php/XScreenSaver):

 emerge -a xscreensaver

and add /usr/bin/xscreensaver -no-splash & to your ~/.xinitrc file:

 xscreensaver -no-splash &         # starts screensaver daemon 
 exec ck-launch-session i3 --force-xinerama 

or b) modifi your Xorg server (https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling).

4. Note:

I login without a login manager using startx to start my Window Manager, you can end/exit your i3 wm via alt or windows key + shift + e

5. Background Image Viewer

a) Feh

 emerge -a feh

~/.xinitrc:

  feh --bg-center <path>/<image>.png

more options → https://wiki.archlinux.org/index.php/Feh#As_a_desktop_wallpaper_manager

b) Nitrogen(GUI Programm)

 emerge -a nitrogen

~/.xinitrc:

  exec --no-startup-id nitrogen --restore

3. Additional Software:

1) File Manager:

 emerge --ask thunar 

thunar - filemanager that supports automounting Make sure you create this rule: /etc/polkit-1/rules.d/10-drives.rules

 polkit.addRule(function(action, subject) {
 if (action.id.indexOf("org.freedesktop.udisks2.") == 0){
 return polkit.Result.YES;
 }
 }
 );

Also you should have udisk installed

2) media-video/smplayer:

allow smplayer always to floate, just add

 for_window [class="smplayer" instance="smplayer"] floating enable

to your ~/.i3/config

3) Internet Browser

I recommend www-client/chromium or www-client/google-chrome see for more info: http://www.funtoo.org/Funtoo_Linux_Web_Browsers

  Addons:
  1) Adblock
  2) uMatrix
  3) StayFocused
  4) WebRTC Block

n) usefull software

app-arch/file-roller app-editors/bluefish app-emulation/wine app-misc/freemind app-office/libreoffice app-portage/eix mail-client/thunderbird media-gfx/blender media-gfx/gimp media-sound/audacity media-video/kdenlive


media-video/vlc net-analyzer/wireshark net-ftp/filezilla sys-apps/lm_sensors virtual/jre app-text/evince app-text/calibre app-emulation/virtualbox