[Q] Guide to Installing Linux Applications in Webtop - Atrix 4G Q&A, Help & Troubleshooting

I have searched a number of ways for a definitive set of steps to install Linux applications, fix apt-get dependencies, and create icons for those newly installed applications in Webtop on my Atrix 4G. I have installed Debian Linux and Xterm on my Webtop, and have successfully used the VI commands to unhook the new 4.0.1 version of Firefox, but my success ends here.
What I have found in my searching is piecemeal, version specific, or so highly specialized that a Linux noob like me has no chance of pulling together a successful install. I would like to install Gimp, OpenOffice, and maybe even a desktop application (like Gnome), and am having an appreciable amount of difficulty closing the circle.
I would be happy to buy a cup of coffee for someone who can put together a sequential list of steps (preferably with the actual Linux commands) that can be adapted to accomplish this. Thank you!
Sent from my Atrix 4G running Homebase 5.2 with Fauxs enhanced stock Kernel

I'm definately no Linux Guru, but This is what I did to install openoffice on my webtop. (assuming you followed the steps to fix the repo listed in the Webtop2SD post)
sudo apt-get install openoffice.org
and that was it....now running it nearly every day with no problems, good luck.

I installed Synaptic. It's a package manager. Just select the package you want to install and it does it.
http://forum.xda-developers.com/showthread.php?t=1279724&highlight=synaptic
If the Synaptic install errors, it should suggest what to run to fix it.

use backports
Use pdmenu (the penguin) to open a shell, bash will do nicely and type "apt-get install synaptic" as suggested by robrj. Then do a search for backports and libreoffice. That should help you get started. Remember, this is just Debian squeeze and the Debian support groups have the answers you need until you jump back into android or webtop mods.

Related

[Q] Very specific Webtop2sd Question - LXterminal Crashes

