darkness

Monday, 27 June 2005

Still on FC4

darkness @ 23:26:53

OK, Sawfish isn’t looking real happy in FC4. I ended up rebuilding Sawfish because paths to rep stuff had changed. Two problems:

  1. rep-gtk had to make its own version of a couple GTK functions in the past. Those functions seems to be in FC4’s GTK. However, they must work differently: sawfish-ui makes an assertion failure.
  2. When I cycle windows in Sawfish with alt-tab, the box that appears with the window name in the center of the screen stays up until I press another key. So: press alt-tab to cycle to next window, box pops up with name of window that now has focus, box does not disappear like it used to. Press any other key and the box disappears. Key seems to be sent to window that appeared to have focus, too.

So the RPMs I posted earlier are not a panacea. I’m trying to get by with Metacity, presently. Its window placement is likely going to bug the shit out of me. Tip: hold shift while dragging a window with mouse for “gravity.” (Pretty extreme gravity when there’s only one window on the screen. Try it and see what I mean.)

I go to try and fix my mouse problem/switch to the NVIDIA X server simultaneously. Turns out the latest NVIDIA X server, 7664 I think, doesn’t support the GeForce 256 or the GeForce 2, and I’m sure I have one of those. dmesg has a note from the driver telling you to check out the “NVIDIA Legacy drivers” or something, but they don’t exist yet I gather. NVIDIA’s website is kind of a maze. Solution: ATrpms has 7174 packaged for FC4. That seems to work. (BTW, information cleaned from nV News forums.)

nscd is crashing all the time still. I think I figured out how to run gdb over it. Will try and post link to inevitable Fedora bug later.

Turns out the kernel correctly detected my mouse as “ImExPS/2”. I needed to go set Option "Protocol" "ExplorerPS/2" in /etc/xorg.conf. I also used system-config-mouse to change my mouse type to a PS/2 wheel mouse, and edited /etc/sysconfig/mouse so it looks something like:

FULLNAME="Generic - Wheel Mouse (PS/2)"
MOUSETYPE="exps2"
XEMU3="no"
XMOUSETYPE="ExplorerPS/2"
DEVICE=/dev/input/mice

Now scrolling up no longer simulates both scrolling up and right click. Seems like I’ve been here before. Kind of wonder why I can’t select this as a mouse type in system-config-mouse and have this stuff set for me.

I just noticed that Metacity is giving focus to new windows that pop up. That’s probably not cool. I wonder how hard it is to hack on Metacity. I’d use another window manager, but of the ones I’ve reviewed I’ve been kind of disappointed. Window Maker looked kind of promising, but development seems stagnant and there were some annoying placement bugs, IIRC. wmii would probably be cool, but I really want to use gnome-panel. Plus some applications really did behave weird with it; but I could probably get around that with more configuration, or else get used to it. Ion would be neat, but I seem to recall running up against some limitations WRT its Lua bindings, limitations that made me not care to use it anymore. I was fine with using rep (almost-kinda-looks-like-LISP) to script/configure the window manager… not that I ever needed to: sawfish-ui gave me about every option I could think of needing. There are some rumblings on the Sawfish mailing list, someone’s kind of forked it, but I don’t count on bug support. I’m relegated to using the GNOME window manager as long as I want to use the latest GNOME-and-friends.

More FC4 installation

darkness @ 11:32:12

Continuing yesterday’s entry on FC4 installation.

  • Sawfish is just not in Fedora, not even in Extras. I suspect this reflects the lack of anyone caring enough to maintain the package. I should probably volunteer for this. I went ahead and build new librep packages using the newest version from SourceForge (0.17). I’ll put a working set of Sawfish RPMS and their deps (rep) up at [sorry, these RPMs were removed as they don’t actually work; try reading forward a few posts]. (Oh, I ended up having to rebuild rep-gtk too, so that’s up there.)
  • For some reason, autoconf wouldn’t install because of GPG key problems. I had to manually rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY. This is only unusual because, up until now, this new version of yum has been nice enough to install all my keys for me.
  • gnome-wm will, apparently, let you change your window manager in gnome, kind of. Put something like export WINDOW_MANAGER=sawfish in ~/.bashrc.
  • With gconf-editor I switched off /apps/nautilus/preferences/show_desktop.
  • It is suspected (by me) that the color I like for my background is about #3B748C. I should probably just look at my Sawfish theme and see what color(s) it uses (I suspect it’s a gradient).

Have to go take a Geology exam online now. My mouse wheel up isn’t working. I suspect I need to bring over the same fix I used in FC2… once I remember everything that was involved in it. Will update in next entry.

Fresh install of FC4

darkness @ 01:08:00

Doing a fresh install of FC4 on my home desktop box. It used to be a long-since-fucked-up version of FC2.

  • Install crashed first time through. It didn’t like creating my LVM devices. Maybe because it needed to reboot with the new partition table first?
  • In firstboot, I selected LDAP and Kerberos. I selected TLS for LDAP. When I clicked “OK” to close the dialog, I was told to copy the CA key for my LDAP server into /etc/openldap/cacerts. Of course, when firstboot is running, you have no VC, nowhere to login (that I know of). I had to SSH in; luckily that was running. Then I found out the CA I was using had expired, so I had to regenerate that, find /usr/sbin/cacertdir_rehash /etc/openldap/cacerts, reboot so every running process would see it had a working LDAP server (I don’t know if this was necessary), reboot again because I forgot to make the key 644 and my regular user couldn’t read it. I was never asked to set up my Kerberos keytab, but I did that anyway (copied from backup of the old system). Otherwise (snicker) LDAP/Kerberos setup went smoothly. All the config files appeared right. If you want to debug nss_ldap, stick something like debug 9 and maybe logdir /tmp in the bottom of /etc/nss_ldap.conf.
  • For some reason my Samsung SyncMaster 1100p isn’t listed in the monitor database. I’m not sure my monitor has ever been listed in the monitor database.

That’s actually as far as I got. I’m still running through my usual FC “bootstrap sequence” where I set all the settings as I like them. I just started yum update, so we’ll see where that gets by morning.

Powered by WordPress