Difference between revisions of "Fedora"
(Created page with '=About Fedora= =Fedora at Virginia Tech= =Tips and Tricks= ==Edit Hosts file== In general, I replace the hosts file[http://en.wikipedia.org/wiki/Hosts_file] on my computers …') |
|||
(13 intermediate revisions by 8 users not shown) | |||
Line 3: | Line 3: | ||
=Fedora at Virginia Tech= | =Fedora at Virginia Tech= | ||
− | + | ==Mirrors== | |
− | + | [[gp:Campus Computing|Campus Computing]] [http://mirror.cc.vt.edu/pub/fedora/ mirrors Fedora]. Recent versions of Fedora can use the following pre-written files. | |
− | + | * [http://mirror.cc.vt.edu/yum.repo.d/fedora.repo /etc/yum.repos.d/fedora.repo] | |
+ | * [http://mirror.cc.vt.edu/yum.repo.d/fedora-updates.repo /etc/yum.repos.d/fedora-updates.repo] | ||
==Edit Hosts file== | ==Edit Hosts file== | ||
− | + | A [[w:Hosts file|hosts file]] is an easy way to block a wide range of domains (ads, malware, etc). This works in Windows and Mac as well, but the file is in a different location. I found the [http://www.mvps.org/winhelp2002/hosts.htm MVPS hosts file] to be nice, but there are others available. You can also edit the file to add domains to block individually. | |
In Fedora, the hosts file is located in '/etc/hosts'. To edit or replace the file, you must be logged in as root. SELinux will not allow you to do this, so once you've moved your new hosts file, you have to restore the default security context. | In Fedora, the hosts file is located in '/etc/hosts'. To edit or replace the file, you must be logged in as root. SELinux will not allow you to do this, so once you've moved your new hosts file, you have to restore the default security context. | ||
+ | |||
<pre> | <pre> | ||
su - | su - | ||
Line 19: | Line 21: | ||
==Wacom Driver== | ==Wacom Driver== | ||
+ | The Wacom driver "xorg-x11-drv-wacom" works well under Fedora. On a Fujitsu T4215, I have the pen functions working great, including all of the buttons. In case it isn't installed, here's the code to install it: | ||
+ | |||
+ | <pre> | ||
+ | su - | ||
+ | yum install xorg-x11-drv-wacom | ||
+ | </pre> | ||
+ | |||
+ | On the Fujitsu T731, all 3.5.x kernels up to 3.5.5 prevents the Wacom tablet from being recognized. Use previous kernels through the GRUB selection menu if the tablet functions are needed. Be warned though: this can lead to some security vulnerabilities. | ||
+ | This may affect other Wacom tablets and touchscreens. | ||
+ | |||
+ | ==Restricted Repos== | ||
+ | The restricted repos in Fedora have been more or less combined into one source called RPMFusion. There are versions for stable, testing, and rawhide. Below is the code to set up the stable versions of the free and non-free versions. | ||
+ | |||
+ | <pre> | ||
+ | su - | ||
+ | rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm | ||
+ | rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm | ||
+ | </pre> | ||
+ | |||
+ | The only notable exception to the non-free repo is libdvdcss, which is available at www.videolan.org | ||
+ | |||
+ | ==VT Wireless== | ||
+ | To get wireless configured, follow the NetworkManager instructions in the [[VT-Wireless]] article. | ||
+ | |||
+ | ==Annoying padding in Gnome== | ||
+ | With the initial install, there's a lot of empty space between icons in the Gnome panels. While it's good for user interface design by increasing the amount of space around icons to prevent mistakes, it drives me nuts. Here's the code to restore it back to normal (no padding). | ||
+ | |||
+ | <pre> | ||
+ | gconftool-2 --type boolean --set /desktop/gnome/interface/buttons_have_icons true | ||
+ | gconftool-2 --type boolean --set /desktop/gnome/interface/menus_have_icons true | ||
+ | gconftool-2 --type int --set /apps/panel/toplevels/top_panel/padding 0 | ||
+ | gconftool-2 --type int --set /apps/panel/toplevels/bottom_panel/padding 0 | ||
+ | gconftool-2 --type int --set /apps/panel/applets/systray/prefs/padding 0 | ||
+ | </pre> | ||
+ | |||
+ | [[Category:Software]] | ||
+ | [[Category:Needs restoration]] | ||
+ | [[Category:Linux Distributions]] |
Latest revision as of 20:28, 3 January 2019
Contents
About Fedora
Fedora at Virginia Tech
Mirrors
Campus Computing mirrors Fedora. Recent versions of Fedora can use the following pre-written files.
Edit Hosts file
A hosts file is an easy way to block a wide range of domains (ads, malware, etc). This works in Windows and Mac as well, but the file is in a different location. I found the MVPS hosts file to be nice, but there are others available. You can also edit the file to add domains to block individually.
In Fedora, the hosts file is located in '/etc/hosts'. To edit or replace the file, you must be logged in as root. SELinux will not allow you to do this, so once you've moved your new hosts file, you have to restore the default security context.
su - (your password here) mv /home/(username)/hosts /etc/hosts restorecon -v '/etc/hosts'
Wacom Driver
The Wacom driver "xorg-x11-drv-wacom" works well under Fedora. On a Fujitsu T4215, I have the pen functions working great, including all of the buttons. In case it isn't installed, here's the code to install it:
su - yum install xorg-x11-drv-wacom
On the Fujitsu T731, all 3.5.x kernels up to 3.5.5 prevents the Wacom tablet from being recognized. Use previous kernels through the GRUB selection menu if the tablet functions are needed. Be warned though: this can lead to some security vulnerabilities. This may affect other Wacom tablets and touchscreens.
Restricted Repos
The restricted repos in Fedora have been more or less combined into one source called RPMFusion. There are versions for stable, testing, and rawhide. Below is the code to set up the stable versions of the free and non-free versions.
su - rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
The only notable exception to the non-free repo is libdvdcss, which is available at www.videolan.org
VT Wireless
To get wireless configured, follow the NetworkManager instructions in the VT-Wireless article.
Annoying padding in Gnome
With the initial install, there's a lot of empty space between icons in the Gnome panels. While it's good for user interface design by increasing the amount of space around icons to prevent mistakes, it drives me nuts. Here's the code to restore it back to normal (no padding).
gconftool-2 --type boolean --set /desktop/gnome/interface/buttons_have_icons true gconftool-2 --type boolean --set /desktop/gnome/interface/menus_have_icons true gconftool-2 --type int --set /apps/panel/toplevels/top_panel/padding 0 gconftool-2 --type int --set /apps/panel/toplevels/bottom_panel/padding 0 gconftool-2 --type int --set /apps/panel/applets/systray/prefs/padding 0