Difference between revisions of "FreeBSD kde4"
From Teknologisk videncenter
m |
m |
||
(5 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
[root@mars ~]#<input>echo 'hald_enable="YES"' >> /etc/rc.conf</input> | [root@mars ~]#<input>echo 'hald_enable="YES"' >> /etc/rc.conf</input> | ||
[root@mars ~]#<input>echo 'dbus_enable="YES"' >> /etc/rc.conf</input> | [root@mars ~]#<input>echo 'dbus_enable="YES"' >> /etc/rc.conf</input> | ||
− | [root@mars ~]#<input>/usr/local/etc/rc.d hald start</input> | + | [root@mars ~]#<input>/usr/local/etc/rc.d/hald start</input> |
− | [root@mars ~]#<input>/usr/local/etc/rc.d dbus start</input> | + | [root@mars ~]#<input>/usr/local/etc/rc.d/dbus start</input> |
[root@mars ~]#<input>Xorg -configure</input> | [root@mars ~]#<input>Xorg -configure</input> | ||
[root@mars ~]#<input>cp ~/xorg.conf.new /etc/X11/xorg.conf</input> | [root@mars ~]#<input>cp ~/xorg.conf.new /etc/X11/xorg.conf</input> | ||
[root@mars ~]#<input>echo '#!/bin/bash | [root@mars ~]#<input>echo '#!/bin/bash | ||
− | PATH= | + | PATH="/usr/local/kde4/bin:$PATH" |
export PATH | export PATH | ||
− | startkde | + | startkde' >> ~/.xinitrc</input> |
[root@mars ~]#<input>shutdown -r now</input> | [root@mars ~]#<input>shutdown -r now</input> | ||
[root@mars ~]#<input>xinit</input> | [root@mars ~]#<input>xinit</input> | ||
Line 20: | Line 20: | ||
*Configure [http://www.freebsd.org/doc/en/books/handbook/x-config.html X11] | *Configure [http://www.freebsd.org/doc/en/books/handbook/x-config.html X11] | ||
+ | = VMware = | ||
+ | *X11 driver '''/usr/ports/x11-drivers/xf86-video-vmware''' | ||
<!-- | <!-- | ||
=Notes= | =Notes= | ||
Line 111: | Line 113: | ||
export PATH | export PATH | ||
startkde | startkde | ||
+ | |||
+ | --> | ||
+ | = Notater = | ||
+ | Efter installation af porten '''/usr/ports/x11-drivers/xf86-video-vmware''' og start af pkg_add -r kde4 | ||
+ | <source lang=cli> | ||
+ | ------------------------------------------------------------------------------ | ||
+ | Your SDL library has been built with libvgl support, which means that you | ||
+ | can run almost any SDL application straight on your console (VESA 2.0 | ||
+ | compatible videocard is required). | ||
+ | |||
+ | To do this you have to load the vesa kernel module or enable it in your | ||
+ | kernel, and set environment variable "SDL_VIDEODRIVER=vgl". | ||
+ | ------------------------------------------------------------------------------ | ||
</source> | </source> | ||
− | + | ||
− | {{ | + | {{Source cli}} |
− | |||
− | }} | ||
[[Category:FreeBSD]] | [[Category:FreeBSD]] |
Latest revision as of 17:32, 28 February 2010
[root@mars ~]#<input>pkg_add -r bash</input>
[root@mars ~]#<input>pkg_add -r vim</input>
[root@mars ~]#<input>pkg_add -r xorg</input>
[root@mars ~]#<input>pkg_add -r kde4</input>
[root@mars ~]#<input>cp /usr/local/bin/bash /bin</input>
[root@mars ~]#<input>echo 'hald_enable="YES"' >> /etc/rc.conf</input>
[root@mars ~]#<input>echo 'dbus_enable="YES"' >> /etc/rc.conf</input>
[root@mars ~]#<input>/usr/local/etc/rc.d/hald start</input>
[root@mars ~]#<input>/usr/local/etc/rc.d/dbus start</input>
[root@mars ~]#<input>Xorg -configure</input>
[root@mars ~]#<input>cp ~/xorg.conf.new /etc/X11/xorg.conf</input>
[root@mars ~]#<input>echo '#!/bin/bash
PATH="/usr/local/kde4/bin:$PATH"
export PATH
startkde' >> ~/.xinitrc</input>
[root@mars ~]#<input>shutdown -r now</input>
[root@mars ~]#<input>xinit</input>
- Configure X11
VMware
- X11 driver /usr/ports/x11-drivers/xf86-video-vmware
Notater
Efter installation af porten /usr/ports/x11-drivers/xf86-video-vmware og start af pkg_add -r kde4
------------------------------------------------------------------------------
Your SDL library has been built with libvgl support, which means that you
can run almost any SDL application straight on your console (VESA 2.0
compatible videocard is required).
To do this you have to load the vesa kernel module or enable it in your
kernel, and set environment variable "SDL_VIDEODRIVER=vgl".
------------------------------------------------------------------------------