Home
Forum
Help
Login
Register
XO Laptop Shop
Forum Staff
OLPC News
OLPC News Forum
»
XO Laptop
»
XO Hacks
»
Other Operating Systems
»
Xfce?
Welcome,
Guest
. Please
login
or
register
.
Get your own OLPC -
Buy an XO laptop on eBay
!
Pages: [
1
]
2
3
4
...
12
« previous
next »
Print
Author
Topic: Xfce? (Read 133822 times)
Xfce?
Bastian
Guest
December 22, 2007, 01:31:54 AM
Xfce (
http://www.xfce.org
), a lightweight desktop environment that is used for example in Xububntu, is in the repositories that yum on the XO calls by default (koji). I could install xfdesktop in emulation, but with the emulated screen resolution only part of the desktop was visible. Did somebody give it a shot a on the XO?
Bastian
Logged
#1
Re: Xfce?
info_anarchy
Commenter
Posts: 27
December 23, 2007, 11:45:01 AM
upon your suggestion, i tried out xfce, and it seems to work well, plenty fast, resolution is fine. The only limitation seems to be my own understanding of how to configure it
from command line, I ran:
yum install xfdesktop
then, i copied the ~/.xsession-example to ~/.xsession and uncommented the line:
exec xterm
so when i restarted the machine, i got a terminal instead of sugar. then i ran
xfwm4 &
xfdesktop &
and I got a reasonably working xfce desktop.
my question is: what command am I supposed to use to start xfce? I obviously did it a sloppy way. the docs say use startxfce4, but no such script/binary exists with the packages I installed.
i'd love to hear any advice or further progress anyone's made!
Logged
#2
Re: Xfce?
ashtond33
Contributor
Posts: 85
December 23, 2007, 05:31:55 PM
Quote from: info_anarchy on December 23, 2007, 11:45:01 AM
and I got a reasonably working xfce desktop.
How was it speedwise compared to the default setup? (coming from a person who has yet to receive their xo, and has not yet played with sugar)
Logged
#3
Re: Xfce?
info_anarchy
Commenter
Posts: 27
December 23, 2007, 09:18:11 PM
the performance was quite good. the graphics are a bit choppy for some things like resizing a window, but still perfectly usable.
Launching opera seemed a bit faster, but it's really difficult to tell, and that could be subjective.
right now, running xfce and one xfce terminal, I have 78MB free memory, CPU usage of about 2%, and load of 0.08.
as far as I can tell, the neither the brightness or volume keys work outside of sugar, which is unfortunate since I can't switch to grayscale mode - i suspect it's possible to make them work but dunno how - probably some sugar sub-program handles them.
the other obstacle that i've found is that xfce doesn't auto-configure my wireless connection the way sugar does, so I'll need to figure out how to easily manage the wireless card when booting purely into xfce.
Logged
#4
Re: Xfce?
info_anarchy
Commenter
Posts: 27
December 24, 2007, 10:12:19 AM
k, in my continuing adventuers of substituting xfce for sugar:
i got a wireless manager and made it work. i did:
yum install wifi-radar
and then edited /etc/wifi-radar/wifi-radar.conf
and changed the line which said "eth1" to "eth0".
Then, you can call up wifi-radar from the networking menu, and it displays all available networks for you to connect to, and works fine.
Logged
#5
Re: Xfce?
xzela
Commenter
Posts: 10
December 24, 2007, 10:45:45 AM
Sounds pretty sick, I might try that. However, I'm a bit confused on how you were able to install the xfce windows manager. I think it would be interesting to get a menu screen that allows you to choose which windows manager you're interested in running for that session (sugar, xfce, gnome, etc...).
Logged
#6
Re: Xfce?
info_anarchy
Commenter
Posts: 27
December 24, 2007, 10:55:55 AM
also, you can apparently change the brightness simply by sending number values to /sys/class/backlight/dcon-bl/brightness
for example: echo 15 > /sys/class/backlight/dcon-bl/brightness
sets it to full brightness, while echo 0 > /sys/class/backlight/dcon-bl/brightness
turns off the backlight. Interestingly, i think this enables finer brightness increments than the buttons do in sugar, so you might be able to set your screen to use even less power at night by keeping the backlight super dim.
there may be a similar device control for the sound, but I haven't found it.
Logged
#7
Re: Xfce?
moocapiean
Master Contributor
Posts: 330
December 24, 2007, 07:47:18 PM
Quote from: info_anarchy on December 23, 2007, 11:45:01 AM
my question is: what command am I supposed to use to start xfce? I obviously did it a sloppy way. the docs say use startxfce4, but no such script/binary exists with the packages I installed.
Here's how I installed Xfce4 on my XO:
From the command line, I ran:
yum install xfce4-session xfdesktop xfce-utils xfce-mcs-plugins
I then copied ~/.xsession-example to ~/.xsession and replaced the line:
#exec xterm
with:
exec startxfce4
Well, that should be everything! If anyone knows the right way to do this, I'd be happy to know!
Edit: Updated
yum install
command to add xfce-mcs-plugins at suggestion of
http://olpcnews.com/forum/index.php?topic=592.msg8366#msg8366
«
Last Edit: January 06, 2008, 12:07:57 PM by moocapiean
»
Logged
#8
Re: Xfce?
moocapiean
Master Contributor
Posts: 330
December 25, 2007, 06:57:56 PM
Ok, so I did some more poking around with Xfce4 and found the *real* way to get startxfce4 on the XO:
yum install xfce-utils
I've updated my post above to include the latest way to install Xfce4. If you followed my original instructions, to fix things, just:
rm /etc/X11/xinit/xserverrc /home/olpc/.Xclients
Logged
#9
Re: Xfce?
moocapiean
Master Contributor
Posts: 330
December 25, 2007, 07:33:59 PM
Quote from: info_anarchy on December 24, 2007, 10:12:19 AM
k, in my continuing adventuers of substituting xfce for sugar:
i got a wireless manager and made it work. i did:
yum install wifi-radar
and then edited /etc/wifi-radar/wifi-radar.conf
and changed the line which said "eth1" to "eth0".
Then, you can call up wifi-radar from the networking menu, and it displays all available networks for you to connect to, and works fine.
Where did you get /etc/wifi-radar/wifi-radar.conf ? I installed wifi-radar with yum and it didn't show up. Could someone post what your wifi-radar.conf looks like?
Thanks in advance!
Logged
#10
Re: Xfce?
info_anarchy
Commenter
Posts: 27
December 25, 2007, 09:25:21 PM
Thanks for the info on xfce-utils, that did the trick for me.
I assumed /etc/wifi-radar/wifi-radar.conf got created along with the package, but maybe it's created when you run the program and try to set up a network. Give that a try, but for reference, here's an example (with some values changed):
[DEFAULT]
ifup_required = False
auto_profile_order = MYAPNAME
speak_up = False
scan_timeout = 5
interface = eth0
commit_required = False
[MYAPNAME]
prescript =
use_wpa = no
postscript =
mode = Managed
key =
use_dhcp = yes
security =
channel =
Another thing, I noticed: you usually have to tell wifi-radar to disconnect from the mesh network (which is set up by default) before you can make a new connection. I think you also have to explicitly set your connection to be in Managed mode, since the default connection is ad-hoc.
Logged
#11
Re: Xfce
dialectric
Commenter
Posts: 5
December 26, 2007, 09:48:44 AM
I've got xfce working and just installed the xmms audio player which seems to work fine once double sized.
yum -y install xmms
the xmms audio player installer took a while; can't tell exactly how much space it took but seemed to have a lot of dependencies and downloaded a fair amount of stuff. Still at 60% free space w/ xfce and xmms, though, so I've got a bit more space to work with.
xmms player is now in xfce start menu under multimedia
in xmms, right click, choose options -> double size to make the player usable on OLPC
some demo .ogg files are in /usr/share/activities/music
dialectric
Logged
#12
Re: Xfce
moocapiean
Master Contributor
Posts: 330
December 26, 2007, 11:26:40 AM
Quote from: dialectric on December 26, 2007, 09:48:44 AM
I've got xfce working and just installed the xmms audio player which seems to work fine once double sized.
yum -y install xmms
the xmms audio player installer took a while; can't tell exactly how much space it took but seemed to have a lot of dependencies and downloaded a fair amount of stuff. Still at 60% free space w/ xfce and xmms, though, so I've got a bit more space to work with.
Did you give Audacious a try? It looks and acts identical to xmms, but requires only 2.9 MB to install whereas xmms requires 14 MB! I got those sizes from:
yum install package_name
When it asks you if you want to install the package and its dependencies, it'll tell you how much space they'll take up. By using the -y option, it's harder to see that information since it won't pause waiting for your response.
Logged
#13
Re: Xfce?
moocapiean
Master Contributor
Posts: 330
December 26, 2007, 03:10:35 PM
Quote from: info_anarchy on December 25, 2007, 09:25:21 PM
I assumed /etc/wifi-radar/wifi-radar.conf got created along with the package, but maybe it's created when you run the program and try to set up a network. Give that a try, but for reference, here's an example (with some values changed):
Thanks, running wifi-radar creates the config file.
To stop it from automatically creating the mesh networks, run:
/etc/init.d/NetworkManager stop
I wonder if it's possible to use NetworkManager (which comes with the XO) instead of wifi-radar...
Logged
#14
Re: Xfce?
kidatari
Commenter
Posts: 25
Hypnotoad commands it!
December 26, 2007, 03:27:10 PM
XFCE works like a champion for me, is there any way to override Sugar's window manager and run XFCE in a window'ed mode (instead of fullscreen for all apps)?
Thanks to everyone who posted the information!
Logged
Josh
Northern California G1G1 Recipient
Pages: [
1
]
2
3
4
...
12
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
OLPC G1G1 Information
-----------------------------
=> G1G1 Introduction
===> First Impressions
===> G1G1 Europe
===> XO Shipping - USA
===> XO Shipping - Canada
===> XO Shipping - Problems
=> XO User Groups
===> OLPC Canada
===> OLPC Learning Club DC
===> XO Europe User Group
===> Assistive Technology Group
=> OLPC Publicity
-----------------------------
XO Laptop
-----------------------------
=> XO Laptop Help
===> User Guide
===> Internet & Mesh Networking
===> Sugar & Linux
===> Battery & Power
===> T-Mobile HotSpot
=> XO 1.5 Laptop
=> XO Activities
===> Activities Development
===> Games!
===> eBooks
===> Music & Radio
===> Jabber & Chat
=> XO Hacks
===> Hardware Modifications
===> Other Operating Systems
=> XO Accessories
===> USB Memory Sticks & SD Cards
===> USB Adapters & Attachments
=> XO Problemo
===> Hardware Trouble
===> Keyboard
=> XO MISC
-----------------------------
OLPC Outreach
-----------------------------
=> Press & Blogs
=> Your Opinion
=> Promoting OLPC to Schools
-----------------------------
Other Devices
-----------------------------
=> Asus Eee PC
=> Classmate and 2go PC
=> Other 4P Computers
Stats
Members
Total Members: 2406
Latest:
sembik
Stats
Total Posts: 31943
Total Topics: 3843
Online Today: 29
Online Ever: 238
(April 18, 2011, 09:48:50 PM)
Users Online
Users: 0
Guests: 24
Total: 24
Loading...