Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lookingglass How-To
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
uck2rok
n00b
n00b


Joined: 22 May 2004
Posts: 12

PostPosted: Wed Sep 08, 2004 1:56 pm    Post subject: Lookingglass How-To Reply with quote

MOD EDIT: Nicely done! DT&T contains only English material, though, so I've taken the liberty of translating your text (you want to stay away from those automatic translations, Gentoomen), inserted a few BBCode tags, and did a general clean-up for URLs etc. --plate

Please excuse any mistakes, this is my first Howto... :lol:

Caveat:
For the time being I've been unable to run Lookingglass outside of an X session window. It's not exactly a superhuman effort I've done here, but there wasn't any English or German Howto available so far.

Some information about my Gentoo box:

  • 2 x Intel P3 533Mhz.
  • 2 x 256MB DDR
  • Nvidia GeForce2 32MB
  • HDD 40GB

I'm using the development-sources v2.6.8.1 as a kernel, Nvidia drivers and Xfree from the latest Portage tree. I can only assume it'll work with X.org, too.

Installation:

Lookingglass is hard-masekd, the reason is stated in file:
Code:
/usr/portage/profiles/package.mask

To be able to emerge it nonetheless, you need to edit
Code:
/etc/portage/package.unmask

Here's where you can enter packages that are supposed to be emerged in spite of being masked. Three packages will have to be listed in this file:
Code:
 
=x11-misc/lookingglass-bin-0.5
>=dev-java/sun-jdk-1.4.99
>=dev-java/java-sdk-docs-1.4.99

Download additional packages to /usr/portage/distfiles:

Emerge lookingglass-bin now:
Code:
# ACCEPT_KEYWORDS="~x86" emerge lookingglass-bin

It should start emerging normally now. After successful installation you will probably have to modify your Java environment:
Code:
# java-config --list-available-vms
# java-config --set-system-vm=sun-jdk-1.5.0_rc1
# env-update && source /etc/profile

Lastly, verify that your XF86Config contains settings for 24 bit:
Code:
# nano -w /etc/X11/XF86Config

Check for
Code:
Section "Screen"
DefaultDepth 24

Now start your X-Server:
Code:
# startx

Open a terminal and/or execute the command:
Code:
# lg3d-dev

It's more of a toy than a reasonable desktop at the moment. :D
Back to top
View user's profile Send private message
GlooM
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2003
Posts: 119
Location: $HOME

PostPosted: Wed Sep 08, 2004 3:19 pm    Post subject: Re: Lookingglass How-To ::Translated to English:: Reply with quote

"gibts" = "gibt es" = "there is" or something alike.
Back to top
View user's profile Send private message
DooMi
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2004
Posts: 103
Location: /dev/null

PostPosted: Wed Sep 08, 2004 3:27 pm    Post subject: Reply with quote

Quote:
I have only been able to create Lookingglass in a current x-session so far. It is now also no ?übermenschliches? How-To only unfortunately ?gibts? still none in German or English.


>> So it's not a really great How-To but unfortunately there is still none available in German or English.
_________________
cyrex ~ # ./vpenis
--- Weeee! Congrats! Your VPenis is actually 356.8 cm long ---
Back to top
View user's profile Send private message
uck2rok
n00b
n00b


Joined: 22 May 2004
Posts: 12

PostPosted: Wed Sep 08, 2004 4:00 pm    Post subject: Reply with quote

Tomorrow I will try to get it running in full screen, not just in a terminal window. :D

Thx for the translation man. Nice one. :D
Back to top
View user's profile Send private message
WeirdCulture
n00b
n00b


Joined: 08 Sep 2004
Posts: 4

PostPosted: Thu Sep 09, 2004 1:29 pm    Post subject: Reply with quote

hey.. this guy is a genius! it worked! :)
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Thu Sep 09, 2004 2:28 pm    Post subject: Reply with quote

I didn't really process this when i translated it but, if you edit your .xinitrc and comment out your current WM and add the line
Code:
lg3d-dev
it should load lg3d has your WM (i.e. fullscreen )
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Thu Sep 09, 2004 7:18 pm    Post subject: Reply with quote

Insanity5902 wrote:
I didn't really process this when i translated it but, if you edit your .xinitrc and comment out your current WM and add the line
Code:
lg3d-dev
it should load lg3d has your WM (i.e. fullscreen )

No, that doesn't work. I have only one line in my .xinitrc:
Code:
exec lg3d-dev


How can I launch an X11 app within this window manager? Even the xterm app (clicking the icon) spawns outside the looking glass environment.

[offtopic]Java sucks, why am I testing this crap? Just like macromedia flash: I've never seen something interesting when Java is used.[/offtopic]
_________________
Alle dingen moeten onzin zijn.
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Thu Sep 09, 2004 8:37 pm    Post subject: Reply with quote

irondog wrote:

No, that doesn't work. I have only one line in my .xinitrc:
Code:
exec lg3d-dev


Try just lg3d-dev and get rid of the exec?

what error message do you get?

