From Fedora Project Wiki

No edit summary
Line 46: Line 46:


= Random Notes =
= Random Notes =
== 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


== New Installation Checklist ==
== New Installation Checklist ==


* Add myself to the wheel group and make the wheel group a super user group.
* Set right-alt as the compose key: '''Region and Language->Layouts->Options->Compose Key Position'''
  su -c 'visudo' # Uncomment: %wheel ALL=(ALL) NOPASSWD: ALL
  su -c 'usermod -aG wheel mbooth'


* Set menu key as the compose key: '''Keyboard Prefs->Layouts->Layout Options->Compose Key Position'''
* Enable touchpad tap-to-click: '''Mouse and Touchpad->Touchpad'''


* Setup mail notifications: '''sudo yum install mail-notification'''
* Setup mail notifications: '''sudo yum install mail-notification'''
* 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://www.fedorafaq.org/#flash Flash Player] plugins.
* 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://www.fedorafaq.org/#flash Flash Player] plugins.
Line 82: Line 67:
     alias vi >/dev/null 2>&1 || alias vi=vim
     alias vi >/dev/null 2>&1 || alias vi=vim
   fi
   fi
* Disable PC speaker.
  su -c 'echo "blacklist pcspkr" >> /etc/modprobe.d/blacklist.conf'

Revision as of 21:01, 22 April 2011

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

New Installation Checklist

  • Set right-alt as the compose key: Region and Language->Layouts->Options->Compose Key Position
  • Enable touchpad tap-to-click: Mouse and Touchpad->Touchpad
  • Setup mail notifications: sudo yum install mail-notification
  • 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