From Fedora Project Wiki

Line 83: Line 83:
 
== New Installation Checklist ==
 
== New Installation Checklist ==
  
* Allow users of the wheel group to have sudo access by uncommenting the line that says ''%wheel ALL=(ALL) NOPASSWD: ALL'': '''su -c 'visudo' '''
+
* Add myself to the wheel group and make the wheel group a super user group.
 +
  su -c 'visudo' # Uncomment: %wheel ALL=(ALL) NOPASSWD: ALL
 +
  su -c 'usermod -aG wheel mbooth'
  
* Add myself to the wheel group: '''su -c 'usermod -aG wheel mbooth' '''
+
* Services.
 +
 
  
 
* Enable compose key: '''Keyboard Prefs->Layouts->Layout Options->Compose Key Position'''
 
* Enable compose key: '''Keyboard Prefs->Layouts->Layout Options->Compose Key Position'''

Revision as of 11:12, 18 September 2010

Mat Booth

Mat Booth is a software engineer who works commercial SCADA systems by day and hacks on Fedora and other Open Source software by night.

Email: fedora(at)matbooth.co.uk

Website: www.matbooth.co.uk

Activities Within Fedora

Package Maintenance

A comprehensive list of the packages I maintain in Fedora can be seen in the Package Database. What follows is a brief test plan for some of the packages I maintain.

  • eclipse-epic
    • Run eclipse from a terminal with -consoleLog.
    • Open Perl perspective, create a new Perl project with Module::Starter bits and create a new Perl file.
    • Syntax highlighting, occurrence highlighting, content-assist and Outline view contributions work.
    • Syntax error markers shown in Problems view and task tag markers shown in Tasks view.
    • Mouse-over Perl built-in function tooltips work.
    • Hit Ctrl-Shift-F to make sure Perl Tidy formatting works.
    • Right-click a built-in function "Perldoc" option opens Perldoc view.
    • Right-click a user function "Open Declaration" option works.
    • Create a "Perl Local" run profile and run, results appear in console.
    • Set a breakpoint and debug local profile, results appear in console and variable view works.
    • Create a "Perl CGI" run profile and run, server status appears in console, results appear in browser.
    • Set a breakpoint and debug CGI profile, server status appears in console, results appear in browser and variable view works.
    • TODO: Pod::Checker, Perl::Critic integration.
  • eclipse-phpeclipse
    • Run eclipse from a terminal with -consoleLog.
    • Open PHP perspective, create a new PHP project and PHP file.
    • Syntax highlighting, occurrence highlighting, content-assist and Outline view contributions work.
    • Syntax error markers shown in Problems view and task tag markers shown in Tasks view.
    • Start, stop and restart apache successfully.
    • Apache stops when eclipse is closed.
    • When running apache, right-click the editor "Show In->PHP Browser" works.
    • When running apache, right-click navigator view "Open PHP Browser" works.
    • Right-click navigator view "External PHP Parser" runs and results are in the console.
    • Win32 help preference page is removed.
    • Mouse-over PHP built-in function tooltips work and PHP Manual view works.
    • Right-click a built-in function "PHP Help" opens help system to correct page.
    • Right-click a user function "Open Declaration" option works.
    • All the "PHPEclipse Help" links work in the help contents.
    • TODO: Run profiles and debugging.

Random Notes

Reinstate Tap-to-Click Touchpad Behaviour

 Section "InputDevice"
       Identifier  "TouchPad"
       Driver      "synaptics"
       Option      "Protocol" "auto-dev"
       Option      "TapButton1" "1"
       Option      "RTCornerButton" "2"
       Option      "RBCornerButton" "3"
       Option      "SHMConfig" "on"
 EndSection

Asus Laptop Sound Fix

Specifically for F10 on Asus Model F3Sr laptops, but this is probably valid for other configurations too.

In modprobe.conf:

 options snd-hda-intel model=lenovo

Sun Java on Linux Bug

For this locking assertion failure:

 java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed

Fix for sun-java5-bin:

 sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/amd64/xawt/libmawt.so

Fix for sun-java6-bin:

 sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-1.6.0-sun-1.6.0.5/jre/lib/amd64/xawt/libmawt.so

Missing Grub Splash Workaround

Grub splash screen image is missing on new installs of F10 and F11. To workaround, add the verbose=0 option to /boot/grub/menu.lst

New Installation Checklist

  • Add myself to the wheel group and make the wheel group a super user group.
 su -c 'visudo' # Uncomment: %wheel ALL=(ALL) NOPASSWD: ALL
 su -c 'usermod -aG wheel mbooth'
  • Services.


  • Enable compose key: Keyboard Prefs->Layouts->Layout Options->Compose Key Position
  • Setup mail notifications: sudo yum install mail-notification
  • Add a shortcut to a bigger terminal: gnome-terminal --geometry 120x60
 tar -xzvf libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz
 sudo mv libflashplayer.so /usr/lib64/mozilla/plugins/
  • Trick Windows into thinking it is the primary device so it will boot. /boot/grub/menu.lst
 title Winders Gaming Partition
   rootnoverify (hd1,0)
   map (hd1) (hd0)
   map (hd0) (hd1)
   makeactive
   chainloader +1
  • Mount remote shares.
 su -c 'echo "ic:/raid        /mnt/raid       nfs defaults    0 0" >> /etc/fstab'
  • Use vim alias even when root. /etc/profile.d/vim.sh
 if [ -n "$BASH_VERSION" -o -n "$KSH_VERSION" -o -n "$ZSH_VERSION" ]; then
 #  [ -x //usr/bin/id ] || return
 #  [ //usr/bin/id -u -le 100 ] && return
   # for bash and zsh, only if no alias is already set
   alias vi >/dev/null 2>&1 || alias vi=vim
 fi
  • Disable PC speaker.
 su -c 'echo "blacklist pcspkr" >> /etc/modprobe.d/blacklist.conf'