Fedora Linux Support Community & Resources Center
  #1  
Old 25th February 2012, 09:33 PM
Adunaic Offline
Registered User
 
Join Date: Mar 2009
Location: Lancaster, UK
Posts: 917
linuxfirefox
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
  #2  
Old 25th February 2012, 11:33 PM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,635
linuxchrome
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 ...

Quote:
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.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 25th February 2012, 11:50 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,278
linuxfirefox
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.
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot
Reply With Quote
Reply

Tags
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 03:22 PM
cron scripting/bash scripting coolbeansdude51 Using Fedora 7 16th January 2007 03:13 AM


Current GMT-time: 23:42 (Thursday, 31-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

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