And now that I think about it does lg3d require X, if not just run lg3d-dev from the cli

There is a x11 sub-project. see if you have lg3d-x11

try
Code:
lg3d<tab>
and please post back with it's response.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
uck2rok
n00b
n00b


Joined: 22 May 2004
Posts: 12

PostPosted: Fri Sep 10, 2004 7:21 am    Post subject: lg3d-dev doesn't support X11 Apps Reply with quote

You can run X11 apps only in the lg3d-session (full screen) the lg3d-dev is just like a demo.
Back to top
View user's profile Send private message
1der
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2003
Posts: 99

PostPosted: Fri Sep 10, 2004 12:19 pm    Post subject: Reply with quote

It would be nice to see some screen shots of open-glass on gentoo. :D

Think you could post some ???
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Fri Sep 10, 2004 1:22 pm    Post subject: Reply with quote

i don't have any screenshots, but I have a way (i think) to run it has the main WM instead of from inside one.

The only requirement I have come across (b/c I haven't meet it yet :P so I can't proceed) is it doesn't work in framebuffer. So if you have framebuffer you are going to have to edit grub and turn it off to continue. If you don't mind doing that, then read on.

In you console with no X session running, goto
Code:
/opt/lg3d/bin
You will need to run
Code:
./displayserver
this gives it its x backend and then you will need to connect to it with
Code:
./lg3d-session

[side note]
./displayserver and lg3d-session has to be run as a superuser, unless you want to go through and change the permission on all the different compenents it needs to access and write to. Needless I could only get to the framebuffer error, by running these two from root
[/sidenote]

I can get to the point where I run lg3d-session and then it quits on me b/c I have a framebuffered console. So if someone doesn't or if someone has to time to turn it off and test this out, that would be cool. I want have a chance to until sat. morning.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
cybe
n00b
n00b


Joined: 22 Jul 2003
Posts: 67
Location: Finland

PostPosted: Tue Sep 21, 2004 7:37 am    Post subject: Reply with quote

I can't get the session to work, just a black screen =(. A friend of mine reports the same problem...

.. the lg3d-dev is awesome and surpricingly fast... I'd thought that the java-dohicky-thingy's would make the fans on my laptop scream but it loads in just a few seconds and doesn't seem sluggish at all...
_________________
_________________________________
The MOST important book on the planet?
http://thewayhomeorfacethefire.info/
Back to top
View user's profile Send private message
asiobob
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1375
Location: Bamboo Creek

PostPosted: Fri Sep 24, 2004 3:22 pm    Post subject: Reply with quote

hmm, I have frame buffer.
I edited /etc/rc.conf and changed a line to lg3d-session (the line that shows what desktop is executed)

then I sent startx and yay it worked (sorta), I run frame buffer at 2048 by 1024, the looking glass was a lot less, something like 640 by 800 but it never went full screen on my LCD, rather it took up space from the left, the rest of the area is black and when I move the cursor there it becomes the ol x cursor

my main issue is when I launch a console, its sorta sitting on "top" of the whole thing, so I'm starting to think the console is not in hte lg enviorment

A similar effect happens in gnome when I use lg3d-dev
Back to top
View user's profile Send private message
CRC
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2003
Posts: 90
Location: Dallas, TX, USA

PostPosted: Sun Sep 26, 2004 9:10 am    Post subject: Looking Glass vs Croquet Reply with quote

looking glass looks interesting, but I don't see how it does all that much more than just being nice eye candy.

It also looks like Croquet, while designed for real use (online collaboration and information sharing), can do everything that looking glass does and then some, plus it has a few other benefits.

For example, its not Java, but still a portable and fast virtual machine (smalltalk). And going with that, is the authors. Looking glass by SUN, the guys that gave you Java (The SuperSPARC CPUs are a Russian design, the E10000 and up are Cray designs, so SUN gets no points for those). Croquet is by Alan Kay, the guy that gave us the original GUI desktop and a huge number of things that modern computers use which come from the XEROX PARC group headed back in the early 70s, and of course, his baby, Smalltalk.

Check out http://www.opencroquet.org Developer level release is coming any time now.
_________________
Unix/Linux Consulting & Hosting
We Support Gentoo!
http://CoolRunningConcepts.com

Freenode: Taro!
Back to top
View user's profile Send private message
asiobob
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1375
Location: Bamboo Creek

PostPosted: Sun Sep 26, 2004 9:19 am    Post subject: Reply with quote

looking glass a not even a prototype yet, its the "potential" I suppose for the future, it things worked like they said it would make my life just that lil bit easier. You seem to think sun is evil, but every company is
Back to top
View user's profile Send private message
CRC
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2003
Posts: 90
Location: Dallas, TX, USA

PostPosted: Sun Sep 26, 2004 9:40 am    Post subject: Reply with quote

If you can download it and run it, its more than a prototype. Croquet is in about the same stage.

