New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ripin150
Old
(Last edited by ripin150; 1st January 2012 at 01:40 AM.) Reason: Grammar Nazi
#1  
ripin150's Avatar
Senior Member - OP
Thanks Meter 55
Posts: 146
Join Date: May 2011
Location: Abilene, TX
Thumbs up [TUTORIAL] XFCE4 on Webtop -Straight, Simple Guide for Noobs like Me

Hey Everyone, Good News- I finally figured out how to get XFCE on webtop, and take off Awn Dock. (Er, disable it.) I realize that its been done before and that there is a guide, but the guide I found ( http://forum.xda-developers.com/show....php?t=1054213 ) seems to be kind of outdated, and a little unclear. So this is an attempt to help people take their webtop to a whole new level.

To be clear, this is all the work of others, I take no credit, I urge you to hit the thanks button on all the threads I link to. These guys work their butts off. This is simply a guide making it dead simple to do something I know a lot of people want, but isnt exactly super clear.
Lets begin.

Remember, guys, it helps if your Rom actually has Webtop. No CM7, no MIUI, No AOSP. Some of the Blur Roms also don't have webtop, but that can be solved by flashing it through these links:

For 2.3.4 Roms http://www.multiupload.com/H4UW3JTL22

For 2.3.5 Roms http://www.multiupload.com/R39VKRPJU5

For 2.3.6 Roms http://www.multiupload.com/3PD53CQRZA

(These are all Fruit Cakes, found here. Go give Sam some love, hit the Thanks button.)

Step 0

Do a Nandroid Backup. Please.

STEP 1

Ok, so first off, youre going to need to run webtop2sd, which can be found here. Run that, follow instructions, and try not to destroy your SD card. (Not that I did. Not that I destroyed 3 of them. No way.) That should take a bit, so be patient. Remember to say thanks to Sogarth, the Webtop Champion.

STEP 2

After that's over and done with, go ahead and start up Webtop, either through a Lapdock or Webtop Hack, it doesn't really matter. I will say that this is kinda pointless to do if you don't have a lapdock, but whatever!

After webtop is started, start the Webtop Configorator (Has the same icon as the Webtop2sd apk). Its going to pop up with some questions, click yes on both of them. Don't panic when it seems like the program freezes, its not frozen, it just takes an unsettlingly long time. Thatll finish up, then will present you with a menu, offering to install LXTerminal, and Synaptic Package Manager. Install both of them, by clicking install. When they finish, close the configorator. Now, this part is weird, open the configorator back up, and make sure that both programs are really installed, by clicking install again, just for good measure. For some reason, Synaptic would say it installed, then not really be installed. So yeah, up to you.

STEP 3

Alright, almost done, but then, not really. As of now, you have all the tools to get XFCE (Or whatever environment you choose, I recommend XFCE4). But right now, dependencies and packages are really really effed up, and its borderline impossible to install anything fun.

So to fix this, go to this thread here. This is a guide to for fixing apt-get dependencies. Show some love to Arvati, hit the thanks button, the guide is really simple, easy to do, and the installer is fully automatic. I recommend following his guide, then coming back here for the rest.

Helpful hint, to save you some thread searching, in the installer, type Yes on all the questions.

STEP 4

Home Stretch! At this point, you're ready to run Synaptic. In LXTerminal, type
Code:
gksu synaptic
We're going to install a couple things here. Well, actually a lot of things, but we're only going to click two things, and the rest will fetch themselves. In the search bar, type in xfce4 (or whatever desktop environment you like). It should be the top of the list, named "xfce4". Click the white box, and hit Mark for Installation. Click Yeah, you want to install the other stuff that comes with it.
After that, search for gedit. (For non linux familiar people, gedit is the linux equivalent of notepad. Its also got some color coding, so you could compare it to Notepad++.) Mark that for installation too, and you're set. Click apply at the top, and wait for that to install.

STEP 5

This final portion follows this guide. Go show your thanks to YellowGTO.

Once that finishes, go back into LXTerminal. Type in
Code:
cd /osh/usr/local/bin/
And after that, type
Code:
sudo gedit start-oshwt-2.sh
Gedit is going to open. Scroll down to where it has some lines that say

Code:
sfalv -i "awm-autostart"
sfalv -i "webtop-wallpaper"
These have to do with the current Window manager. We're not deleting them or removing them, just making them not start when Webtop does.

Put hashes (#) in front of them, so they now look like

Code:
#sfalv -i "awm-autostart"
#sfalv -i "webtop-wallpaper"
After that, add a line at the bottom of the chunk that says

Code:
sfalv -i "startxfce4"
Save and exit.

STEP 6

Go back into LXTerminal and type in
Code:
Startx
. This SHOULD finish it up by restarting webtop, but if it doesnt, pull the phone out and reboot it.

And you're done. This has essentially turned your phone and lapdock into an extremely handy netbook. You can install programs through Synaptic or apt-get. From here, you can play around. I recommend doing another Nandroid backup so that you don't accidentally restore to the one without your fancy new webtop.
Past:
Samsung Eternity
LG Neon
Samsung Eternity
Motorola Bravo
Motorola Atrix 4G
Motorola Flipside
Nokia Lumia 900
Motorola Atrix HD

Current:
LG Optimus G
Rooted+Unlocked
The Following 21 Users Say Thank You to ripin150 For This Useful Post: [ Click to Expand ]
 
Jack'O
Old
#2  
Senior Member
Thanks Meter 360
Posts: 1,170
Join Date: Aug 2011
Location: Toscana
Thanks a lot man.
Is it the same for lxde? I would like to try both on webtop.

Sent from my MB860 using Tapatalk
The Following 2 Users Say Thank You to Jack'O For This Useful Post: [ Click to Expand ]
 
ripin150
Old
#3  
ripin150's Avatar
Senior Member - OP
Thanks Meter 55
Posts: 146
Join Date: May 2011
Location: Abilene, TX
Quote:
Originally Posted by Jack'O View Post
Thanks a lot man.
Is it the same for lxde? I would like to try both on webtop.

Sent from my MB860 using Tapatalk
Yes, im theory it should work, just type startlxde instead of startxfce. Post results on performance and usability, id like to know if theres anything that works better than xfce for this.
Past:
Samsung Eternity
LG Neon
Samsung Eternity
Motorola Bravo
Motorola Atrix 4G
Motorola Flipside
Nokia Lumia 900
Motorola Atrix HD

Current:
LG Optimus G
Rooted+Unlocked
The Following User Says Thank You to ripin150 For This Useful Post: [ Click to Expand ]
 
teeth_03
Old
#4  
Senior Member
Thanks Meter 26
Posts: 141
Join Date: Dec 2011
are your tzdata or samba-common packages broken by any chance?

I had both broken doing the standard wedtop2sd install method (stock ROM), was able to work around tzdata but not samba-common
 
ripin150
Old
#5  
ripin150's Avatar
Senior Member - OP
Thanks Meter 55
Posts: 146
Join Date: May 2011
Location: Abilene, TX
Quote:
Originally Posted by teeth_03 View Post
are your tzdata or samba-common packages broken by any chance?

I had both broken doing the standard wedtop2sd install method (stock ROM), was able to work around tzdata but not samba-common
Ahh I have no idea, it should've been fixed in the dependency fix script. When do you encounter this error?
Past:
Samsung Eternity
LG Neon
Samsung Eternity
Motorola Bravo
Motorola Atrix 4G
Motorola Flipside
Nokia Lumia 900
Motorola Atrix HD

Current:
LG Optimus G
Rooted+Unlocked
 
ar31791
Old
#6  
Senior Member
Thanks Meter 55
Posts: 200
Join Date: Dec 2011

 
DONATE TO ME
http://forum.xda-developers.com/show....php?t=1397583
 
teeth_03
Old
#7  
Senior Member
Thanks Meter 26
Posts: 141
Join Date: Dec 2011
tzdata would give an error when trying to install most packages from synaptic (openoffice.org is one I'm pretty sure), and samba-common throws an error when trying to install it, if you are trying to install a package to access file shares for example. But you can just try to install samba-common itself and it still doesn't install correctly.
 
Rayan
Old
#8  
Rayan's Avatar
Senior Member
Thanks Meter 116
Posts: 1,393
Join Date: Feb 2004
Location: Baja
Default Gnome also works!

After many hours of trial and error while following many of the tutorials, I managed to make gnome work to my liking on my webtop. I can even change themes as you can see on the screen captures.

I followed this tutorial made by aaron.a

I renamed the default gtk-2.0 Webtop theme to gtk-2.0-bak which is located on /osh/usr/share/themes/webtop-theme

I then edited the start-oshwt-1.sh file as follows:

# start OSHWT 1 scripts
update-font.sh
sfalv -w "webdaemon -d -n"
gnome-settings-daemon
# sfalv -i "xscreensaver"
sfalv -i "aiw -d"
sfalv -i "docking_manager"
fcitx



I edited the start-oshwt-2.sh file as follows:


# start OSHWT 2 scripts
# sfalv -i "awn-autostart"
# sfalv -i "webtop-panel"
# sfalv -i "webtop-wallpaper"
sfalv -i "gnome-panel"
sfalv -i "evbridge"
sfalv -i "window_switcher"
sr-test avahi_start &
Attached Thumbnails
Click image for larger version

Name:	Gnome1.jpg
Views:	491
Size:	36.3 KB
ID:	881764   Click image for larger version

Name:	Gnome2.jpg
Views:	479
Size:	25.8 KB
ID:	881765   Click image for larger version

Name:	Gnome3.jpg
Views:	449
Size:	41.3 KB
ID:	881766   Click image for larger version

Name:	Gnome4.jpg
Views:	477
Size:	45.8 KB
ID:	881767  
Twitter: @RayanMX
My Current Devices: Samsung Galaxy Note (International Version), Nokia Lumia 900, (backup), Motorola Atrix 4G (GB 2.3.4)*sold*, Motorola Lapdock *sold*, Asus Transformer Tablet, Nexus One Google Phone (retired), Viewsonic G Tablet (retired), Nokia N97 40 Gb *sold*, Nokia 5530 *gave it away*, HTC Touch*died*, HTC Touch Diamond GSM*sold*, Palm Pre GSM*sold*
The Following 2 Users Say Thank You to Rayan For This Useful Post: [ Click to Expand ]
 
cpuchip
Old
#9  
Junior Member
Thanks Meter 5
Posts: 28
Join Date: Dec 2010
What's the difference between
sfalv -i "startxfce4"
and
sfalv -i "xfce4-session"

I've been using the latter, but the former makes more sense to me. Though I've not been into doing this for very long.
Current: Motorola Atrix 4G (Stock rom/Webtop2sd/xfce4) / Lapdock
retired: Motorola Krzr, Razr V9 (broke), Q 9h (worn out), HTC Fuze (too slow, WM6.5 energy rom)
 
ripin150
Old
#10  
ripin150's Avatar
Senior Member - OP
Thanks Meter 55
Posts: 146
Join Date: May 2011
Location: Abilene, TX
Quote:
Originally Posted by cpuchip View Post
What's the difference between
sfalv -i "startxfce4"
and
sfalv -i "xfce4-session"

I've been using the latter, but the former makes more sense to me. Though I've not been into doing this for very long.
I have no idea, thats probably something with XFCE itself.
Past:
Samsung Eternity
LG Neon
Samsung Eternity
Motorola Bravo
Motorola Atrix 4G
Motorola Flipside
Nokia Lumia 900
Motorola Atrix HD

Current:
LG Optimus G
Rooted+Unlocked

The Following User Says Thank You to ripin150 For This Useful Post: [ Click to Expand ]
Tags
atrix, lapdock, ubuntu, webtop, xfce4