1. SPS Accounts:
    Do you find yourself coming back time after time? Do you appreciate the ongoing hard work to keep this community focused and successful in its mission? Please consider supporting us by upgrading to an SPS Account. Besides the warm and fuzzy feeling that comes from supporting a good cause, you'll also get a significant number of ever-expanding perks and benefits on the site and the forums. Click here to find out more.
    Dismiss Notice
Dismiss Notice
You are currently viewing Boards o' Magick as a guest, but you can register an account here. Registration is fast, easy and free. Once registered you will have access to search the forums, create and respond to threads, PM other members, upload screenshots and access many other features unavailable to guests.

BoM cultivates a friendly and welcoming atmosphere. We have been aiming for quality over quantity with our forums from their inception, and believe that this distinction is truly tangible and valued by our members. We'd love to have you join us today!

(If you have any problems with the registration process or your account login, please contact us. If you've forgotten your username or password, click here.)

FreeBSD - changing default XWM

Discussion in 'Techno-Magic' started by Disciple of The Watch, Sep 30, 2007.

  1. Disciple of The Watch

    Disciple of The Watch Preparing The Coming of The New Order Veteran

    Joined:
    Aug 20, 2005
    Messages:
    7,024
    Likes Received:
    38
    Gender:
    Male
    As the title said, I've installed BSD on a virtual machine for testing purposes, prior to replacing Slackware with BSD, after hearing much of BSD's touted rock-solidity.

    There are still a few things I am unsure of, though, before doing the change.

    First, XWM. FreeBSD's default TWM (or something like that) is totally no-frills, but not really for me. Being an Xfce aficionado, it's easy to guess which WM I want.

    I have the .run packages - alternatively, the tarball as well- to compile Xfce, and this is exactly what I intend to do. Looking around on the web, to change my default WM, the xf86config in /usr/X11R6/bin must be edited. This file is nowhere to be found. There were some other files, but I'd rather not try to blindly stumble upon the good one.

    So, if xf86config is not the file I need to tweak, then which one is?

    And what are the necessary modifications that must be done to the file to set Xfce as default XWM? I'll honestly say that I've never compiled a XWM from scratch, thanks to the 'xwmconfig' option implemented in Slackware, and the fact that Slack comes packaged with Xfce, unlike FreeBSD.

    *EDIT* Also, now that I think about it, I need to get a PPPoE connection up and running.

    [ September 30, 2007, 07:36: Message edited by: Disciple of The Watch ]
     
  2. Morgoth

    Morgoth La lune ne garde aucune rancune Veteran

    Joined:
    Jul 21, 2002
    Messages:
    3,652
    Media:
    8
    Likes Received:
    86
    Gender:
    Male
    Oh yeah.. xwindows :rolleyes: , one of the lesser parts of the Unix system. Took me an entire day once to install IceWM and I never got the videocard working properly.

    Have you looked for other XF86Config files? Just back then up and then mess around, it won't damage your monitor (unless you start messing with the frequencies). You will find the correct config file quick enough.
    Also, are you using Xfree or Xorg? Since BSD operates under a different license than Slackware, the XWindows implementation might be different.
     
  3. Disciple of The Watch

    Disciple of The Watch Preparing The Coming of The New Order Veteran

    Joined:
    Aug 20, 2005
    Messages:
    7,024
    Likes Received:
    38
    Gender:
    Male
    I'll have to check to be 100% sure, but IIRC, it's Xorg 6.9.0.

    I've checked around in the files, but found nothing regarding xf86 config. I took a peek in those other files, but a couple of them were nothing more than garbled gibberish.

    I'll try what you said about experimenting. I've installed FreeBSD as a virtual machine on VMware and kept a snapshot of a fresh install, so f****** something up isn't really an issue.
     
  4. Morgoth

    Morgoth La lune ne garde aucune rancune Veteran

    Joined:
    Jul 21, 2002
    Messages:
    3,652
    Media:
    8
    Likes Received:
    86
    Gender:
    Male
    Hmm... I think only the XFree86 implementation uses a config file called xf86config. Xorg uses xorgconfig... IIRC.
     
  5. Disciple of The Watch

    Disciple of The Watch Preparing The Coming of The New Order Veteran

    Joined:
    Aug 20, 2005
    Messages:
    7,024
    Likes Received:
    38
    Gender:
    Male
    Morgoth, I found this documentation on the web regarding installing fluxbox on FreeBSD, and I'd like to get your opinion on it.

     
  6. Morgoth

    Morgoth La lune ne garde aucune rancune Veteran

    Joined:
    Jul 21, 2002
    Messages:
    3,652
    Media:
    8
    Likes Received:
    86
    Gender:
    Male
    It looks fine to me, it is very verbose (which helps) and I guess it should work. The only part which I do not understand is the first one, the modification of '/etc/make.conf'.

    Is he setting a global variable for the make tool there?
     
  7. Disciple of The Watch

    Disciple of The Watch Preparing The Coming of The New Order Veteran

    Joined:
    Aug 20, 2005
    Messages:
    7,024
    Likes Received:
    38
    Gender:
    Male
    /me casts Resurrect Thread

    Out of frustration, I abandoned FreeBSD completly.

    I was browsing through my CDs, and stumbled upon the two FreeBSD CDs. I decided to give it one more go.

    The install went fine. For my first testing purposes, I did a VM without a network connection, and just root as user.

    The standard install went fine. Then came the part of installing a XWM other than TWM (or whatever XWM FreeBSD uses by default). Tried building it from ports - it tried to connect to a FTP. I dabbled with pkg_add -r XYZ - it tried to connect to a FTP.

    I was about to just blow it off when I had a flash.

    I mounted the CDROM, then used pkg_add /cdrom/packages/x11/kde-3.2.5,tbz. Some loading happens. That's a good sign. KDE quietly installs in the background. The install completes. I add echo "exec startkde" >> ~/.xinitrc, then type startx and cross my fingers. KDE boots in 640*480. Well, it's a start. I log out, then do a xorgconfig. I select my settings, save them to xorg.conf, and restart KDE, which now boots in 1280*1024.

    It's no secret I hate KDE. However, I had the choice between KDE and GNOME. So between to crappy WMs, I took the less worst.

    All that's left to do now is install rp-pppoe and compile the rest of the programs I use - Opera, Pidgin, XMMS.

    There's still a long way for me to go, but hey, it's a damn good start.
     
Sorcerer's Place is a project run entirely by fans and for fans. Maintaining Sorcerer's Place and a stable environment for all our hosted sites requires a substantial amount of our time and funds on a regular basis, so please consider supporting us to keep the site up & running smoothly. Thank you!

Sorcerers.net is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to products on amazon.com, amazon.ca and amazon.co.uk. Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.