Enter your email address:

Delivered by FeedBurner

How to install Looking Glass on Debian Etch


StumbleUpon Toolbar


I have wrote a long time ago about Looking Glass a Sun/Java 3D Desktop for Linux, yesterday I installed on my Debian Etch, using now my latest ATI drivers.

Installing it on a Debian Linux box is really easy, lets see how to do it.

Modifying the apt sources

vim /etc/apt/sources.lst

You may use your favorite text editor, mine is vim

Then be sure to add this line.

# Looking Glass Repository
deb http://javadesktop.org/lg3d/debian stable contrib

Getting the software

sudo apt-get install lg3d-core

It will download all the needed packages, grab a cup of tea, as it will take sometime depending on your internet connection.

Once downloaded it will start the installation, you will need to accept the Java and Looking Glass agreements, and it is done!

Now log out, and log in again, but this time selecting Looking Glass as your Default Desktop.

As you can see from the screenshot above, it has really good and nice effects, I think it will work better for nVidia cards, as I have read that they perform better than ATI on Linux.

This instructions should also work for Ubuntu, but I have not yet tested them.

Check out this Youtube video.


Trackback URL for this post:

http://www.go2linux.org/trackback/303
StumbleUpon Toolbar

 If you like this article, subscribe to our full rss

If this article was somehow useful for you, you can leave something in the tip's jar

Please post your question in our forum and use comments only to leave your comments about the article, thanks.

This is what i get: Reading

This is what i get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
lg3d-core is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up lg3d-core (1.0.0) ...
/usr/share/lg3d/bin/postinstall: line 10: /bin/arch: No such file or directory
/usr/share/lg3d/bin/../bin/add-lg-to-gdm: line 28: /bin/arch: No such file or directory
Success. LG has been added as a gdm session.
/usr/share/lg3d/bin/postinstall: line 43: cd: /usr/share/lg3d/bin/../lib/linux-/lg3d-x11/programs/Xserver: No such file or directory
chown: cannot access `Xorg': No such file or directory
chgrp: cannot access `Xorg': No such file or directory
chmod: cannot access `Xorg': No such file or directory
dpkg: error processing lg3d-core (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
lg3d-core
E: Sub-process /usr/bin/dpkg returned an error code (1)

any help!?

A solution would be ...

A solution would be ... .
The script '/usr/share/lg3d/bin/postinstall' is called from the Postinst script file '/var/lib/dpkg/info/lg3d-core.postinst'.
The 10-th line of the file "/usr/share/lg3d/bin/postinstall" is
ARCH=`/bin/arch`.
The error messages indicates the command '/bin/arch' not existing
in your machine. Note the line
/usr/share/lg3d/bin/../lib/linux-/lg3d-x11/programs/Xserver
where 'linux-' comes from linux-${ARCH}.
It shoud be 'linux-i686' and so on.
So far, the arch command had been supplied from the (Debian)
package 'util-linux'. But now this command is not included. See
http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=446023
In the above report, it is suggested that
using 'uname -m' instead of 'arch' is much better.
So, an easiest way is the following.

With root permission
$ cd /bin; echo 'uname -m' > /bin/arch; chmod 755 /bin/arch

After doing this, you would be able to install the package lg3d-core.
$ apt-get install lg3d-core

Same error here. Never had

Same error here. Never had any luck with lg3d installing properly. you must need a very specific test environment to get it working. you also need a ton of power to make it work even the slightest bit acceptably. But I thought I would give it a try anyway. No luck, as usual.

It run smoothly here, and it

It run smoothly here, and it is not a Fresh install, my Debian was installed when Etch was Beta, and have, Gnome, KDE, XFCE, Enlightenment on it besides LGlass.

But as you said you need a lot of power, my PC is a PIV 3 GHz, with 1 gig RAM and an ATI Radeon X300 with 128 K, and it does not run as Gnome or KDE.

Guillermo Garron

Very nice idea to package

Very nice idea to package everything, but where is the cryptographic key of the developer? Aptitude doesn't like unsigned packages and so do I. Will wait until someone does that right :)

Curious, I see that you

Curious,
I see that you said you have Gnome, KDE, XFCE, and "E" DR17 on your system. (I am assuming vs17). Does looking glass incorporate with enlightenment or does it replace it as the window manager? I was a bit surprised to see that you wrote this. Are you NOT using enlightenment when you use LG? Also, is there a hotkey preference when these two programs run together? In other words, does the hotkey of one program take precendence over another?

Thanks,
Brad

Hi, I am not using them at

Hi, I am not using them at the same time of course, when boot up my PC, I got a menu where I can choose if I am going to use Gnome, KDE, XFCE, etc, I will take a picture of it tomorrow when I can be at that PC, and publish here, also will try to use Elightenment and LG to answer to your questions.

Guillermo Garron

Hey... I got the looking

Hey... I got the looking glass effect installed. The installer said "all packages installed succesfully". But, when I rebooted, I was not able to find the looking glass environment in the session menu? what do I do?

An error occurred The

An error occurred

The following details are provided:

E: /var/cache/apt/archives/lg3d-core_1.0.1%5fdev_i386.deb: subprocess pre-installation script returned error exit status 10

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

This site is proudly hosted at Bluefur Hosting