I have nothing against SUN, however, when it comes to making revolutionary new ideas, SUN isn't a company that comes to mind. I would much rather get behind a community effort, like Croquet. Big companies like to patent things and say they are the only ones that can do it. I want to back an idea that steams from creativity and the free exchange of ideas. After all, Sun was so clever as to rename Gnome, put the word Java in their (and we all know Gnome is plain C), and call it their new Desktop.

Come to think of it, many of the Java design ideas came from Self, which in-turn was based on Smalltalk !!

Anyway. The point wasn't to bash Sun. Looking Glass is pretty, but 3dwm has been around a long time. The point was that people that liked Looking Glass would probably like Croquet as well.

Did you even look at it?
_________________
Unix/Linux Consulting & Hosting
We Support Gentoo!
http://CoolRunningConcepts.com

Freenode: Taro!
Back to top
View user's profile Send private message
asiobob
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1375
Location: Bamboo Creek

PostPosted: Sun Sep 26, 2004 9:52 am    Post subject: Reply with quote

yeh I looked at it, I'm going to potentially install that as well, the more the better. We need this sort of thing for the future. Hopefully stable, more than usable versions will come before longhorn comes out.
Back to top
View user's profile Send private message
CRC
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2003
Posts: 90
Location: Dallas, TX, USA

PostPosted: Sun Sep 26, 2004 10:08 am    Post subject: Reply with quote

I don't see this as the sort of thing that will compete with Longhorn. Now, if Gnome were to integrate with cairo, and finish its integration with Hal/Dbus, and other various cleanups and useability fixes, then we'd have something competing on the same field.

Integration with Cairo was actually suggested by someone at RedHat and some presentation was made. The project may have gotten onto the official roadmap, and while this will only make things slightly easier on the end user, it really helps the API for the developers. It also brings up on level, technology-wise, with OS X, which is what Longhorn is really competing with.

X (with Xorg) now has a true compositing system and a host of other features, but it doesn't have the easy display library where OS X has Display PDF. Cairo is just around the corner, and not quite as resource intensive. We're getting there.

But when it comes right down to it. Technology, speed, and every other measurment you can think of don't matter to me. No one is going to dictate how I run my computer and close the source of what I run on my machine. Even if Linux costs twice as much as Longhorn - I'd take Linux.

Free Speech over Free Beer and all that
_________________
Unix/Linux Consulting & Hosting
We Support Gentoo!
http://CoolRunningConcepts.com

Freenode: Taro!
Back to top
View user's profile Send private message
genstef
Retired Dev
Retired Dev


Joined: 13 Jun 2004
Posts: 668
Location: M/Bay/Germany

PostPosted: Sun Sep 26, 2004 10:16 am    Post subject: Reply with quote

Also works with 16bit here :)
Back to top
View user's profile Send private message
CRC
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2003
Posts: 90
Location: Dallas, TX, USA

PostPosted: Mon Sep 27, 2004 6:40 am    Post subject: Reply with quote

What works with 16 bit? And what system are you running that is 16 bit?
_________________
Unix/Linux Consulting & Hosting
We Support Gentoo!
http://CoolRunningConcepts.com

Freenode: Taro!
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Mon Sep 27, 2004 7:31 am    Post subject: Reply with quote

I am pretty sure he is talking colors.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
CRC
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2003
Posts: 90
Location: Dallas, TX, USA

PostPosted: Mon Sep 27, 2004 7:40 am    Post subject: Reply with quote

Insanity5902 wrote:
I am pretty sure he is talking colors.


Oh! I need sleep. Didn't even occur to me that the color depth would matter. It should just push it all off to the OpenGL libs.
_________________
Unix/Linux Consulting & Hosting
We Support Gentoo!
http://CoolRunningConcepts.com

Freenode: Taro!
Back to top
View user's profile Send private message
Pajarico
Guru
Guru


Joined: 01 May 2004
Posts: 493
Location: Madrid, España.

PostPosted: Wed Oct 27, 2004 7:43 pm    Post subject: Reply with quote

Hi,
Im running a 64 bits environment. The needed packages are masked, so i have unmasked theme as the tutorial says but emerge keeps telling me :
Quote:
localhost lxuser # ACCEPT_KEYWORDS="~amd64" emerge lookingglass-bin -vp

These are the packages that I would merge, in order:

Calculating dependencies
!!! All ebuilds that could satisfy "lookingglass-bin" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-misc/lookingglass-bin-0.5 (masked by: missing keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.


I even commentd the related lines of /usr/portage/profiles/package.mask but nothing worked.

Bye- :wink:
Back to top
View user's profile Send private message
genstef
Retired Dev
Retired Dev


Joined: 13 Jun 2004
Posts: 668
Location: M/Bay/Germany

PostPosted: Wed Oct 27, 2004 8:30 pm    Post subject: Reply with quote

echo x11-misc/lookingglass-bin-0.5 -* >> /etc/portage/package.keywords
Back to top
View user's profile Send private message
Pajarico
Guru
Guru


Joined: 01 May 2004
Posts: 493
Location: Madrid, España.

PostPosted: Wed Oct 27, 2004 9:43 pm    Post subject: Reply with quote

Thanks, but didnt work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum