Why the Linux guest-system, on my Linux-tablet, is only a shell.

According to some of my own postings, I possess an old Android-based tablet, which is a Samsung Galaxy Tab S, first generation, onto which I installed a Linux guest-system, using the Android apps “GNURoot (Debian)” and “XSDL”, both available from Google Play. The latter of these apps emulates a simple X-server, which Linux-programs running under the first app can make use of.

The desktop-manager which I chose to use for my Linux guest-system is LXDE, precisely because that desktop-manager does not strictly require that Linux-based daemons be running.

But there are certain standard, LXDE-features which will not even work on that setup:

  • The Trash Bin
  • The LXDE-Settings Panel
  • (etc.)

The LXDE Trash Bin requires the package ‘gvfs’, and the Settings Panel requires the package ‘lxde-settings-daemon’. Both these dependencies launch daemons – i.e., programs that run in the background, and that make up part of a real Linux-session.

The ability to run daemons, essentially, requires that the user have a rooted tablet. Because I never rooted my tablet, I am without any daemons, that would normally belong to any Linux guest-system.

Continue reading Why the Linux guest-system, on my Linux-tablet, is only a shell.

LXDE and Plasma 5 .desktop -Files don’t meet the same requirements.

I’ve just switched a Linux computer of mine from the LXDE to the Plasma 5 desktop managers, because Plasma 5, the successor to KDE 4, is infinitely more-powerful. But then there were some issues with the transition, that may be relevant to my readers, if the readers also wish to switch desktop-managers, on an installed Linux computer.

One fact which I learned, was that even though LXDE and Plasma 5 both use .desktop -Files to launch applications, each system’s .desktop Files are different.

There is a directory named:

‘~/.config/autostart’

In which we find .desktop -Files that are to be run when the user first logs in. And we may find that the initial log-ins don’t run those files:

screenshot_20171017_083544

Also, because the configuration in question is just a set of files, trying to click on these entriesĀ  in the Plasma 5 settings center does not enable them.

One main reason for which this happens, is the fact that the professional who set up these configuration files, gave the original ones a line that goes like this:

OnlyShowIn=XFCE;LXDE;LXQt;

On my system, this fact was a life-saver, because the LXDE version initially had Compiz installed, which is a fun compositor, but which is not compatible with KDE or Plasma 5. If that had launched, it would have messed up my first attempt to establish a Plasma 5 session.

But there exist other applications which I’d want to have run, even if I’m logging in to Plasma 5, for which reason I used the GUI, to create a Plasma 5 -compatible launcher for the script that updates my version of Flash to the latest version:

screenshot_20171017_083357

And I edited-in a line with a text-editor, which now goes:

OnlyShowIn=KDE;

The exact appearance of the icons here is purely coincidental. But if we wanted to transfer such scripts to:

‘/etc/skel’

Then a big problem for a user like me would be, that scripts which we created in our own home-folders, are likely to contain configuration-details, which will only work for the one user who created them. And so I kept this .desktop -File spartan, to make sure that it will work, regardless of whose home-folder it eventually ends up in.

Dirk

 

I’ve just installed LaTeX on my Android / Linux tablet.

In This Posting, I roughly explained how I was able to install Linux on my Samsung Galaxy Tab S.

Since then, the Linux software that I was able to install, and which works, include, among other applications,

  • GIMP
  • Blender
  • LibreOffice (a Comprehensive Install)
  • InkScape
  • GVim
  • MPlayer (Video With Sound)
  • LaTeX
  • LyX (A Word-Processor based on LaTeX, and not quite WYSIWYG)
  • (a Graphical LaTeX Code-Editor)
  • ‘Dia’ (a Useful Diagram-Editor)
  • Miscellaneous Diagram-Drawing Software (that uses LaTeX as a Back-End)
  • wxMaxima (a Computer Algebra System with GUI)
  • GNUPlot (Gives 3D Plots)
  • Yacas (Yet Another Computer Algebra System)
  • ‘mkvtoolnix-gui’ (A video-file concatenation tool)

But, doing so also consumed several GB of storage, even though that tablet only has 16GB of storage. Currently, my Linux guest-system is taking up 4.41GB.

screenshot_2017-09-28-16-23-54

(Updated 10/08/2017 : )

Continue reading I’ve just installed LaTeX on my Android / Linux tablet.