Difference between revisions of "FreeBSD kde4"
From Teknologisk videncenter
m |
m |
||
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</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] | *Configure [http://www.freebsd.org/doc/en/books/handbook/x-config.html X11] | ||
+ | <!-- | ||
=Notes= | =Notes= | ||
== /etc/X11/xorg.conf == | == /etc/X11/xorg.conf == | ||
Line 91: | Line 112: | ||
startkde | startkde | ||
</source> | </source> | ||
+ | --> | ||
{{#css: | {{#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;} | 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;} | ||
}} | }} | ||
[[Category:FreeBSD]] | [[Category:FreeBSD]] |
Revision as of 08:31, 16 December 2009
[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</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