Hello! I have been following this blog for years, and more than once I have considered joining the community and contributing ... In the end, after thinking about it a lot, I have decided: P. In this first post I will explain you in a way detailed how I configure and customize the computers on which I install Fedora 21 GNOME (probably when they release 22 there will hardly be any changes to make). I am very picky about the articles I write, so they will usually be quite long (but of quality; D). I hope it is useful for you!
Table of Contents
The first thing is to open a terminal and to update:
sudo dnf update
We install the RPM-Fusion repositories, which allows us to access a variety of packages much greater than the one provided by Fedora by default:
sudo dnf install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-21.noarch.rpm sudo dnf install --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora /rpmfusion-nonfree-release-21.noarch.rpm
If we want to use Adobe Flash Player (surely because of YouTube) we also need the corresponding repository:
sudo dnf install --nogpgcheck http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
We return to to update to be able to use the previous repositories:
sudo dnf update
We install essential packages:
sudo dnf install wget nano preload git make kernel-headers kernel-devel libxml2 libxml2-devel alsa-firmware pavucontrol mercurial sudo dnf groupinstall "Development Tools" sudo dnf groupinstall "Development Libraries"
We install tools compression y decompression:
sudo dnf install unrar p7zip p7zip-plugins unace zip unzip
We install codecs:
sudo dnf install gstreamer gstreamer1-libav gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld gstreamer1-plugins-good-extras gstreamer1-plugins-ugly gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-free-plugins-bad -extras gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly gstreamer-ffmpeg ffmpeg ffmpeg-libs libmatroska xvidcore libva-vdpau-driver libvdpau libvdpau-devel gstreamer1-vaapi
We install DVD support:
sudo dnf install lsdvd libdvbpsi libdvdread libdvdnav
We install support for HP devices:
sudo dnf install hplip hplip-common libsane-hpaio
We install additional fonts:
sudo dnf install freetype-freeworld levien-inconsolata-fonts adobe-source-code-pro-fonts mozilla-fira-mono-fonts google-droid-sans-mono-fonts dejavu-sans-mono-fonts sudo dnf install http: // sourceforge.net/projects/mscorefonts2/files/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
We install 32-bit packets To ensure compatibility of certain programs (only necessary if you use 64 bits):
sudo dnf install at-spi2-atk.i686 atkmm.i686 at-spi2-atk-devel.x86_64 atk.i686 mingw64-atk.noarch mingw64-atk-static.noarch atk-devel.i686 rubygem-atk.x86_64 mingw64-atk.x686_32 mingw32-atk.x2_86 mingw64-atk .noarch rubygem-atk-devel.i2 mingw686-atk.noarch mingw86-atk-static.noarch at-spi64-atk.x86_64 at-spi86-atk-devel.i64 atk.x686_32 atkmm.x686_86 atk-devel.x64_3 atkmm- devel.i86 mingw64-atkmm.noarch cairomm.i86 cairo-gobject.x64_686 python86-cairo.x64_64 rubygem-cairo-devel.x686_86 cairo-devel.i64 cairomm.x32_64 mingw32-cairomm.noarch caveliro. gobject-de caveliro. x86_64 mingw32-cairomm.noarch mingw32-cairo-static.noarch mingw86-cairomm-static.noarch rubygem-cairo.x64_64 mingw86-cairo.noarch mingw64-cairo-static.noarch cairo-gobject-devel.x686_86 mingw64-cairom static noarch cairo-devel.x686_686 cairomm-devel.i86 cairomm-devel.x64_64 cairo-gobject.i2 cairo.i86 pycairo.x64_2 mingw686-cairo.noarch gdk-pixbuf2-devel.x686_2 gdk-pixbuf686-devel.i i2 rubygem-gdk_pixbuf86-devel.i64 gdk-pixbuf2.x86_64 rubygem-g dk_pixbuf32.x64_686 mingw32-gdk-pixbuf.noarch mingw32-pango.noarch pangomm-devel.i686 mingw86-pango.noarch mingw64-pango-static.noarch pango-devel.i686 rubygem-pango.x86_64x64_Pangow686 SDL686_Pangow86 SDL_Pangow64 pango-static.noarch SDL_Pango-devel.i32 pangox-compat-devel.i686 pango.x86_64 mingw86-pangomm.noarch rubygem-pango-devel.i64 pango-devel.x686_86 SDL_Pango-devel.x64_686 SDLx64 pangom.i686 pangom compat.iXNUMX mingwXNUMX-pangomm.noarch pangomm.iXNUMX
We optimize our EXT4 partitions:
sudo gedit / etc / fstab
We will see our partitions, both the SWAP and the EXT4 that we have. In all those EXT4, where the word "defaults" appears, we must add ", relatime" right after so that it finally appears as "defaults, relatime" (without the quotes). We save and close Gedit.
¡We reboot! It is not essential, but doing so does not hurt ...
Graphics card drivers
If your graphics card is only Intel or only ATI / AMD you have it very easy:
sudo dnf install dkms mesa-vdpau-drivers mesa-dri-drivers mesa-libGLU libtxc_dxtn sudo dnf install mesa-dri-drivers.i686 mesa-libGLU.i686 libtxc_dxtn.i686
Then it would be enough simply to Reiniciar.
If you use NVIDIA… Here comes the problems. The desirable thing is to be able to use Nouveau, the free driver that comes by default in Fedora. In my personal case for a few years it gave me problems (such as not having 3D acceleration or controlling the fan well, so it roared at the maximum constantly), but currently it works great for me; I use an NVIDIA GeForce 9800 GT. To know if your NVIDIA works well with Nouveau you can check it here!.
In the event that you do well, you would only have to do the same as with Intel and ATI / AMD. What if your NVIDIA still doesn't have all the support you need in Nouveau, or you just want to make the most of its potential? The only option left would be to install the official NVIDIA proprietary (closed source) driver. But for that you already have a magnificent article from the user Leproso_Ivan in this blog;).
Finally, there is a last case, which is that of hybrid graphics cards. These types of systems combine two graphics cards (generally NVIDIA + Intel, using a technology known as "NVIDIA Optimus") to use them according to the power you need at all times. The problem is that in GNU / Linux this technology it usually works very badly. But fear not! A few months ago, after much effort, I got a friend with a Mountain laptop to install Fedora 21 (with one problem: only Intel works, NVIDIA doesn't). These are the steps to follow:
First step: Execute the following in a terminal:
sudo dnf install libbsd-devel libbsd glibc-devel libX11-devel help2man autoconf git tar glib2 glib2-devel kernel-devel kernel-headers automake gcc gtk2-devel VirtualGL VirtualGL.i686 sudo dnf install http://install.linux.ncsu.edu /pub/yum/itecs/public/bumblebee-nonfree/fedora19/noarch/bumblebee-nonfree-release-1.1-1.noarch.rpm http://install.linux.ncsu.edu/pub/yum/itecs/public/ bumblebee / fedora19 / noarch / bumblebee-release-1.1-1.noarch.rpm sudo dnf install bumblebee-nvidia primus primus.i686 bumblebee bbswitch
Second step: Restart and press Ctrl + Other + F2 as soon as the Fedora loading screen appears. We will enter text mode (in terminal) and we will write «root» without the quotes, we will press Intro and we will connect with the superuser. Once we are inside, we execute:
init 3 X -configure cp /root/xorg.conf.new /etc/X11/xorg.conf nano /etc/X11/xorg.conf
From the Nano text editor, we will have to search for a Section «Device» having Card1 to change Driver «fbdev» a Driver "nvidia". We save and then:
nano / etc / default / grub
We seek GRUB_CMDLINE_LINUX, whose value will be a text string. From all that chain we will have to erase nomodeset and add to the end of the string acpi_backlight = vendor, a space and acpi = force (before the closing quote). We save and execute this:
grub2-mkconfig -o /boot/grub2/grub.cfg
Finally, we restart:
If my guide for NVIDIA Optimus does not work for you, I recommend you inform yourself about Bumblebee and try it yourself (you can mess it up, so make a backup copy of the files you have xD) or directly use Ubuntu, which is usually fine by default.
I have no experience in hybrid graphics cards from AMD, so I can not propose anything there ...
Installation and configuration of the programs
Normally a conventional guide would stop here or just recommend a few additional programs. Here the first thing we will do is configure GNOME, since the default configuration is not usually the desired one. Then we will install the best program for each type of task according to my quality and productivity criteria; When I install Fedora to someone or myself, I consider it optimal to leave a wide repertoire of software so that I do not need to install more in the future (feel free not to install what you want). Finally we will do some touch-ups to make everything perfect.
Let us begin! We open the program Configuration and we configure everything according to the following scheme:
- Search> We deactivate what we do not want to search (in my case: everything)
- Fund> We put the funds that we prefer (in my case: the GNOME official)
- Screen lock> Deactivate "Automatic screen lock" (I prefer to activate it manually)
- Usage and history> Disable «Recently used»
- Region and language> Put everything in Spanish
- Power> Screen off: Never
- Keyboard> Shortcuts>
- Typing> Compose key: Right Ctrl (very useful for unusual characters)
- Custom combination> Add:
- Name: Open terminal
- Command: gnome-terminal
- We configure it with Ctrl + Other + T (This way we will open the terminal comfortably, as in Ubuntu)
- Share> Team name: The one you want; I always put «fedora-pc»
- Date and time> Activate «Automatic time zone»
- Users> We put on the avatar we want
We install additional GNOME configuration tools:
sudo dnf install gnome-tweak-tool gnome-shell-extension-common dconf-editor
We open the Touch-up tool:
- Appearance> Activate «Global dark theme» (applications that do not use GTK3 will remain blank)
- Top bar> Activate «Show date»
- Keyboard and mouse> Disable «Paste on middle click»
- Monospaced: Source Code Pro Regular
- Hinting: Slight
- Straightening: Rgba
- Work areas>
- Creation of work areas: Static
- Number of work areas: 6 (in my case, with 6 I am always comfortable)
We install the following extensions from Firefox (don't forget to give the GNOME page permission to let us install them):
- Lock Keys (only if you have a keyboard that does not indicate if you have capital letters activated; if notifications bother you, they can be deactivated in the extension's preferences)
- Media Player Indicator
- System Monitor
We uninstall some programs that come by default, since generally are not used:
sudo dnf remove cheese gnome-documents orca bijiben devassistant gnome-contacts
We configure Files (Nautilus):
- Views> Activate "Put folders before files"
- Behavior> Activate "Ask every time"
We configure Port:
- Preferences> General> Disable "Show menu bar in new terminals by default"
We install GNOME programs for weather, maps and time / date:
sudo dnf install gnome-weather gnome-maps gnome-clocks
We configure Meteorology:
- Add: Madrid, Spain (or where you live)
- Temperature unit> Activate «Celsius»
Como text editor for basic tasks we will use Gedit. We install your plugins:
sudo dnf install gedit-plugins
We configure Gedit:
- Activate «Show line numbers»
- Activate «Show right margin in column: 80»
- Activate «Highlight current line»
- Activate "Highlight pairs of brackets"
- Tab width: 4
- Activate "Insert spaces instead of tabs"
- Activate «Activate automatic indentation»
- Fonts and colors> Select «Oblivion»
- Accessories> As you like the most
For, view images we will use the Image Viewer (Eye of GNOME)Therefore we uninstall Shotwell too:
sudo dnf install eog eog-plugins && sudo dnf remove shotwell
For, burn discs we will use Brazier. We install it:
sudo dnf install brazier
For, play music we will use Rhythmbox. We configure it:
- Plugins> Leave On Only: Cover Art Search, MediaServer2 D-Bus Interface, MPRIS D-Bus Interface, and Display
- General> Activate «Genres, artists and albums»
- Music> Activate «Watch my library for new files»
For a long time Rhythmbox seemed like a very uncomfortable player to me. However, over time, I have come to appreciate it. The key to this is to have all your music well labeled, with its genre, its album, its title, etc. If you have the music badly labeled and badly distributed, without the images of the covers and so on, don't use Rhythmbox; better use a simple player like Audacious. Labeling a lot of music is tedious, but once you do it it is so convenient that it is impossible not to think it was worth it; Think about it, your mobile will also have the music well classified! I edit the audio labels with EasyTAG:
sudo dnf install easytag
If you don't want the universe to collapse due to inadvertent folder changes, do this: Preferences> Confirmation> Activate "Confirm folder change when there are unsaved changes"
El video player that comes by default in GNOME is Videos (Totem). Its design is very nice, but with high-quality videos it has FPS and audio synchronization problems on some computers (such as mine xD). The normal thing in these cases would be to install VLC, but I prefer MPlayer, as it has better integration with GNOME:
sudo dnf install gnome-mplayer
We configure GNOME MPlayer:
- Player> Activate «Activate video hardware support»
- Language settings> Put everything in Spanish or in the desired language
- Disable "Show notification"
- Disable "Show status icon"
For, download and share torrents we will use Transmission. We install it:
sudo dnf install transmission
We configure Transmission:
- Preferences> Downloads> Save to Location: Downloads / Torrents (I like torrents to have their own folder)
Como FTP client we will use Filezilla:
sudo dnf install filezilla
Como Internet browser we will use Firefox. If we want you to have Adobe Flash Player, we install it (having previously added its repository; the instructions are at the beginning of the guide):
sudo dnf install flash-plugin
We configure Firefox:
- Activate "Always check if Firefox is your default browser"
- When Firefox starts: Show my home page (I have: https://duckduckgo.com)
- Downloads: As you wish; I prefer that it always be saved in the Downloads folder
- Search> DuckDuckGo (or the one you prefer)
- Activate «Tell sites that I do not want to be tracked»
- About the history, configure it as you want. There was a time where I accepted cookies manually, but I finished up my nose and stopped doing it xD.
- Sync> If you have Firefox Sync, turn it on! If not, import your bookmarks as usual
- Add-ons that I recommend installing for any type of user:
- Adblock Edge
- HTitle (disable "Show window controls" in your preferences); with this the Firefox header will be the same as Chrome / Chromium, the tabs 😉
In my personal case I do not use email clients, but if you use, I recommend a (which already comes by default) or Thunderbird (sudo dnf install thunderbird && sudo dnf remove evolution).
As an office suite we will use LibreOffice (Some people prefer WPS Office), which is installed by default. However, we will have to install the Spanish packages:
sudo dnf install libreoffice libreoffice-langpack-en
For graphic design my criteria is a program for each of the following tasks:
- Basic drawing: Pinta
- Simple drawing: MyPaint
- Advanced drawing: Krita (not a GTK program, but it doesn't matter)
- Image editing: GIMP
- Vector Design: Inkscape
- RAW Image Manipulation: RawTherapee
sudo dnf install pint mypaint calligra-krita gnome-kra-ora-thumbnailer gimp inkscape rawtherapee
We configure GIMP:
- Window> Activate "Single Window Mode"
- Maximize the window
- Adjust width of side panels to desired
To do video edition we will use Pitivi. If this were KDE I would choose Kdenlive without hesitation, but I want the program to integrate well with GNOME;). We install it:
sudo dnf install pitivi
For, create and edit audio nothing better than Audacity (basic) and Ardor (advanced):
sudo dnf install audacity-freeworld ardour3
For, 3D design, professional video editing, game development and much more… ¡¡Blender! We install it:
sudo dnf install blender
For animation / anime development we will use Synfig studio. In its Official Site we can download the RPM file.
We install GParted as partition manager (and we uninstall the one that GNOME brings, which is nice but not so good):
sudo dnf remove gnome-disk-utility && sudo dnf install gparted
For, program I recommend using Atom, a "hackable" text editor that has a lot of future. In its Official Site you can download the RPM file to install it.
Atom has a very interesting package system with which you can make the perfect development environment. In my case, using Haskell, HTML5, CSS3, and CoffeeScript, I install the following:
apm install language-haskell linter linter-htmlhint linter-csslint linter-xmllint linter-shellcheck linter-jshint linter-coffeelint minimap color-picker atom-html-preview autoclose-html remember-session highlight-selected project-manager ask-stack tasks
If you don't program in Haskell, absolutely nothing happens. Generally, you use the programming language you use, the procedure when looking for packages is the same:
- Find out if Atom comes with syntax coloring by default for that language. If not, find a package that does.
- The package linter makes recommendations for improvement in your code; it is indispensable to program like a pro. There is probably a package of linter for the language you use, install it!
- Search the name of your programming language to find the most downloaded packages of it; sure there are very useful things;).
apm install seti-ui seti-syntax
We configure Atom:
- View> Toggle Menu Bar (when you want to show, press Alt)
- Edit> Preferences>
- Font family: Source Code Pro
- Font size: 15
- Activate «Scroll Past End»
- Activate «Soft Wrap»
- Tab Length: 4
- UI Theme: Seti
- Syntax Theme: Seti
For, create and use virtual machines Fedora brings GNOME Boxes default. I personally prefer VirtualBox:
sudo dnf remove gnome-boxes && sudo dnf install VirtualBox
If you usually have group voice or video conversations, I recommend you appear.in or Firefox Hello. If it is not enough and you want a program designed specifically for it, what you need is mumble (you will have to set up your own server or hire a paid one), which is open source and encrypts all conversations; it is the free / open equivalent of TeamSpeak. We install it:
sudo curl https://copr.fedoraproject.org/coprs/lkiesow/mumble/repo/fedora-21/lkiesow-mumble-fedora-21.repo -o /etc/yum.repos.d/lkiesow-mumble-fedora- 21.repo && sudo dnf install mumble
If you use Telegram do the following to install Telegram Desktop:
wget -O telegram.tar.xz https://tdesktop.com/linux tar Jxvf telegram.tar.xz rm telegram.tar.xz mv Telegram .telegram-folder $ HOME / .telegram-folder / Telegram
From now on there will be an icon in your applications to open it directly;). We go to Settings and configure it:
- Disable "Show message preview"
- Disable «Replace emojis»
- Choose background from gallery
- Change language (we put Spanish)
Now let's go to the final touches: P. We open the GNOME configuration, go to Details and determine the following default apps:
- Web: Firefox
- Mail: -
- Calendar: -
- Music: GNOME MPlayer (when I open individual files I don't want anything to mix in Rhythmbox)
- Video: GNOME MPlayer
- Photos: Image Viewer (Eye of GNOME)
We determine the favorite launchers from our panel:
- Telegram Desktop
And we finished! Our Fedora is ready, well configured, with programs for all kinds of tasks; It only remains to start using it ^ _ ^.
Extra section: Game console emulators
As a bonus, I will explain how to install some modern game console emulators. Feel free to install the ones you want; P.
Emulator Nintendo DS es dismantle. It is very easy to install (no need to configure it), but I also add a package that will show us the game icon in each NDS file:
sudo dnf install desmume gnome-nds-thumbnailer
Emulator Game Cube y Wii es Dolphin. Installing it is very easy:
sudo dnf install dolphin-emu
To configure it we go to: Options> Configure ...
- Gamecube> System language: Spanish
- Wii> System language: Spanish
- Directories> Activate «Search in subfolders» and add the directory where we have the games
Then we go to: Options> Graphic configuration.
- Full screen resolution: As desired
- Activate «V-Sync»
- Activate "Use full screen"
- Activate «Hide cursor»
- Internal resolution: Test to see which one works best for you
- Anti-aliases: The higher the better, but the performance decreases a lot (only a very powerful graphic can have it to the maximum)
- Anisotropic filter: Try which one works best for you
- Enable "Widescreen Hack" (in some games you will have to disable it because it causes them to work badly)
- Activate «Disable fog» (in some games it is preferable not to do it)
In "Options> Gamecube Controller Settings" you can configure the controller buttons. Those of Wii have a similar section.
Emulator PlayStation 1 (PSX) es PCSX-R, which is installed like this:
sudo dnf install pcsxr
We go to "Configuration> Plugins & BIOS" (in each option you have a button that allows you to configure thoroughly; you can easily see what needs to be activated and such):
- Graphics: XVideo for original quality and OpenGL for maximum quality (in some games it looks a bit weird)
- We configure the buttons of the two controls
- About BIOS, if you have your own, use it if you want
PCSX-R usually works fine. On Windows, the best PSX emulator is ePSXe; the problem is that in GNU / Linux I have never been able to make it work well ... Just install it. I leave you my instructions and if from there you know how to continue, great ^^:
sudo dnf install SDL_ttf SDL SDL_ttf.i686 SDL.i686 libcanberra libcanberra.i686 libcanberra-gtk2 libcanberra-gtk2.i686 libcanberra-gtk3 libcanberra-gtk3.i686 mkdir .epsxe-folder cd .eipxe-folder. /www.epsxe.com/files/epsxe1925lin.zip unzip epsxe.zip rm epsxe.zip cd ~ wget -O epsxe-icon.png https://upload.wikimedia.org/wikipedia/commons/thumb/1/13/ EPSXe-logo.svg / 451px-EPSXe-logo.svg.png mv epsxe-icon.png $ HOME / .local / share / icons / gedit $ HOME / .local / share / applications / epsxe.desktop
In that empty file you will have to write exactly the following:
[Desktop Entry] Encoding = UTF-8 Name = ePSXe Name [hr] = ePSXe Exec = / home / lajto / .epsxe-folder / epsxe Icon = epsxe-icon.png Terminal = false Type = Application Categories = Application; Game; StartupNotify = false
We save, close and that's it. I don't configure anything else because from here on, no game works for me (using BIOS). If you insist on using ePSXe, try to continue!
Emulator PlayStation 2 (PS2) es PCSX2. To install it we execute:
sudo dnf install pcsx2
When we open PCSX2 for the first time, the initial configuration window will appear. Normally the default language is set well, so we press Next.
In theory by default everything should be fine. We configure GS:
- Renderer: OpenGL (Hardware); you may have to change it to software or another option, it depends on your graphics card
- Custom resolution: The desired one
- Activate «Fxaa shader»
- Activate "Allow 8 bits textures" (if it doesn't slow down your games)
- Extra rendering threads: The ones you like; I put 4 or 8
- Activate "Edge anti-aliasing" (if it doesn't slow down your games)
We configure the PAD to our liking. If we have problems with the audio, we go to the configuration of SPU2 and in «Module» we put «SDL Audio».
The next step will be to add our BIOS (which you will have to do on your own). When we have finished the initial configuration, we go to: Settings> Video (GS)> Window settings.
- Proportion: The desired; in my case it is panoramic
- Activate "Always hide mouse cursor"
- Activate "Open in full screen by default"
Now everything is finished;). PCSX2 is a very customizable emulator. There are plugins and drivers of all kinds on the Internet. Fantastic quality can be achieved with a good setup!
Emulator PSP es PPSSPP. To install it we do the following (if we are in 32 bits, we change «amd64» to «i386»):
mkdir .local / share / icons / mkdir .ppsspp-folder cd .ppsspp-folder wget -O ppsspp.zip http://build.ppsspp.org/builds/Linux-Generic/amd64/ppssppbuildbot-org.ppsspp.ppsspp- 1.0-linux-amd64-generic.zip unzip ppsspp.zip rm ppsspp.zip cd ~ wget -O ppsspp-icon.png http://upload.wikimedia.org/wikipedia/commons/thumb/d/dc/PPSSPP_logo.svg /512px-PPSSPP_logo.svg.png mv ppsspp-icon.png $ HOME / .local / share / icons / gedit $ HOME / .local / share / applications / ppsspp.desktop
In that empty file we will have to write exactly the following:
[Desktop Entry] Encoding = UTF-8 Name = PPSSPP Name [hr] = PPSSPP Exec = / home / lajto / .ppsspp-folder / PPSSPPSDL Icon = ppsspp-icon.png Terminal = false Type = Application Categories = Application; Game; StartupNotify = false
In the event that a PPSSPP icon does not appear in your applications, you will probably need to go to / home / [your username] /. Local / share / applications and mark PPSSPP as trusted, which I think I remember is simply double click.
About the configuration of PPSSPP, it has no mystery. There is hardly anything to change, beyond the language and controls.
End of guide
It has been a pleasure to share with you my personal guide to Fedora 21. I hope it has been of great help to you! I know that a guide is nothing new, but since those who know me often tell me that it is great, I thought about leaving it here: 3. From now on I will write much more interesting articles, you'll see!
Greetings, see you in the next article;).