Forum
xfce on XBian - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: xfce on XBian (/thread-567.html)



xfce on XBian - evilgrin - 4th Mar, 2013 12:11 AM

Hey guys,

i'm wondering on how to use xfce on my Pi. Why xfce? because i read, that there some issues on using LXDE as a desktop-environment while having xbmc installed (raspbian).

I'm using the 2nd rev. of the raspberry model b with the XBian Alpha 5.

i've installed xorg and xfce4 packages. but how to go on?


my goal is:
booting the pi to the desktop (to surf the web, search youtube etc. ) and start xbmc by clicking the icon.

if there is any other possibility to get a working webbrowser as a plug-in or something else, please let me know ;-)

hope you guys might help


p.s.: sorry for my bad english Wink


RE: xfce on XBian - Koenkk - 4th Mar, 2013 12:16 AM

You should be able to start XFCE (after installing) with the command
Code:
startxfce4

or

Code:
startx

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=19124


RE: xfce on XBian - evilgrin - 4th Mar, 2013 12:59 AM

yeah, starting it isn't the problem via terminal. but i want the system to boot into xfce and create a desktop icon for xbmc.

because now the system boots into xbmc.

is that right:

For startx add in file ~/.xinitrc:

Terminal
exec ck-launch-session startxfce4

so i did the following:
Terminal

cd ~
touch .xinitrc
nano .xinitrc
and there i c&p "exec ck-launch-session startxfce4"

i'll try a restart after checking my movies-library... ;-)[/term]

but how do i create a desktop-icon for xbmc? i even can't find it in the applications finder....


RE: xfce on XBian - Koenkk - 4th Mar, 2013 01:43 AM

the init system auto start xbmc, to disable the xbmc startup do
Code:
sudo update-rc.d xbmc remove

I'm going to check the icon thing for you


RE: xfce on XBian - rikardo1979 - 4th Mar, 2013 02:11 AM

moved this thread as it is WIP on desktop environment and not an additional package for XBian/XBMC


RE: xfce on XBian - evilgrin - 4th Mar, 2013 02:59 AM

ok, i've done the following:

Terminal
sudo update-rc.d xbmc remove
Terminal
cd ~
nano .xinitrc
Terminal
exec startxfce4
Terminal
nano .bashrc
Terminal
if [ "$(tty)" = "/dev/tty1" -o "$(tty)" = "/dev/vc/1" ] ; then
startxfce4
fi

i'll try what happens now ;-)


RE: xfce on XBian - Koenkk - 4th Mar, 2013 04:24 AM

For the desktop icon, can you try the following?

Code:
sudo su
mkdir /usr/local/share/xsessions/
cd /usr/local/share/xsessions/
wget https://raw.github.com/xbianonpi/xbmc-nightly/121934c340ec8e62e7c7dcf5c6bf17971ab3bc27/usr/local/share/xsessions/XBMC.desktop