Difference between revisions of "FreeBSD kde4"

From Teknologisk videncenter
Jump to: navigation, search
m (New page: == /etc/X11/xorg.conf == <source lang="cli"> Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePoin...)
 
m
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<source lang=cli>
 +
[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>
 +
</source>
 +
 +
*Configure [http://www.freebsd.org/doc/en/books/handbook/x-config.html X11]
 +
= VMware =
 +
*X11 driver '''/usr/ports/x11-drivers/xf86-video-vmware'''
 +
<!--
 +
=Notes=
 
== /etc/X11/xorg.conf ==
 
== /etc/X11/xorg.conf ==
 
<source lang="cli">
 
<source lang="cli">
Line 88: 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>
{{#css: 
+
 
    pre {  font-family: Lucida Console; font-weight: bold; font-size: 14px; color: #00FF00; background: black; margin: 10px 50px; width: 800px; line-height: 200%; overflow: auto;}
+
{{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>

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".
------------------------------------------------------------------------------