From Fedora Project Wiki

No edit summary
Line 93: Line 93:
* Add a shortcut to a bigger terminal: '''gnome-terminal --geometry 120x60'''
* Add a shortcut to a bigger terminal: '''gnome-terminal --geometry 120x60'''


* Install [https://addons.mozilla.org/en-US/firefox/addon/5890 Tree Style Tabs], [https://addons.mozilla.org/en-US/firefox/addon/3615 Delicious] and [http://labs.adobe.com/downloads/flashplayer10.html Flash Player] plugins. To install Flash:
* Install [https://addons.mozilla.org/en-US/firefox/addon/5890 Tree Style Tabs], [https://addons.mozilla.org/en-US/firefox/addon/3615 Delicious] and [http://labs.adobe.com/downloads/flashplayer10.html Flash Player] plugins.
   tar -xzvf libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz
   tar -xzvf libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz
   sudo mv libflashplayer.so /usr/lib64/mozilla/plugins/
   sudo mv libflashplayer.so /usr/lib64/mozilla/plugins/


* Trick Windows into thinking it is the primaru device so it will boot:
* Trick Windows into thinking it is the primaru device so it will boot. '''/boot/grub/menu.lst'''
   title Winders Gaming Partition
   title Winders Gaming Partition
     rootnoverify (hd1,0)
     rootnoverify (hd1,0)
Line 105: Line 105:
     chainloader +1
     chainloader +1


* Mount remote shares:
* Mount remote shares.
   ic:/raid        /mnt/raid      nfs defaults    0 0
   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'

Revision as of 11:24, 27 June 2009

Mat Booth

Mat is a software engineer who works on SCADA systems by day and Fedora 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

  • 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: su -c 'usermod -aG wheel mbooth'
  • Set Nautilus to always open in browser windows and use list view
  • 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 primaru 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'