Fedora Linux Support Community & Resources Center
Old 25th February 2012, 10:33 PM
Adunaic Offline
Registered User
Join Date: Mar 2009
Location: Lancaster, UK
Posts: 928
Scripting for a fresh install.

I have just had to do a fresh install and found my self tweaking many of the features I always do. I was wondering if any of them are scriptable. Though the process of doing them one by one and scanning for recently modified files I was able to deduce some of them. The others I am not sure on, below is a list of some of the things I tweak, any suggestions on how to automate any of them would be good.

- Change <Caps Lock> to be an additional <Ctrl>. [DONE]
- Change font size to 9 and all fonts to Sans or Mono (usually done via gnome-tweak-tool). [NEARLY]
- Install and activate a few gnome-shell extentions. [DONE]
- Set eth0 to 'connect automatically'.
- Add a wireless key for my home network.
- Install some firefox extentions.

I appreciate this is a lot and could/should be in separate threads. Any help is much appreciated.

---------- Post added at 09:27 PM ---------- Previous post was at 08:57 PM ----------

Okay I have found some of the fonts:

gsettings set org.gnome.desktop.interface document-font-name "Sans 9"
gsettings set org.gnome.desktop.interface monospace-font-name "Monospace 9"
gsettings set org.gnome.desktop.interface font-name "Sans 9"

I am still missing the commands for:
- Window title font
- Antialiasing

---------- Post added at 09:30 PM ---------- Previous post was at 09:27 PM ----------

Cap locks -> ctrl is:
gsettings set org.gnome.libgnomekbd.keyboard options "['ctrl\tctrl:nocaps']"

---------- Post added at 09:33 PM ---------- Previous post was at 09:30 PM ----------

Enabling extentions:

gsettings set org.gnome.shell enabled-extensions ['alternative-status-menu@gnome-shell-extensions.gcampax.github.com', 'remove-accessibility-icon@martin-weusten.de', 'places-menu@gnome-shell-extensions.gcampax.github.com']
Reply With Quote
Old 26th February 2012, 12:33 AM
glennzo Online
Un-Retired Administrator
Join Date: Mar 2004
Location: In your closet
Posts: 15,564
Re: Scripting for a fresh install.

I've built a script for Fedora 16 that handles many of the things I find my self doing repetitively. It's highly personalized but can be configured for anyone's use. Here's what it does ...

Edit root's .bashrc file adding aliases, etc.
Edit my .bashrc file adding aliases, etc.
Edit my .bash_profile file adding a custom sudo prompt.
Add me to the "sudoers" list.
Disable a few un-needed / un-wanted system services.
Add some common host names / ip addresses to /etc/hosts.
Add an "exclude" line to /etc/yum.conf.
Install and update the "rpmfusion" repositories.
Install several "third party" repositories.
Install some yum plugins.
Install many of the necessary multimedia packages.
Install the flash-plugin.
Install the binary multimedia codecs.
Install libdvdcss from my local repository.
Install some fonts.
Install and update RootKitHunter.
Create a custom .abcde.conf file.
Install and configure the Gnome Weather extension.
Configure a couple of Gnome3 desktop tweaks.
Run a complete system update using yum.
Install and configure MoinMoin if desired.
Install and configure PianoBar
Make changes to /etc/default/grub
Make changes to /etc/grub.d/10_linux
The script is over 800 lines long and is compiled from several smaller scripts that do each of these tasks individually. It works well and has been tested on many virtual systems and a few real installs. The down side is that it takes quite a while to complete.
The Bassinator
© ®
Reply With Quote
Old 26th February 2012, 12:50 AM
sea Offline
"Shells" (of a sub world)
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 37
Posts: 4,277
Re: Scripting for a fresh install.

@ Aduniac: Sorry, haven needed those settings yet.

@ Glennzo: The upside is, once configured (takes minutes to an hour), its a 1 shot thing, that doesnt need attention.
Now that you said its generated out of several scripts, explains why there are no intent's (tabs), though its very easy structured and doesnt really need them anyway.
EFI Cheatsheet :: http://forums.fedoraforum.org/showthread.php?t=298546
Video Handler Script (VHS) (mass re-encode videos, screenrecorder, console music/webradio player, ...) :: http://forums.fedoraforum.org/showthread.php?t=299182
Windows 8+ & Fedora 20+ Dualboot :: http://forums.fedoraforum.org/showthread.php?t=298161
Reply With Quote

fresh, install, scripting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scripting printer install during kickstart install of F13 peterschwenk Installation, Upgrades and Live Media 0 27th August 2010 02:07 AM
Fresh Install Dual Boot Grub Won't Install jmc302005 Installation, Upgrades and Live Media 7 21st October 2009 03:02 PM
Post install won't come up on fresh install of Fedora coolsnow23 Installation, Upgrades and Live Media 5 24th March 2008 12:31 AM
Fresh Install - Install Updates - Now 2 versions in GRUB?? HELP ViolentA79 Installation, Upgrades and Live Media 7 8th February 2008 04:22 PM
cron scripting/bash scripting coolbeansdude51 Using Fedora 7 16th January 2007 04:13 AM

Current GMT-time: 17:00 (Tuesday, 19-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat