yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] sporrer:
I'm Linux newB.

I have installed the debian on 2.3.4.

works great... (tried the eye and viewer etc...)

But I like to have a desktop/GUI (like windows), what do I have to do for that?

i tried apt-get update but then it says i have to run "sudo dpkg --configure -a"

but this command brings me an error:

"sudo: can't stat /etc/suoders: No such file directory

sudo: no valid suoders sources found, quitting"

EDIT: I run the command without sudo and it works

CAN SOMEONE HELP ME ON THAT???

I also installed the Graphical desktop environment in Package configuration, but how to start this???

what did i wrong?

EDIT: I startet it with /usr/bin/gnome-session --> is this the right way?
[Atrix 4G Android Development] nsourm:
Try to reinstall the zip file. It give you some error? You should get a bar with three new icons: leafpad, lxterminal, tux

No i don't have any error while installing.I've done it many times with no success.By the way where the new bar should appear?
[Atrix 4G Android Development] krkeegan:
Quick question, what are your concerns with running a desktop environment through chroot?
[Atrix 4G Android Development] MattHouston:
WOW!

You are a genius!

Thanks so much for your patience and advice.

Now, I'm on a roll! Installed gimp and now wanting more! Is there a list of packages that you recommend (that won't conflict)?

Thanks again.
[Atrix 4G Android Development] rredlin:
This is a well know mtab bug. A simple fix is run in lxterminal (webtop root):

sudo rm /etc/mtab~

DON'T FORGET ~ !

Awesome, worked fine!

thanks
[Atrix 4G Android Development] SystemR89:
Please read carefully instruction on first post. Do not confuse lxterminal that give a terminal for webtop enviroment and penguin icon that open debian enviroment.

As I said before isn't a good idea start a full desktop (like xfce, gnome, kde, ecc) over a chroot enviroment, however if can't live without it start it at least exporting the right home:

HOME=/root gnome-session

Sorry I explained you badly. These three new icons should appear on the preexistent dock at bottom of the screen.

Maybe you installed webtop2sd before?

Gnome, KDE, Xfce, LXDE, ecc...

This doesn't mean that you can't run it, but that it is not a great idea.

1) All programs running chroot load a "copy" of libraries because they can't use webtop system library -> Big memory usage

2) chroot enviroment is not system enviroment; Gnome, KDE, ecc expecting to access/use some hardware that my be not accessible or it's already managed by webtop -> Somethings can't works fine
[Atrix 4G Android Development] MattHouston:
FireFox

Hello there,

This newbie is now almost fully up and running thanks to kind support from members here.

My only problem is that I'm not able to use the original Firefox web browser on the Webtop. I've downloaded Iceweasel but can't watch Adobe Flash i.e. Youtube. Can anyone suggest how?

Thanks again in advance.
[Atrix 4G Android Development] pederb:
Known problem, I'm lucky and webtop Firefox is working too
[Atrix 4G Android Development] rredlin:
do you think there will be a fix for the Firefox? i have 2.3.4 and the latest webtopmod, but the fox fire doesn't work. i really liked the fact that it was 4.
[Atrix 4G Android Development] joe ferreira:
were you using the tethering hack prior to 2.3.4?

if you don't pay for tethering then that is why your firefox doesn't work yet.

tethering hack is being worked on here

http://xdaforums.com/showthread.php?t=1160452
[Atrix 4G Android Development] rredlin:
i already have the tethering working, it works when i remove the webtopmod. and works with the webtopmod when i use iceweasel. when i install the webtopmod, the firefox will not even open, if only to tell me theres no connection, and i am currently on wifi,

so just so i am clear in my issue, firefox will not open when i have the webtopmod installed.

once i install it again i lost the firefox from opening.

if i install the joe zip, i lost the link to the webtopmod, but the firefox works again.

this all worked before the 2.3.4 install

thanks
[Atrix 4G Android Development] pederb:
Should I type this every time I open Gnome or just once?

Cheers
[Atrix 4G Android Development] Viamonte:
Many ppl have talked about using VLC, but ive never managed any kind of useable performance on video. Anyone did?
[Atrix 4G Android Development] Zeab:
I am in the same boat as you. Teathering on the webtop worked before webtopmod but breaks after. I can't even use the wifi network for my connections on the webtop after the mod.
[Atrix 4G Android Development] SystemR89:
This is a bug reported by some users, unfortunately I can't reproduce it and I've not idea about it's origin.

I can confirm that with combination 1.83+gingerblur everything works fine.

I'am afraid, I'm looking for a fix.

Every time. Alternatively you can make a little script to launch gnome.

VLC is not usable yet. Tegra uses OpenGL ES instead of OpenGL
[Atrix 4G Android Development] pederb:
How do I make script for it?

Cheers
[Atrix 4G Android Development] HoSlayer:
Does this work on ken's beta 4.5 with Joe-webtop? From what I've read it has broken Firefox
[Atrix 4G Android Development] sservati:
What about mplayer? I think it uses framebuffer directly and it shows any video file?
[Atrix 4G Android Development] makr8100:
I'm sticking with the safe route for now - 1.8.3 + Gingerblur 4.5 so Firefox works fine for me.... I wonder how well QuakeLive would run, since the plugin is v3.6 compatible.... haha I doubt it. Anyways, I skipped installing VLC cuz I'm not willing to put in the 374MB of dependencies it wanted, but did get dragon player as part of KDE - I know, not willing to waste space on VLC but I installed KDE, I don't wanna hear it :P Anyways, dragon player worked ok but was choppy, and the video tested didn't have sound so I can't confirm either way on that. You might try Seaman Player from the Android Market, then rotate the phone window and full screen it. This seems to work well unless the resolution is high. Of course there's always the original media center app, which works great if the video uses the right codec. Once there's a more proper release to run on top of Gingerbread I'll update everything, assuming Gingerblur is updated to run on Gingerbread also. That would be.... Gingerblurbread I think? :D

Attempted answers to specific questions:

pederb - script for what?

HoSlayer - It should work, but would probably be better to stick with 1 mod only. It would use far more system resources and double-up the tasks.

sservati - I haven't tested mplayer, but dragon player uses xine backend on my system and it didn't perform well either. I would think gstreamer would be the best backend to use because it has the lowest system resource requirements, but also it has the worst looking/sounding codecs imo. iirc when I used mplayer I had xine as a backend so idk how mplayer's built-in stuff would work.
[Atrix 4G Android Development] 9100_it:
firefox browser dont start! :(

someone idea!?

system ver. 4.5.91

Android Ver. 2.3.4

webtop ver. WT-1.2.0-110

Kernel 2.6.32.9-00001

Build N. 4.5.91
[Atrix 4G Android Development] mzach:
Failing to mount Debian image

Hi,

maybe someone had the same problem: my linuxdisk image is found, but I get an error that it can't be mounted because of a damaged fs. e2fsck also didn't work in the file.

I tried to copy it to my sdcard-ext (32gb microSD type6) multiple times, using usb cable as well as microSD->SD adapter, but get the error all the time when running /osh/usr/sbin/linux

Does anyone have the md5sum for the provided 7z file? Tried re-dl'ing it, but no luck so far.

Tried to re-install easy-signed a couple of times, only works if its on /sdcard, if I put it on /sdcard-ext it fails (if that's some help to you).

After re-installing easy-signed (2.6), my WebTopMOD folder is gone (removed & file is in LOST.DIR ....)

Thanks in advance.

EDIT: tried to wipe dalvik cache, but same result. Error is:

Device exist

mount: wrong fs type, bad option, bad superblock on /dev/block/loop50,

missing codepage or helper program, or other error

In some cases useful info is found in syslog - try dmesg | tail or so

But there is no suitable output from dmesg
[Atrix 4G Android Development] 9100_it:
try after inatallation wipe dalvik cache

in my webtop the server repo don't work good 10.77.32.150

How to Uninstall?
[Atrix 4G Android Development] pederb:
A script to start Gnome

Cheers
[Atrix 4G Android Development] Viamonte:
What kind of right codecs? Ive tried the handbreak comversion method and it didnt work.
[Atrix 4G Android Development] DEALDany:
There's a quick fix for that, open a LXTerminal from dock bar then:

##Backup the file if something goes wrong

sudo cp /osh/etc/tomoyo/domain_policy.conf /osh/etc/tomoyo/domain_policy.conf.bkp

##Open the file with vi

sudo vi /osh/etc/tomoyo/domain_policy.conf

##Then you gonna replace "firefox-3.6.16" with "firefox-4.0.1" within all the file

:%s/firefox-3.6.16/firefox-4.0.1/g

##Now save and exit

:wq!

Restart your phone and you're done!

Thanks to SystemR89 and his ppl for this great MOD. :D
[Atrix 4G Android Development] 9100_it:
man i love you!!!!!!!!!!

firefox work!!!!!!!!!!!!!!!
[Atrix 4G Android Development] joe ferreira:
your in webtop not in the debian chroot.
[Atrix 4G Android Development] makr8100:
pederb - You'll need to configure X to start gnome as the default WM. Gnome actually runs on its own display manager, so that makes it even more tricky, but still possible. Remember it's been advised that this is a bad idea, but that being said, here's the link on window manager info for Debian: http://wiki.debian.org/WindowManager

viamonte - The Motorola media center plays files meant for mobile devices, mainly .3gp and .mp4 files. I wish there was a way to install DivX for Motorola's media center.... don't we all :( Basically short of re-encoding the videos you won't get any different file types to play.

9100_it - Open terminal using the penguin icon instead of the terminal icon. The terminal icon is the Motorola webtop terminal, and the penguin is the actual Debian Linux terminal.
[Atrix 4G Android Development] 9100_it:
ok perfect i have install it!

gimp work!

how to have gimp icon in the bar?
[Atrix 4G Android Development] doot4runner:
To get icons in the dock, follow the intructions here:

http://xdaforums.com/showpost.php?p=15248235&postcount=545
[Atrix 4G Android Development] rredlin:
Then you can add a shortcut to open office by adding a short cut to:

chroot /osh/opt/WebTopMOD/root /usr/share/bin/ooffice

Or whatever it is, sorry I don't have open office so I am pretty sure the path I put in there above is wrong, maybe someone else can help you with that.

this didnt work, does anyone know the correct desktop code for open office?

or how about running ldxe from an icon instead of opening trem and scrolling to the bash then typing startldxe

thanks

do you think this would work?

[Desktop Entry]

Encoding=UTF-8

# The names/descriptions should really be better

Name=LXDE Session

Comment=Use this session to run LXDE as your desktop environment

Exec=startlxde

Icon=

Type=Application
[Atrix 4G Android Development] 9100_it:
in webtop LxTerminal:

root@localhost:/data/home/adas# /osh/usr/bin/awn-manager

(process:32616): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Traceback (most recent call last):
File "/osh/usr/bin/awn-manager", line 49, in <module>
from awnPreferences import awnPreferences
File "/usr/share/avant-window-navigator/awn-manager/awnPreferences.py", line 40, in <module>
defs.i18nize(globals())
File "/usr/share/avant-window-navigator/awn-manager/awnDefs.py", line 91, in i18nize
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python2.6/locale.py", line 513, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
root@localhost:/data/home/adas#
[Atrix 4G Android Development] doot4runner:
Try running this as the adas user rather than root.
[Atrix 4G Android Development] doot4runner:
Here is what I typed in the shortcut field to get open office on the dock:

sudo chroot /osh/opt/WebTopMOD/root /usr/bin/ooffice

This is assuming you did not move your copy of open office after you installed it.
[Atrix 4G Android Development] 9100_it:
adas@localhost:

same message!!!! :(
[Atrix 4G Android Development] EclipseX:
unreal tournament and quake 3

muhahahhaha :D

5*
[Atrix 4G Android Development] doot4runner:
You may need to change your locale. A quick google search turned this up:

http://community.activestate.com/fo...or-gtk-warning-locale-not-supported-c-library
[Atrix 4G Android Development] makr8100:
I thought about trying quake live since it's a firefox plugin anyways, could theoretically run on stock webtop.... But does it perform worth playing on? Btw I prefer nexuiz & xonotic anyways, it's like someone combined quake & ut!
[Atrix 4G Android Development] -Mythic-:
This entire thread makes me extremely tempted to buy a Lapdock, but they're so damn expensive -.-

Just wondering, could you get Minecraft running by doing this hack? Incredible work on everything by the way.
[Atrix 4G Android Development] n3man:
Hey guys,

firstly, thanks for the amazing work on this mod! Just a quick q... i am pretty sure i have successfully installed Open Office using Xterm, but i cannot seem to run it. I enter:

sudo chroot /osh/opt/WebTopMOD/root /usr/bin/ooffice

and all I get is an error saying that it cannot find the directory. Is there anyway I can check where it has installed? Sorry if this is a dumb q, i am a debian newbie!
[Atrix 4G Android Development] 9100_it:
for run it, after installation is simple!

go in Terminal, write:

ooffice

for other application write in terminal the name of application!

the command: sudo chroot /osh/opt/WebTopMOD/root /usr/bin/ooffice is to have the shortcut icon for quickly start!
[Atrix 4G Android Development] pederb:
I bought mine for $199 from AT&T, now they are even cheaper
[Atrix 4G Android Development] makr8100:
Install gingerblur and you can run it off the hdmi cable only, although I'd at least recommend a bluetooth keyboard, assuming you have a tv or monitor to hook it up to. The media dock is cheaper than the lapdock too, but also requires a monitor, and will accept a usb keyboard & mouse. I got the bluetooth keyboard & mouse and the media dock only to realize that both weren't necessary lol. For open office you can also run oowriter oocalc etc.
[Atrix 4G Android Development] SystemR89:
This can work only if you have at least one xterm opened (click on penguin icon to open one session). Without any session opened Debian root is not mounted so /usr/bin/ooffice virtually doesn't exist.

I'm working on the next update:

- support for ext2/3/4 partition (avoid 4gb limit)

- audio playback

- webtop firefox fix

I'm also setting up a github repository!
[Atrix 4G Android Development] 9100_it:
my debian application list on webtop:

-open office suite

-gimp

-sylpheed (mail)

-ksnapshot

all work.

vlc not work...alternative?
[Atrix 4G Android Development] vishnugs:
Hey I am a debian newbie and struck with creating shortcuts.

I am able to click Penguin and then open a Bash shell and then type /usr/bin/ooffice and launch the application. But

sudo chroot /osh/opt/WebTopMOD/root /usr/bin/ooffice throws an error as /osh is not available.

I thought may be I should run it from LXTerminal, here /osh/... exists, but /usr/bin/office does not exist.

I tried one more thing from LXTerminal

sudo chroot /osh/opt/WebTopMOD/root /osh/opt/WebTopMOD/root/usr/bin/ooffice

this opens the application, but does not create shortcut.

Any inputs would be appreciated.
[Atrix 4G Android Development] 9100_it:
try in LXTerminal but with a bash shell Pinguin opened back!
[Atrix 4G Android Development] logichoops:
hey..

tried all iterations of the commands but cant seem to get a shortcut added to the tool bar.

also how do i install google chrome? cant seem to get it to work

what are some other good apps to add to the environment?
[Atrix 4G Android Development] 9100_it:
i have try:

-open office suite

-gimp

-sylpheed (mail)

-ksnapshot

-xchat

chrome i haven't try but the command i think is:

sudo apt-get install chromium-browser

but i dont say is is in the repo!
[Atrix 4G Android Development] logichoops:
Thanks 9100_it, got chrome installed but pages wont display only show for a second.

Will have a look at the other apps you mention.

What I really want is an idiots guide to get shortcuts on the app bar, can get it working
[Atrix 4G Android Development] !SINGH!:
Hi...

I tried above, got the backup done... but wasnt able to make any changes to the file in vi

Any help?

thanks
[Atrix 4G Android Development] 9100_it:
don' warry, reboot your device, restart webtop, not open firefox!, write the 3 command with the keyboard!
[Atrix 4G Android Development] DEALDany:
Don't forget the sudo before the vi to gain superuser permission.

Good luck!
[Atrix 4G Android Development] joeavery2:
Ok I got a interesting problem, I install webtop-joe.zip over cherryblur 1.4d (orfr-4.5.2a) Boot and check everything out, it all works fine. Few tweaks like webtop hack for tethering, Check it out a reboot or two and it still all works fine. Then run 0.2.6 and Everything seems fine except firefox wont start. Click it and it glows then nothing. Open lxterminal (black one on webtop) and type firefox or firefox %u (same command awn-manager is using and I get permission denied. I don't know where or what to look at to check. The firefox file at /usr/bin/ is rwxrwxrwx so it should run. It is owned by root though, could that be the issue?

Also Tried $sudo firefox and get "unsuccessfully dropped privileges"
[Atrix 4G Android Development] bb12489:
I'm actually having this same issue....
[Atrix 4G Android Development] trvstw:
Just had to break the devilish reply count...
[Atrix 4G Android Development] joeavery2:
I love your SIG!

Ok so I disabled tomoyo from lxterminal in webtop via:

sudo mv /sbin/tomoyo-init /sbin/tomoyo-init.bak

restart

After reboot firefox opens. So the new tomoyo is blocking firefox from opening.

Also With this mod We can upgrade firefox to 4.0.

I don't know how to edit tomoyo to allow firefox to start, I'll poke around but if anyone knows please give me an example.

#### EDIT####

Ok I feel dumb...

It turns out that the new version of firefox is installed already (webtop-joe.zip) so when we install easysign0.2.6 it updates tomoyo with the old version, hence allowing the old version of firefox and blocking the new.

The link I attached http://xdaforums.com/showpost.php?p=15655759&postcount=636 Is what you need to do to fix tomoyo. Hence the solution was in my original post!

What does this mean, you don't need to do the upgrade of firefox, just the fix of tomoyo. Use vi as instructed and it should be easy.

###/EDIT###
[Atrix 4G Android Development] joeavery2:
Another new issue that just came up.

In the top right corner I would normally have some items. The battery, wifi and or carrier signal meters and a settings gear, They are missing!

Just to see if it was tomoyo again I disabled it, power cycled and it is still missing.

Anyone have this, or better yet, solve this?

***Edit***

I've now re-installed webtop-joe.zip and still the same.

> Swapped in orig SystemUI.apk, thinking that maybe the power icons were related, did not fix.

I know the settings for webtop are in the /data part, but I don't know what is responsible for the power and status icons in the top right.
[Atrix 4G Android Development] bb12489:
the fix posted above for the firefox worked for me! Thanks a bunch. I would also like to know if anyone is looking into the chrome browser issue of not displaying web pages.

Also I may have missed it throughout the thread, but is there a way to pin apps like open office and such to the dock?

thnx for all you help guys!
[Atrix 4G Android Development] pederb:
LXTerm does not allow me to edit?
[Atrix 4G Android Development] joeavery2:
What do you mean? You are going to use vi to edit. vi acts/looks goofy when you use it to edit but if you simply type exactly what is there it should work. don't type the lines that start with "##" Just the commands.

Example: After you type

sudo vi /osh/etc/tomoyo/domain_policy.conf

you get a jumbled mess on the screen. Just type the next line

:%s/firefox-3.6.16/firefox-4.0.1/g

hit returen key and then the one after that

:wq!

and return key.

That is vi editing. It is a short hand method because the domain_policy.conf is very long file and has a lot of instances of firefox-3.6.16 that would have to be done manually, so be happy someone knows vi! (not me... I can't stand it)
[Atrix 4G Android Development] d11dog11:
Thanks for the dumbed down explanation, as a non linux guy i was lost on how to put that command into vi.

*edit* haha, just noticed my web signiture is a little out of date. Usually use the app.

*edit2* I can now confirm that this fixed my firefox. Thanks again
[Atrix 4G Android Development] d11dog11:
im stuck like a few other posters. The command to make the shortcut to ooffice give a command not found error. Also, anyone make any headway on the chrome crash issue?
[Atrix 4G Android Development] joeavery2:
Chrome, I tried, it still starts fine but once the page loads it goes to the Aw, Snap page saying something failed. I tried about:plugins to see if it was and internal or external error, but that also failed, suggesting to me that it is a internal issue. I think that it is a build error with chrome on arm, This is a mostly untested area of all linux distros (ubuntu, debian, chromeOS, gentoo) and will take some time to work out bugs.

Short cuts: Takes a little poking around to figure out but this post sums it up.

Webtop uses a lot of bind or softlinks so you'll find that /usr/bin and /bin both get you to the same place.

Basically you need to use AWN-manager

in LXterminal type:

asas@localhost$awn-manager

, make a new shortcut, Then figure out what triggers yoru new app to start. For me it was grdesktop I installed and wanted a short cut to (graphical engine for rdesktop). When it was installed via synaptic it is installed at the WebTopMOD root/usr/bin hence from inside the chroot of debian the executable is (via xterm with the white background) /usr/bin/grdesktop .

Now to execute from webtop open LxTerminal and do, pay attention to adas@localhost vs. root@localhost

adas@localhost$sudo chroot /osh/opt/WebTopMOD/root

This has moved your root directory to the webtop one.

It will be used for any application we are going to launch that is in the debian environment.

Then type

root@localhost#/usr/bin/grdesktop

and for me the graphical rdesktop window opens. You can test this with any app you've installed, in linux most will install to /usr/bin/

Now your awn-manager the command will be

sudo chroot /osh/opt/WebtopMOD/root /usr/bin/grdesktop

Hopefully this makes more sense and not less.
[Atrix 4G Android Development] aaron.a:
this is ****ing awesome. i saw the videos of webtop on youtube and got really excited about this exact thing. can't wait to try pushing this thing over the edge with inkscape and gimp and open office =D
[Atrix 4G Android Development] pederb:
Worked great, thxs
[Atrix 4G Android Development] primeboss:
How do you find out how much space you have left on your linux disk?

Also i have open office and gimp working perfectly, what are some other useful applications, any game emulators?
[Atrix 4G Android Development] primeboss:
I installed mednafen, but how do i run it since it does not show up in applications in xterm. I tried running "mednafen" in the Bash in Xterm but it did not work?
[Atrix 4G Android Development] pederb:
Hi SystemR89,

Any update on your progress?

Cheers