Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I'm running Raspbian “wheezy”, a Debian based Linux distribution for the Raspberry Pi and I would like to know where I can change the desktop environment that boots with the OS. In particular, how can I replace LXDE with an custom QT or Java program?

Could you please point me in the right direction?

Thank you.

share|improve this question
Have you tried using standard Debian tools? As far as I know they should work, the only problem I can think of is I'm almost sure there will be missing packages compared to i386/x86_64. – tripledes Aug 9 '12 at 14:24
First thing I'd try is placing a .xinitrc file in the default user's home... – sr_ Aug 9 '12 at 14:32
I have been looking at their documents/forums and as @sr_ suggested they use .xinitrc (located at your home) to exec lxde, so it's just a matter of replacing the line where lxde loads and add your custom program. – tripledes Aug 9 '12 at 14:49
i've found also some info pointing me to .xinitrc but i fail to find that file, tryed on Raspbian “wheezy” and on Ubuntu 12.04 and there is no file with that name – Eduardo Oliveira Aug 9 '12 at 17:17
Can you run which startx? – Alex Chamberlain Aug 12 '12 at 19:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.