I recently bought a lapdock, and I've been fighting and moving through to try and get the mod to work, but now I've hit a dead end that I can't beat.
I'm on the latest "lite" version of the WetDream ROM and I'm using the webtop that was preinstalled with it. I've got a 2gb partition set up on webtop2sd. My problem is that I can't get LXterminal to launch. Webtop configurator successfully installed Synaptic; firefox and AWN manager work fine as well, but I am at a dead end without a terminal. I tried installing others from synaptic, but even the simplest one (xvt) had a single, unfulfilled dependency. I've tried everything that I know how to try, including multiple installs of the ROM and of Webtop2sd.
Can anyone lend a hand?
EDIT: I also tried flashing the webtop-mod from this thread: [WEBTOP] 2.3.4 webtop fixed image [CWM Install] V1 . It gives me the same problem with lxterminal.
(Note, I would have posted here but I don't have enough posts.)
Thanks.
Please excuse the double post; I'm not intentionally bumping my thread.
I have found a "solution." I'm in the process of repairing my webtop now. My situation seems to be very unique, but I'd like to document it in case anyone comes along and has it again.
The trick I used was completely external to my Atrix, though. Without a terminal, I couldn't access tar or bash, but I could run single commands by making a custom entry on the modified AWN. So, here we go.
For anyone who has tried repeatedly to use Webtop2sd but has always lacked terminal access, here's my method.
Requirements: Access to a linux system, rudimentary knowledge of the terminal, or any other method of mounting your webtop2sd partition on a system with access to tar and permission changing methods.
****WORKING Awn Manager in webtop
Download the Dependency fixing scripts.
Mount your Webtop2sd partition and manually extract the scripts to their location in /usr/share/WebTopScripts/
Boot your device to webtop and setup a custom entry in Awn Manager with the following command:
"sudo bash /usr/Share/WebTopScripts/fix-apt-get.sh" (This should work with most versions of the script; also, no quotes in the actual command.)
That was enough to get Lxterminal working and gives me access to all the other mod methods on the forum that assume you have access to a working terminal. It's not really very helpful for Windows or Mac users, but it's the only thing that I could manage.
Feel free to close the thread, mods.
You gotta make sure to install LXTerminal from the Webtop Configuration applet where you installed Synaptic.
Sometimes it refuses to install at first so you have to try several times until it budges.
Try closing and opening the configuration window until you see both synaptic and LXTerminal buttons greyed out.
Sent from my Atrix 4G using Tapatalk
I'm almost certain that it was installed before (it was marked as present in synaptic), but just refusing to launch.
However, I broke my webtop just before getting it how I wanted it, so when I have time to give it another try, I'll see if being a little more persistent with it this time will work.
EDIT: Wow, the next 2 times that I had to install webtop, lxterminal worked just fine. Now I just have to get the scripts to actually fix all the dependencies and not end up with a broken webtop after installing software.

[APP] Running Ubuntu on HTC Evo 4G LTE

NOTE: As of 7/5/2012 I've decided that the Samsung Galaxy S3 is a better fit for me and have returned my HTC Evo 4G LTE. I will not be updating this post. Any expressed intention to do so later on this post is therefore a LIE!
Short version: You can get Ubuntu (and presumably Backtrack and/or Debian) running on top of Android on the HTC Evo 4G LTE (EvoLTE, from now on).
What's working for me now:
Rooted/Unlocked/S-Offed (Dunno if all that is NEEDED, it's just what I'm working with ATM.)
ViperROM eLiTE v1.2.1
Dual Core Mod Ultimate (I flashed the ViperROM-specific mod.)
Market App: Complete Linux Installer (Paid App)
Before I bought the paid app, I tested it with the free Ubuntu Installer app. It didn't work "out of the box" so to speak as the busybox installation included with the free app seemed broken. The free app worked only after I renamed the included busybox and copied the one I have from Busybox Installer in it's place. If you get errors about not being able to create a loopback device when you try the 'sh ubuntu.sh' script, then you're seeing what I saw.
Both the paid Linux Installer app and the free Ubuntu Installer app contain a guide with buttons to download the necessary scripts, Ubuntu/Linux boot images and applications to boot Linux on Android. The other apps are a specific terminal emulator and a VNC client. The installer apps also provide directions on what to do with the files, where to unzip them and such.
Main things you get with the paid vs. free app are:
Support for Debian, Backtrack and Ubuntu in one app.(Note1)
No need to download a script or run it manually.
A "launch" button inside the app instead of manually running a script.
A widget to boot your linux image from the homescreen.
(Note1: There are one-off paid apps that only support one distribution of Linux each, they're cheaper than the "Complete" version).
I don't see any reason why someone couldn't eschew the paid installer apps and just use the free ones along with ScriptManager or similar program to launch their Linux images.
You may be wondering: "But is the hosted" Linux USABLE?"
Yup, it sure is! I'm using VNC on my desktop computer to access the LXDE desktop of my phone's Ubuntu session right now and it's pretty quick. I suspect what minor speed/lag blips I'm seeing are more because of the network and VNC than the performance of my phone.
Hopefully this post passes muster as-is. As I mentioned above, I will be fleshing it out as I tinker with it and have to time until it's more of a how-to. I will also flash other ROMs and see if it's possible on other ROMs. I suspect that it will be, as the Stock ROM apparently supports loopback devices, which is the real hurdle once you've rooted your phone.
Now this is cool stuff, keep us posted on your progress. I know is possible to hook up a mouse/trackpad and keyboard along with mirrored display with android but have not seen anyone other than those on the website for ubuntu make it work. http://www.ubuntu.com/devices/android

Fetching APKs through shell/perl

Hi all,
I'm a flashaholic, updating my Rom everytime the Developer provides a new version (Using Jellytime by randomblame for the Desire HD). Though I'd like to modify the rom before flashing, to customize it to my needs.
For that I am working on a Shell script to do the modifications automatically.
So far so good, but I am stuck at fetching the apks of the apps I want to include in the rom.
Of course I could use the google chrome extension and download the apks manually, or fetch them from my phone, but both ways hinder the automatisation proccess a lot, especially when it comes to getting the latest versions of these apks.
So would anyone perhaps know a way of fetching the apks with linux shell commands or through perl scripts or does anyone perhaps even know of a CLI application that can do that?
Thanks in advance and keep up the awesome work

[Q] Running Debian (preferably Squeeze) on Android - any good way?

Hi.
I would like to run Debian Squeeze on Android.
Complete Linux Installer delivers Debian images that are very problematic and annoying.
Debian Kit doesn't let me install openssh-server and not only that, skipped many packages due to extracting problems.
Lil' Deby is very unstable, it hangs before it does everything to complete the installation.
Linux Deploy causes many errors to happen
Is there another app to do that? Or if there's a well explained way to do that manually? I'm having some software that would be great to have in my phone so let's just focus on it
I'm counting for help!
EDIT: Sorry, forgot to check "Is this a question". Yes, it is

Busybox - Incorporate custom binaries

Hello,
I was just wondering, how would I go about adding several binaries to a busybox installation.
For ex: I would like to add "exa" to use instead of ls, "fd" in replacement for find, the text editor "micro", as well as possibly git (although I would guess that adding too many additional binaries would make busybox too dense)
I know a good deal about android development, c programming, and shell scripting, so I don't by any means expect someone to "do" this for me or recompile it for me. Just the steps necessary (if it's possible to do this effectively), or an alternative solution in which would accomplish this objective.
Currently I have a (working) solution using termux boot, that copies the files to "/system/xbin" on boot. It works fine... however I can't help but feel like this is not the best way to go about it.
If it matters: I am on a Google Pixel, rooted, on a custom rom (resurrection remix, android oreo build) with TWRP recovery installed.
Thanks,
HLTDev

Categories

Resources