Upgrading Fedora - adding extras (part a)
Welcome to them tutorial guide. The guide will provide a user with instructions and guidance on adding extras.
If you would like to add extra wallpapers, icons and themes, the please follow the steps as below:
- adding extra backgrounds
- If you would like to add extra backgrounds, then please run following command:
wget -c http://easylinux.info/uploads/backgrounds.tar.gz
su -c ‘tar zxvf backgrounds.tar.gz -C /usr/share’
rm -f backgrounds.tar.gz
- In order to check weather you have file backgrounds.xml in your .gnome/ directory, then please run following command:
ls $HOME/.gnome2/ | grep “backgrounds.xml”
If the command prints out the “backgrounds.xml” then please run following command:
cp –preserve=ownership $USER_HOME/.gnome2/backgrounds.xml $USER_HOME/.gnome2/backgrounds.xml_backup
sed -n -e ‘1,3p’ $USER_HOME/.gnome2/backgrounds.xml_backup > $USER_HOME/.gnome2/backgrounds.xml
cat /usr/share/backgrounds/frog.xml >> $USER_HOME/.gnome2/backgrounds.xml
sed -n -e ‘4,$p’ $USER_HOME/.gnome2/backgrounds.xml_backup >> $USER_HOME/.gnome2/backgrounds.xml
· ELSE run
su -c ‘cp /usr/share/backgrounds/backgrounds.xml $USER_HOME/.gnome2/backgrounds.xml’
su -c ‘chmod 777 $USER_HOME/.gnome2/backgrounds.xml’
- Adding extra icons and themes
If you would like to add extra Icons and themes, the please run following command:
wget -c http://easylinux.info/uploads/icons.tar.gz
tar zxvf icons.tar.gz -C $USER_HOME
rm -f icons.tar.gz
wget -c http://easylinux.info/uploads/themes.tar.gz
tar zxvf themes.tar.gz -C $USER_HOME
rm -f themes.tar.gz
- changing background
If you would like to change the background, then please change the background by going to:
- Applications
- Preferences
- Themes
If you would like to add extra Themes then please run following command:
su -c ‘yum install gnome-themes-extras’
-If you would like to change the theme then please go to
- System
- Preferences
- Look and Feel
- Appearance you will then be able to change the theme.
If you would like to add the open terminal then please run following command:
su -c ‘yum install nautilus-open-termina·
- after running the command, please
- right click the Desktop
- open Terminal
If you would like to get a shortcut to Root Terminal, then please run following command:
su -c ‘yum –enablerepo=dries install gksu’
after running the command, please go to:
-Applications
- System Tools
- Root Terminal
If you would like to enable the switch user button on GNOME screensaver, then please run following command:
gconftool-2 –type bool –set /apps/gnome-screensaver/user_switch_enabled true
If you would like to enable the switch user button on GNOME screensaver for every user, then plvase run following command:
gconftool-2 –direct –config-source xml:readwrite:/etc/gconf/gconf.xml.defaults –type bool –set /apps/gnome-screensaver/user_switch_enabled true
If you would like to restart GNOME without rebooting computer
then either press ‘Ctrl + Alt + Backspace’
or run following command:
su -c ‘/usr/sbin/gdm-restart’
If you would liketo turn on Num Lock on GNOME startup, then please run following command:
su -c ‘yum install numlockx
su -c ‘cp /etc/X11/gdm/Init/Default /etc/X11/gdm/Init/Default_backup’
su -c ‘gedit /etc/X11/gdm/Init/Default’
- now, please find following line
…
exit 0
- after finding the line, please add the following lines above it
if [ -x /usr/bin/anumlockx ]; then
/usr/bin/numlockx on
fi
- finally, save the edited file
If you would like to switch to Console mode in GNOME
then please press ‘Ctrl + Alt + F1′ (F2 - F6)
If you would like to switch between consles in Console mode, then please press ‘Alt + F1′ (F2 - F6)
If you would like to switch back to GNOME mode, then please press ‘Alt + F7′
If you would like to disable Ctrl+Alt+Backspace from restarting X in GNOME, then please run following command:
su -c ‘cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup’
su -c ‘gedit /etc/X11/xorg.conf’
- after running the command, please append the following lines at the end of file
Section “ServerFlags”
Option “DontZap” “yes”
EndSection
- now, please save the edited file
If you would like to enable Ctrl+Alt+Del to open System Monitor in GNOME, then please run following command:
gconftool-2 -t str –set /apps/metacity/global_keybindings/run_command_9 “Delete”
gconftool-2 -t str –set /apps/metacity/keybinding_commands/command_9 “gnome-system-monitor”
If you would like to refresh GNOME desktop, then please run following command:
killall nautilus
If you would like to refresh GNOME panel, then please run following command:
killall gnome-panel
If you would like to bypass Keyring’s Password, then first of all, please install Pam keyring by running following command:
su -c ‘yum install pam_keyring’
- now, please create the script which will automatically pass the password to keyring
gedit ~/.key.sh
- now, please add the next section and change the word password to your password
#! /bin/bash
echo password | /usr/libexec/pam-keyring-tool –unlock –keyring=default -s
- please ensure it is executible
chmod +x ~/.key.sh
- now, please add the script to the startup sequence so that the script is run on boot.
- now, please go through the menu listed below by going to:
- System
- Preferences
- Personal
- Sessions
- please click on the startup tab
- now, click the add button and then please enter the following details
Name: Keyring Script
Command:~/.key.sh
Comment: My automatic unlock script
- If you would like to enable it straight away, then run the following command
~/.key.sh
If you would like to learn to open each folder in the same window in Nautilus, then please go to:
- Applications
- System Tools
- Configuration Editor
Configuration Editor
/ -> apps -> nautilus -> preferences -> always_use_browser (Checked)
If you would like to enable autosave in Gedit and disable creation of some_file~ files, then please go to:
- Applications
- System Tools
- Configuration Editor
Configuration Editor
/ -> apps -> gedit-2 -> preferences -> editor -> save -> create_backup_copy (Unchecked)
/ -> apps -> gedit-2 -> preferences -> editor -> save -> auto_save (Checked)
If you would like to show all hidden files/folders in Nautilus, then please go to:
- Places
- Home Folder
If you would like to temporary show all hidden files/folders in Nautilus, then please press ‘Ctrl + H’
If you would like to permanently show all hidden files/folders in Nautilus, then please go to:
- Edit Menu
- Preferences
- Views Tab
- Default View
- Show hidden and backup files (Checked)
If you would like to browse files/folders as root user in Nautilus, then please run following command:
su -c ‘yum install gksu’
If you would like to install File Browser (Root), then please run following command:
su -c ‘gedit /usr/share/applications/Nautilus-root.desktop’
- now, please insert the following lines into the new file
[Desktop Entry]
Name=File Browser (Root)
Comment=Browse the filesystem with the file manager
Exec=gksu “nautilus –browser .”
Icon=file-manager
Terminal=false
Type=Application
Categories=Application;System;
- now, please save the edited file
f you would like too browse files/folders as root user in Nautilus, then please go to:
- Applications
- System Tools
- File Browser (Root)
If you would like to show Desktop Icons such as Home, Recycle bin, Computer, etc. then please go to:
- Applications
- System Tools
- Configuration Editor
Configuration Editor
/ -> apps -> nautilus -> desktop ->
computer_icon_visible (Checked)
home_icon_visible (Checked)
trash_icon_visible (Checked)
If you followed the instructions and guidance as provided in this tutorial guide, then you would have successfully installed extras.













