Here's the uname -a.
OpenBSD vambsd.vampire.org 4.4 GENERIC#1021 i386
Well. Yeah. Unlike FreeBSD's long output, OpenBSD's version is way shorter. I'll post the dmesg output soon hopefully.
Here's the list of currently installed packages:
dmenu-3.7
libiconv-1.12
libixp-0.4p0
screen-4.0.3p1
wmii-3.6p1
So wmii and GNU Screen is working fine. I'm still trying to install Awesome, FluxBox & Corewars and still there's more dependencies I need to resolve. Later then.
Thursday, April 16, 2009
Wednesday, April 15, 2009
OpenBSD NC4000: wmii is running fine.
I've done installing wmii window manager. I can say that it's neat and clean. First I created .xinitrc file in my home folder. Easiest way is to type vi .xinitrc inside your home folder. Then just type:
exec wmii
Then save it and close vi. After that type xinit in the shell and wallah! wmii greets me. There's a wmii message displaying the basic of working with wmii. As I know a bit about working with vi and vim, working with wmii is not that hard. It uses [H],[J],[K],[L] keys for direction instead of UP,DOWN,LEFT,RIGHT keys. wmii uses [Alt] as the default mod key. I read that I can change that with other key and even the Windows key. That'll be great. I'll update on that later.
So wmii is ok, now to make my OpenBSD boots directly to X and uses graphical login. I sued to root and vi /etc/rc.conf. All I need is to change this part:
xdm_flags=NO
to
xdm_flags=""
and save it. I do a shutdown -r now in the shell and after the laptop reboots, I'm greeted with graphical login with a picture of Puffy on the side. I logged in and .. fvwm greets me. Uh. Drats. I forgot something.
I then quit X, do vi .xsession (create that file) inside my home folder and add this line:
wmii
That's it. Restarted again, went through the xdm login and wmii initiated. Sweet. More on my learning with wmii later!
exec wmii
Then save it and close vi. After that type xinit in the shell and wallah! wmii greets me. There's a wmii message displaying the basic of working with wmii. As I know a bit about working with vi and vim, working with wmii is not that hard. It uses [H],[J],[K],[L] keys for direction instead of UP,DOWN,LEFT,RIGHT keys. wmii uses [Alt] as the default mod key. I read that I can change that with other key and even the Windows key. That'll be great. I'll update on that later.
So wmii is ok, now to make my OpenBSD boots directly to X and uses graphical login. I sued to root and vi /etc/rc.conf. All I need is to change this part:
xdm_flags=NO
to
xdm_flags=""
and save it. I do a shutdown -r now in the shell and after the laptop reboots, I'm greeted with graphical login with a picture of Puffy on the side. I logged in and .. fvwm greets me. Uh. Drats. I forgot something.
I then quit X, do vi .xsession (create that file) inside my home folder and add this line:
wmii
That's it. Restarted again, went through the xdm login and wmii initiated. Sweet. More on my learning with wmii later!
Tuesday, April 14, 2009
OpenBSD NC4000: wmii and xmonad, another tiling window manager.
In my search for a tiling x11 window manager, I'm considering to install Awesome window manager which looks good. Since it's GPLv2, I also found wmii (MIT license) and xmonad (3-Clause BSD License). Xmonad have a multi-head display support whereas wmii looks neat. I want to go for wmii first so I downloaded:
wmii-3.6p1
Which I found depends on dmenu-3.7 so I downloaded that too. After reading the official wmii site, I found that it'll be better if I have libixp-0.4p0 so I downloaded that too. For xmonad, I only downloaded xmonad-0.7 and xmonad-lib-0.7.
I wanna go with wmii first (yeah I thought I wanna try awesome first but wmii license seems more attractive). More on that later.
wmii-3.6p1
Which I found depends on dmenu-3.7 so I downloaded that too. After reading the official wmii site, I found that it'll be better if I have libixp-0.4p0 so I downloaded that too. For xmonad, I only downloaded xmonad-0.7 and xmonad-lib-0.7.
I wanna go with wmii first (yeah I thought I wanna try awesome first but wmii license seems more attractive). More on that later.
OpenBSD NC4000: Offline packages installation.
So far the 4.4 OpenBSD is running fine with my NC4000. I just learned that my usb thumdrive is labeled as sd0i. So I need to type this command to access it:
mount_msdos /dev/sd0i /mnt/usb
And remember to create the "usb" folder beforehand. It's pretty important because I have to install packages using my usb thumbdrive. When I'm in the office, I download the packages I want and then store it in the thumbdrive and when I got back home, I mount the usb then move the files to my local home folder and install it.
Another thing I've learned. Offline installation (like what I'm currently doing now) of OpenBSD is a bit of an adventure. I'm comparing this to FreeBSD. One is because I can get 3 CDs worth of FreeBSD installation plus all the required packages and more and burn it myself in a DVD. That will cater almost all of my need. If I'm installing a package from the FreeBSD DVD, I can be sure that all the dependencies will be taken care of because that dependency packages is also inside the DVD. But OpenBSD, they'll only provide the installation ISO which is enough for base OpenBSD installation and no more.
I understand it's because they want people to buy official OpenBSD DVD and support the development and it's a great thing. I'm just saying that it'll be quite an adventure to install other packages offline. The main issue is *drums*... dependencies. Yeah. Coming from a a FreeBSD user who's spoilt for details with FreeBSD Packages page, OpenBSD Packages page is scary. OpenBSD's page have a more minimal approach whereas FreeBSD will list the needed dependencies for each packages you need.
I wanted to install Awesome window manager, Corewars and Screen. Screen installation is ok because it depends on nothing else. Awesome installation got stuck because I didn't have libiconv-1.12. Corewars installation also stuck but because of glib2-2.16.4p1. I downloaded the files the next day, went back home and run the pkg_add command. Now both stuck because the gettext-0.17 is not installed. Lucky I googled and found OpenPorts.se. It's not as extensive as FreeBSD's FreshPorts.org but it's surely what I need. Like I've said, it's a bit of an adventure because I need check each individual dependency files to see if it's depended on other file(s) so I can download it too. After all that, this is the files I've downloaded:
gettext-0.17
glib2-2.16.4p1
gperf-3.0.1
libiconv-1.12
libtool-1.5.26p0
metaauto-0.9
I'm not sure if this all is needed to get Corewars and Awesome window manager running but I'll test it out later today. I want to install as minimum as I can get as I want to utilise what's already installed in the base OpenBSD installation (eg: using VI which is already installed instead of installing VIM). More info later.
mount_msdos /dev/sd0i /mnt/usb
And remember to create the "usb" folder beforehand. It's pretty important because I have to install packages using my usb thumbdrive. When I'm in the office, I download the packages I want and then store it in the thumbdrive and when I got back home, I mount the usb then move the files to my local home folder and install it.
Another thing I've learned. Offline installation (like what I'm currently doing now) of OpenBSD is a bit of an adventure. I'm comparing this to FreeBSD. One is because I can get 3 CDs worth of FreeBSD installation plus all the required packages and more and burn it myself in a DVD. That will cater almost all of my need. If I'm installing a package from the FreeBSD DVD, I can be sure that all the dependencies will be taken care of because that dependency packages is also inside the DVD. But OpenBSD, they'll only provide the installation ISO which is enough for base OpenBSD installation and no more.
I understand it's because they want people to buy official OpenBSD DVD and support the development and it's a great thing. I'm just saying that it'll be quite an adventure to install other packages offline. The main issue is *drums*... dependencies. Yeah. Coming from a a FreeBSD user who's spoilt for details with FreeBSD Packages page, OpenBSD Packages page is scary. OpenBSD's page have a more minimal approach whereas FreeBSD will list the needed dependencies for each packages you need.
I wanted to install Awesome window manager, Corewars and Screen. Screen installation is ok because it depends on nothing else. Awesome installation got stuck because I didn't have libiconv-1.12. Corewars installation also stuck but because of glib2-2.16.4p1. I downloaded the files the next day, went back home and run the pkg_add command. Now both stuck because the gettext-0.17 is not installed. Lucky I googled and found OpenPorts.se. It's not as extensive as FreeBSD's FreshPorts.org but it's surely what I need. Like I've said, it's a bit of an adventure because I need check each individual dependency files to see if it's depended on other file(s) so I can download it too. After all that, this is the files I've downloaded:
gettext-0.17
glib2-2.16.4p1
gperf-3.0.1
libiconv-1.12
libtool-1.5.26p0
metaauto-0.9
I'm not sure if this all is needed to get Corewars and Awesome window manager running but I'll test it out later today. I want to install as minimum as I can get as I want to utilise what's already installed in the base OpenBSD installation (eg: using VI which is already installed instead of installing VIM). More info later.
Friday, April 10, 2009
Awesome window manager. Seriously.
OpenBSD NC4000: I received a laptop and on OpenBSD 4.4!
Hi. Long time no blog. Yeah been lotsa thing in between. I was given a Compaq NC400 laptop as it's supposed to be disposed. I tested it and it's working fine. Grabbed OpenBSD 4.4 i386 and installed flawlessly. Didn't get the dmseg / uname -a file here yet but I'll post it soon. I just installed it last night and so far, sweet!. No broadband in my house yet (yeah I moved to a new home months ago) so pretty difficult to update the source / kernel. More on that later.
Subscribe to:
Posts (Atom)
6.5 amd64: Modify existing certbot certificates.
Hi, It's been quite some time eh. As you can see, I still upgrade my OpenBSD system regularly but currently I do not have the time to ...
-
Now FreeBSD has version 6.x fer production purpose and 7 fer current. I missed quite a release nowadays. But 1 of the most important news I...
-
Hi, So far I'm still learning about Drupal. I have a project in mind using this. So I wanted to install a module into this Drupal-o-m...
-
Update: My Updated wmiirc Status Bar Script is the recent version, there's a bit of error in the script below so you guys better take a...