Following my previous post about Debian, here is a kind of cryptic script with the steps I used for installing Fedora 19 on a Lenovo s400 laptop. I have /home in a separate partition, so all the configs and bells and whistles are already in place.
Add user sudoers file: (or at install, put root password blank)
su usermod -aG sudo vic
use always sudo for admin things! root does not have a log of commands!
Get the screen backlight to work
sudo gedit /etc/default/grub
Add acpibacklight=vendor to the GRUBCMDLINE_LINUX= line at the back before the quotes.
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
There is a bug with radeon catalyst drivers on the backlight. If problems occur, remove acpi_backlight=vendor from grub. You will need to pump up the backlight every time you power up the laptop.
Install Catalyst + Intel propietary hybrid graphics driver
As instructed in this ask.fedoraproject question, we are going to download the driver, compile and install it. This has a caveat: every time the kernel is updated, we will need to reinstall the driver.
sudo yum -y update && yum install gcc kernel-devel kernel-headers gimp-help-en gimp-help-common XFree86-Mesa-libGL libstdc++ libgcc XFree86-libs fontconfig freetype zlib
Add backlight parameters to grub to eliminate blackscreen issue (seen before).
Download and extract:
sudo mkdir ./AMD && cd ./AMD
sudo wget http://www2.ati.com/drivers/beta/amd-catalyst-13.8-beta2-linux-x86.x86_64.zip
sudo unzip '/path/to/AMD/amd-catalyst-13.8-beta2-linux-x86.x86_64.zip'
sudo bash '/path/to/AMD/amd-catalyst-13.8-beta2-linux-x86.x86_64.run' --extract
Edit needed flags on the code:
gedit '/path/to/AMD/fglrx-install.xxxxxx/common/lib/modules/fglrx/build_mod/firegl_public.c'change line 284 from
bash ./ati-installer.sh --arguments --install
aticonfig --initial -f
You can make shell scripts to change from Intel to AMD gpu and viceversa:
To check which GPU is in use:
Enable rpmfusion repos
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
Fix font rendering
sudo yum install freetype-freeworld from rpmfusion
echo "Xft.lcdfilter: lcddefault" >> ~/.Xresources
Faience icons theme
download icons from https://code.google.com/p/faience-theme/ and paste them into ~/.icons/
Install google chrome from their web. The .rpm installs the google repo.
sudo gedit /etc/yum.repos.d/steam.repo
Inside that file:
Inside that file:
chmod +x subl.sh
Install jitsi from their webpage
The .rpm installs their repo
If you are using x86_64 then you need to manually install some of the dependences:
sudo yum -y install libXv.i686 libXScrnSaver.i686 qt.i686 qt-x11.i686 pulseaudio-libs.i686 pulseaudio-libs-glib2.i686 alsa-plugins-pulseaudio.i686
Download skype rpm package from their web and install:
yum install downloaded-skype.rpm
Install intellijIdea from their page
They have no repo so far
Gnome problem with super key (it's needed to press fn+super, and it's already changed on the bios with no luck)
Using dconf-editor, change org.gnome.mutter.overlay-key variable to "Super_R"
Nautilus problem: no second button->new file. solution:
touch ~/Plantillas/"Documento vacío"
Handful of packages:
sudo yum install git vim tmux weechat gparted alacarte firefox thunderbird steam owncloud-client fritzing redshift VirtualBox gimp gpick darktable guake htop terminator unetbootin gparted xchat meld pitivi vlc cmus texlive inkscape kst arduino units gtk-redshift redshift ruby-devel dbus-python colordiff
Install ruby gems:
sudo gem install rake jekyll rdiscount tempdir bundler
Víctor Cuadrado Juan
I'm Víctor Cuadrado Juan, a developer and FOSS enthusiast, in love with Linux. Currently living in Nürnberg, Germany. Feel free to waste your precious time around here, or to contact me: me at viccuad.me .