Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save antonmry/eb10405cbc0787fa3aaf to your computer and use it in GitHub Desktop.
Save antonmry/eb10405cbc0787fa3aaf to your computer and use it in GitHub Desktop.
Installation of Fedora 21 on Dell XPS 13 Developer Edition 2015

Fix mic & upgrade

dnf copr enable labbott/kernel-dell-xps
dnf install kernel-4.4.4
reboot

Source: bugzilla.redhat.com

Broadcom WIFI

yum localinstall --nogpgcheck \
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
yum install kmod-wl kernel-devel
akmods –force –kernel `uname -r` –akmod wl
modprobe wl

Source: cyberciti

Mouse

Go to Mouse and Touchpad settings, and mark Natural scrolling

Disable abrt

systemctl -t service | grep abrt
systemctl stop abrt-ccpp
systemctl disable abrt-ccpp
systemctl stop abrt-xorg
systemctl disable abrt-xorg
systemctl stop abrtd
systemctl disable abrtd

Gnome Tweak Tool & scaling

yum install gnome-tweak-tool
  • Windows -> HiDPI to 2
  • Fonts -> Scaling factor to 1.25 (from 1 to 1.25)

Zoom +:

gsettings set org.gnome.desktop.interface text-scaling-factor 1
gsettings set org.gnome.desktop.interface scaling-factor 2
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gdk/WindowScalingFactor': <2>}"

Zoom -:

gsettings set org.gnome.desktop.interface text-scaling-factor 0.9
gsettings set org.gnome.desktop.interface scaling-factor 1
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gdk/WindowScalingFactor': <1>}"

Source: http://blog.jamiek.it/2014/01/script-to-set-firefox.html

VIM

yum install vim vim-enhanced
vim ~/.local/share/applications/vim.desktop
[Desktop Entry]
Name=Vim Text Editor
Comment=Edit text files
Exec=vim %F
Terminal=true
Type=Application
Icon=vim
Categories=Utility;TextEditor;
StartupNotify=true
MimeType=text/plain;

Vundle

git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim ~/.vimrc
set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" Plugines
Plugin 'godlygeek/tabular'
Plugin 'plasticboy/vim-markdown'

" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required

" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList       - lists configured plugins
" :PluginInstall    - installs plugins; append `!` to update or just
" :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean      - confirms removal of unused plugins; append `!` to
" auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line

Then run inside vim:

:so ~/.vimrc
:PluginInstall

Install Virtuabox

vi /etc/yum.repos.d/virtualbox.repo
[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
#baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/7/$basearch
enabled=1
gpgcheck=1
gpgkey=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
yum install VirtualBox-4.3

Chrome (for development)

vi /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
yum install google-chrome-stable

Source

Flash

#yum-config-manager --add-repo=http://negativo17.org/repos/epel-flash-plugin.repo
#yum -y install flash-plugin
#setsebool -P unconfined_mozilla_plugin_transition=off
yum install lpf-flash-plugin
lpf-gui

Restore my files

mv bin/ Documents/ Downloads/ Music/ Pictures/ Software/ Templates/ Videos/ VirtualBox\ VMs/ Workspace/ ~
mv .bashrc .bash_profile .bash_aliases ~

SD Cards

sudo yum install exfat-utils fuse-exfat

Others

git config --global user.email "[email protected]"
git config --global user.name "Anton R. Yuste"
git config --global credential.helper cache
  • Configure OpenVPN

Sw I don't want & sw I want

yum install mplayer screen parcellite nautilus-open-terminal maven powertop gimp gimp-paint-studio cups-pdf wmctrl telepathy-rakia calibre fbreader
vim ~/.local/share/applications/mplayer.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
Exec=mplayer %U
Name=Mplayer
Icon=apple-green.png
MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;video/x-flv;video/vnd.rn-realvideo;video/mp4;video/mp4v-es;video/mp2t;application/ogg;application/x-ogg;application/x-matroska;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;audio/x-ape;audio/x-tta;
yum remove totem rhythmbox evolution libchewing gedit
yum remove bash-completion # Because of a BUG in bash auto completion 
yum autoremove

Docker

sudo yum -y install docker
sudo systemctl start docker
sudo groupadd docker
sudo usermod -a -G docker $USERNAME

Now you have to logout and login again.

Wireshark

sudo yum install wireshark-gnome
sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/sbin/dumpcap
sudo chmod u+s /usr/sbin/dumpcap
sudo chgrp wireshark /usr/sbin/dumpcap
sudo chmod o-rx /usr/sbin/dumpcap
sudo usermod -a -G wireshark $USERNAME

Jitsi, for development and tests

cd /etc/yum.repos.d/
wget https://download.jitsi.org/jitsi/rpm/jitsi.repo
yum install jitsi

Skype

sudo yum install lpf-skype pulseaudio
sudo lpf

Source: eshlox

@antonmry
Copy link
Author

screenshot from 2016-03-23 12-52-36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment