Active Topics

 


Reply
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#211
Hooray! Stupid permissions.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 12 | Thanked: 2 times | Joined on Jul 2008
#212
I am currently trying to make xfce4 lighter, if I am able to get it work faster I'll post how to.

my objective: only get the desktop, filemanager and panel launch.
 

The Following User Says Thank You to offensivebias For This Useful Post:
Posts: 12 | Thanked: 2 times | Joined on Jul 2008
#213
I don't know if I was really able to make it quicker, but I definitely freed some RAM (there is only 128MB on the n810 so any 500k app is good to deactivate).

The first thing is to install sysv-rc-conf and disable as much services as possible, but remember, what I don't need could be very useful to you so be careful when you deactivate things.
for example, if you do not do some debug or are not on an island with nothing else to read, I think you can pretty safely disable all the log pregrams (bootlogd, klogd, ...), it didn't affect my debian at all. I also disabled avahi (I don't need to discover dudes to chat with or network printers when I a on a hotspot). If you don't know what a service is, don't disable it, check on the net (I always google in something like sysv-rc-conf <service name>) and if you think it is not needed, get rid of it.

The second thing I did loaded a little bit the RAM, but let you check its status and also the CPU, it is pretty similar to the applet qole put in his tarball for IceWM exept it's for XFCE, the name of the package is called "xfce4-systemload-plugin".

My third operation was to remove a bunch of stuff I didn't need on XFCE (splash screen, desktop management by XFCE (careful, it takes away the wallpaper and the icons), removed the theme and icon management packages (see http://www.xfce.org/documentation/4....ce4-components to know what component you need or not).

The fourth thing is more kind of an advice, use light, and if possible, terminal based programs, I do that on my laptop, and it is really nice because you think it doesn't make a difference to launch cmus (a really cool command line music player) instead of Rythmbox or amarok, but as I replaced as much as I could bulky, heavy programs with lightweight command line apps (or light x programs if you can't do otherwise), my desktop became much more efficient. On my core 2 duo laptop it was not really the power and load time (it still has an small impact), but more that you get yourself more effective. The reason is, you look for a program that suits you, learn its command (that's the tough par where you need to leave the mouse in the cage ), but then, you become really quick. So I guess it can't hurt the n810 and other IT if you use light programs either .

These are all advices from personal experience, some could be wrong so any comment would be appreciated to correct them.

Last edited by offensivebias; 2008-07-17 at 15:42.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#214
So... You turned XFCE into IceWM (kidding)...

Glad it's working faster for you.. I noticed how atrociously slow it was when I booted it and so I'm sticking with IceWM. Window Maker runs about as fast as IceWM but I'm not a fan of Window Maker's interface.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 12 | Thanked: 2 times | Joined on Jul 2008
#215
Yeah, basically that's what I did. Faster ? Well it went from very slow to slow so... lol.
Anyway, a friend of mine noticed something, when you type mount in the chroot environment, there is no /media/mmc(1/2) output, but they are both accessible (so they are mounted). Just a detail but maybe qole could include in the next version of his script something that copies the fstab of maemo in the debian one ? Is it feasable ? (I don't know much about scripting)

Last edited by offensivebias; 2008-07-18 at 09:02.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#216
You would want mtab, not fstab, but mounting is always weird with chrooting. You could conceivably fix it temporarily, but it'll get all de-synced as soon as you mount or umount anything.
 
Posts: 12 | Thanked: 2 times | Joined on Jul 2008
#217
Ah, ok, was just a suggestion. Thanks for the intel.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#218
Darken, I've been trying to get tslib working in Debian, but running ts_test returns the error:

Code:
/dev/touchscreen/ucb1x00: No such file or directory
Where is the tslib config file? It seems to need to be pointed somewhere else, like maybe /dev/input/event3 ...

Also, the Xephyr tutorials suggest using evdev with Xephyr for mouse support. Also, I wonder if Xephyr needs a valid xorg.conf file with correct input device configuration?

Perhaps the problem is that Xomap isn't passing all of the touchscreen information to Xephyr, since that's what's happening, the host X server receives the events and then passes them to the nested server...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Darken's Avatar
Posts: 17 | Thanked: 5 times | Joined on Jul 2008 @ Brno
#219
Propably /etc/ts.conf

and magic is here: export TSLIB_TSDEVICE=/dev/input/event3 )

It works even I did not enter -mouse parameter
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#220
So you DID get it working with Xephyr?

I was just going to post that you seem to need some env. variables, as they say here.

EDIT: we should probably use this one too (copy the file from maemo first)
Code:
export TSLIB_CALIBFILE=/etc/pointercal
I also copied pressure.so from maemo's /usr/lib/ts/plugins to Debian's /usr/lib/ts and then loaded it in the /etc/ts.conf like maemo does.

ts_test reports success, I will try with mtpaint in Icewm now...

EDIT2: Abiword tap-and-hold right-click works, tablet pressure in mtpaint doesn't. I gotta fiddle with the tslib drivers some more I guess...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-07-21 at 01:48.
 
Reply

Tags
chroot, debian, easy debian


 
Forum Jump


All times are GMT. The time now is 19:18.