Fedora 18 XFCE 4.10 Experience

I think the XFCE 4.10 in Fedora 18 fixed a couple of things
  • Audio Mixer is now similar to old one (from Gnome).
  • Folder/file browser is faster than before, but there is still a bit lag when I double click it.  I have i7 2600K, so there should be no lag.
Starting up is slower than before, but it acceptable since you only login once in a while...

setpci to disable usb3 ports on TUSB7320

# setpci -d 104c:8241 e0.L
00000000
# setpci -d 104c:8241 e0.L=0300
# setpci -d 104c:8241 e0.L
00000300

read/write eeprom

# $1 = offset
readEEPROM()
{
    setpci -d $DEVICE b1.b=$1
    setpci -d $DEVICE b2.b=a1
    setpci -d $DEVICE b0.b
}

# $1 = offset $2 = value
writeEEPROM()
{
    setpci -d $DEVICE b0.b=$2
    setpci -d $DEVICE b1.b=$1
    setpci -d $DEVICE b2.b=a0
}

Emacs 24 kill-region and yank

To restore the old kill-region and yank behaviour, add the following to .emacs:

(setq x-select-enable-clipboard nil)
(setq x-select-enable-primary t) 
(setq  mouse-drag-copy-region t)
(setq select-active-regions nil)
(global-set-key [mouse-2] 'mouse-yank-at-click)

Emacs-24 Space bar () complete file

This was changed to allow entering file name with space without quote.  The old behaviour can be restored with

class="lisp">(define-key minibuffer-local-filename-completion-map (kbd "SPC")
       'minibuffer-complete-word)
     
(define-key minibuffer-local-must-match-filename-map (kbd "SPC")
       'minibuffer-complete-word)

gpg hangs

I am not sure why it hangs, since I have a lot of entropy.
$ cat /proc/sys/kernel/random/entropy_avail
4096

The solution worked for me is "Ctrl-z" then type "fg".  I do not know why suspend then restart it would make a difference.  This is on Centos 5.

This is a workaround rather than a permanent fix.

using strace on it also wakes it up.