maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   How To - Install LXDE on top of Mer (https://talk.maemo.org/showthread.php?t=26766)

andrewfblack 2009-02-10 18:32

How To - Install LXDE on top of Mer
 
1 Attachment(s)
These instructions will install LXDE on your Nokia N8x0 or 770 Tablet after you have already installed Mer on it.


**Warning: If you want to see login screen your user name and your password can not have any numbers or symbols in it. Make sure you change then before installing lxde or you will have to chroot in from your maemo install and change them. You have been warned.

**Warning: I take no responsibility if you break your system or the sky falls down. Do this at your own risk or you will be reinstalling Mer.


First Load your Mer Partition and Open x terminal.

Then enter each of these commands one at a time

Code:

sudo apt-get update

sudo apt-get install libvte9=1:0.19.4-0ubuntu3

sudo apt-get install synaptic

sudo apt-get install onboard

*N810 Users Who want Login Screen

Code:

sudo apt-get install lxde
*N800, 770 and N810 users who don't want login screen.

Code:

sudo apt-get --no-install-recommends install lxde libgtkstylus

echo "exec startlxde" >> ~/.xinitrc

If you want to use lxlauncher to easy opening of applications

Code:

sudo apt-get install lxlauncher
Then type this to reboot your system.

Code:

sudo reboot
Choose Mer partition again and it should ubuntu login window.

login using the username and password you made when installing Mer

**I hope you remembered to remove any numbers or symbols from them if not I will tell you have to chroot in later and fix this.

Once you have loaded Mer/LXDE then we need to make a few changes to make everything better first to connect to network.

Click Application Menu

Click Run then type.

Code:

nm-applet
Choose your network and logon.

Now using an FTP client on a desktop computer login to your Tablet using your root information

**If you did not install ssh server when installing Mer you will need to install it first.
Download folder and put the files in the following locations.

/usr/share/applications
  • nmapplet
  • onboard
  • nmconnection
  • lxlauncher

/etc/xdg/autostart
  • nmapplet
  • lxlauncher (if you want it to load at startup)

Now you should have a working install of LXDE on top of your Mer open synaptic and install any applications you want. Also if you want to skip the login screen from now on Click Application Menu -> Settings -> Login Window.

Click Security tab and Enable Automatic Login then enter your users name there.

If you want to be able to load either Hildon or LXDE then follow these steps.

Load Mer and ftp in.

Copy this file to /usr/share/xsessions
  • hildon.desktop

Then Logout and click Options -> Select Session -> Hildon -> Change Session

Then Login and you will load Hildon instead of LXDE for this session ou can set Hildon as your default and use same way to load LXDE when you want.

**To Log out of Hildon Click Advanced Backlight and then Click any Rotation option.

Let me know if you run into any problems with anything. I am also working on a custom LXDE layout to organize the programs a little better. I will be posting that soon.

Thanks: Thanks to Stskeeps, Qwerty12, B-man, Qole,FatalSaint for helping out with this.

allnameswereout 2009-02-10 19:03

Re: How To - Install LXDE on top of Mer
 
Hmm, just a quick note, have you forgotten to include install?

Shouldn't it be e.g.

Code:

sudo apt-get install synaptic
?

meizirkki 2009-02-10 19:34

Re: How To - Install LXDE on top of Mer
 
N800 / 700 users may want to follow this how-to for gdm login without a keyboard:
http://www.internettablettalk.com/fo...ad.php?t=24606

andrewfblack 2009-02-10 19:43

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by allnameswereout (Post 263549)
Hmm, just a quick note, have you forgotten to include install?

Shouldn't it be e.g.

Code:

sudo apt-get install synaptic
?

Your right I should have done some more proof reading before posting thread updated.

andrewfblack 2009-02-10 19:48

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by meizirkki (Post 263554)
N800 / 700 users may want to follow this how-to for gdm login without a keyboard:
http://www.internettablettalk.com/fo...ad.php?t=24606

Just asking how do they login first time without keyboard so they can install theme and enable it?

fatalsaint 2009-02-10 19:58

Re: How To - Install LXDE on top of Mer
 
I has pretty pictures :)...

http://blog.linuxniche.net/?p=64

But including the xmodmap file for everyone was a cool idea.

andrewfblack 2009-02-10 20:02

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by fatalsaint (Post 263563)
I has pretty pictures :)...

http://blog.linuxniche.net/?p=64

But including the xmodmap file for everyone was a cool idea.

I was going to thank the people who helped me figure it out but I guess I should just subscribe to your blog and I could have read how to do it lol.

fatalsaint 2009-02-10 20:03

Re: How To - Install LXDE on top of Mer
 
Your additions for the nmapplet and lxlauncher were good. Those are things I don't use (do it by hand) so I don't consider them. You could update the OP for N800 users to use the without-recommends for apt, that way you don't get the GDM login.. they can reboot and get to LXDE.

The problem with N800 right now is that AFTER you reboot into LXDE I haven't found a decent on-screen keyboard that works right in LXDE =-\.

NOTE: don't rename the xmodmap to Mer-xmodmap... install it to /home/user/.Xmodmap - if you used the full "apt-get install lxde" then gnome/gdm will automatically load your xmodmap file when you login. I dunno if it works at the GDM screen.. but I do know it works after you get into LXDE.

andrewfblack 2009-02-10 20:08

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by fatalsaint (Post 263567)
Your additions for the nmapplet and lxlauncher were good. Those are things I don't use (do it by hand) so I don't consider them. You could update the OP for N800 users to use the without-recommends for apt, that way you don't get the GDM login.. they can reboot and get to LXDE.

The problem with N800 right now is that AFTER you reboot into LXDE I haven't found a decent on-screen keyboard that works right in LXDE =-\.

NOTE: don't rename the xmodmap to Mer-xmodmap... install it to /home/user/.Xmodmap - if you used the full "apt-get install lxde" then gnome/gdm will automatically load your xmodmap file when you login. I dunno if it works at the GDM screen.. but I do know it works after you get into LXDE.

I'll update for the n800 stuff in a little while. I find onboard works well most of the others seem to lag and you get multiple letters typed. Only problem is you have to run it once then use it to run it again to tell it what size you want it since it can't be dragged to reshape. I'm change xmodmap also.

fatalsaint 2009-02-11 02:45

Re: How To - Install LXDE on top of Mer
 
Another note.. if you do the no-install-recommends for LXDE you need to add the

Code:

echo "exec startlxde" >> ~/.xinitrc
as the user who is going to be running lxde. That tells the auto-startx script when it launches startx to launch the LXDE manager.

Appreciate the tip on the "onboard" keyboard. I thought I did an apt search for keyboard.. don't know how I missed that. I need to go update mine now :).

fatalsaint 2009-02-11 13:56

Re: How To - Install LXDE on top of Mer
 
Andrew... is your onboard a CPU hog?? Mine does not drop below 38% or so CPU and my CPU monitor is always topped out in LXDE while it's running. That'll kill battery life real quick...

Just curious if this is just something fubar'd with my setup...

andrewfblack 2009-02-11 14:12

Re: How To - Install LXDE on top of Mer
 
no I should have told you that its a processor hog, but its the best I've found so far most of the others lag and you get like 5 letters a click lol. The only reason I suggest it right now is because its the most usable. I"m going to keep an eye out for a better one for n800 users let me know if you find one.

meizirkki 2009-02-11 14:20

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by andrewfblack (Post 263560)
Just asking how do they login first time without keyboard so they can install theme and enable it?

Well, you install lxde when you are in Mer, what makes you unable to modify the gdm before you reboot?

meizirkki 2009-02-11 14:22

Re: How To - Install LXDE on top of Mer
 
Is kvkbd working in LXDE? It worked in KDE 4.2, but it might have too heavy depends for LXDE or something?

branitar 2009-02-11 14:25

Re: How To - Install LXDE on top of Mer
 
All well and nice, but how is the performance of Mer and LXDE? Especially compared to Maemo? And is there a good lightweight browser (or does FF3 on the N810 run on acceptable speed)? What about other applications? as you wrote yourself, stuff like Scribus runs but isn't usable.

meizirkki 2009-02-11 14:29

Re: How To - Install LXDE on top of Mer
 
currently, i think Mer isn't any faster than Maemo. (i think Ubuntu developers haven't yet made a vfp-enabled packages)

Midori is a lightweight and fast webkit browser. Latest epiphany-gecko is good too, it has adblocker.

Latest FF 3.1 is somehow usable on lightweight pages, but itT is way too heavy

fatalsaint 2009-02-11 15:00

Re: How To - Install LXDE on top of Mer
 
I don't find a huge lag in Mer.. it isn't much WORSE than maemo IMHO.. depending of course on the software you are trying to run.. but it isn't any better. If you keep the software to lightweight software like Meiz put then Mer/Ubuntu is perfectly fine and functional. I have used the new OpenOffice 3.0 perfectly fine as long as your document isn't littered with tons of embedded images and other stuff.. but even then it'll just take longer for it to load.. once up it works fine.

I haven't used it much after adding this onboard keyboard though so I don't know how that'll effect things being that it's quite CPU hungry. It could very well impact most of the heavier software that works OK like OO.org or FF 3.. the lightweight stuff should still function decently though..

Anyone get a good PDF viewer to work right in Ubuntu/Mer?? I installed xpdf but it won't launch.. crashes before it can. I haven't had a lot of time to look into to find why but just curious if anyone's found one..

andrewfblack 2009-02-11 16:05

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by branitar (Post 263734)
All well and nice, but how is the performance of Mer and LXDE? Especially compared to Maemo? And is there a good lightweight browser (or does FF3 on the N810 run on acceptable speed)? What about other applications? as you wrote yourself, stuff like Scribus runs but isn't usable.

All together Mer/LXDE runs well FF3 is the best browser I have found so far it runs better then midori to me atleast.

andrewfblack 2009-02-11 22:09

Re: How To - Install LXDE on top of Mer
 
Just updated how-to with instructions on loading Hildon or Lxde

branitar 2009-02-12 07:53

Re: How To - Install LXDE on top of Mer
 
I will give it a try then :)

meizirkki 2009-02-12 14:14

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by andrewfblack (Post 263756)
All together Mer/LXDE runs well FF3 is the best browser I have found so far it runs better then midori to me atleast.

No way, just no way FF would be faster than midori with heavy pages. Try loading itT. it's slow as hell

andrewfblack 2009-02-12 14:19

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by meizirkki (Post 263956)
No way, just no way FF would be faster than midori with heavy pages. Try loading itT. it's slow as hell

Well I didn't use midori for long maybe I didn't load any heavy pages on it. I always use itT with my Minimalist theme so it loads fast on both.

born2wonder 2009-02-14 22:01

Re: How To - Install LXDE on top of Mer
 
There is a program called maximus, available in repos, that will maximize all programs by default on startup. I find that very useful in lxde (using mer) as a defalut behavior .

To install
sudo apt-get install maximus

This way all ur programs will start maximized and then you can restore them to default size if u choose.

Hope this helps some1

neatojones 2009-02-16 20:53

Re: How To - Install LXDE on top of Mer
 
With version 0.8 of Mer, you must comment out the Mer repo due to a dependency problem with libvte9 if you want to install synaptic.

andrewfblack 2009-02-16 23:09

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by neatojones (Post 264968)
With version 0.8 of Mer, you must comment out the Mer repo due to a dependency problem with libvte9 if you want to install synaptic.


Thanks I've got to do some updates to the post tonight for 0.8 changes.

andrewfblack 2009-02-17 13:56

Re: How To - Install LXDE on top of Mer
 
added line sudo apt-get install libvte9=1:0.19.4-0ubuntu3 to force install of the right version of libvte9 for lxde.

[[ cold ]] 2009-02-19 16:25

Re: How To - Install LXDE on top of Mer
 
how do i change the default keyring password?? the one i gave when installing doesnt seem to work

Nevermind.. found it

keep the good work ;)

[[ cold ]] 2009-03-02 14:02

Re: How To - Install LXDE on top of Mer
 
any way to automate the wifi instead of always typing run.. nm-applet?

fatalsaint 2009-03-02 14:58

Re: How To - Install LXDE on top of Mer
 
Create

Code:

[Desktop Entry]
Encoding=UTF-8
Name=Network Manager
Comment=NetworkManager control applet
Exec=nm-applet
Type=PanelApp
Icon=none
Categories=Panel;Utility;

in ~/.config/autostart/nm-applet.desktop. Or I think the OP has an nm-applet file to put into /etc/xdg/autostart that might work as well.

andrewfblack 2009-03-02 18:20

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by [[ cold ]] (Post 268265)
any way to automate the wifi instead of always typing run.. nm-applet?

its in first post when you move nm-applet.desktop to autostart folder it will auto start next time. I'm working on a package to do all the steps just havn't done it yet.

[[ cold ]] 2009-03-02 19:16

Re: How To - Install LXDE on top of Mer
 
thanks to both of you, i'm kinda noobish, but very enthusiastic about this :)

i hope to be of good service soon

w0ot 2009-05-07 09:20

Re: How To - Install LXDE on top of Mer
 
I have successfully installed lxde, but how can i bind right mouse click to a button, for example the zoom button on the n810??

FRZ 2009-09-03 23:21

Re: How To - Install LXDE on top of Mer
 
I will be trying this when I get home to my charger and boot to mer. Me likes the pretty pictures.

andrewfblack 2009-09-04 17:13

Re: How To - Install LXDE on top of Mer
 
you might want to check the wiki for the most upto date instructions. Let me know if you have any questions as well

FRZ 2009-09-07 00:05

Re: How To - Install LXDE on top of Mer
 
version 1:0.19.4-0ubuntu3 for libvte9 was not found.

maemofied 2009-09-12 10:37

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by FRZ (Post 322893)
version 1:0.19.4-0ubuntu3 for libvte9 was not found.

You are referring to the old instructions. Refer the updated instructions in wiki <http://wiki.maemo.org/Mer/Documentation/LXDE>

luca 2009-09-12 11:47

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by maemofied (Post 325765)
You are referring to the old instructions. Refer the updated instructions in wiki <http://wiki.maemo.org/Mer/Documentation/LXDE>

And even those are probably outdated.
I personally didn't try lxde on mer 0.15, if you do and find that the instructions still work, please update the wiki.
If they don't and you find another way to make it work, again, update the wiki.

FRZ 2009-09-12 16:52

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by maemofied (Post 325765)
You are referring to the old instructions. Refer the updated instructions in wiki <http://wiki.maemo.org/Mer/Documentation/LXDE>

Thanks, I did try looking for that page but coudn't find it.

andrewfblack 2009-09-13 03:12

Re: How To - Install LXDE on top of Mer
 
Quote:

Originally Posted by FRZ (Post 325870)
Thanks, I did try looking for that page but coudn't find it.

I wrote the pages on LXDE on Mer the problem is the instructions change not only when Mer updates but when some of the other packages you have to had install do to Mer wanting to install certian versions of a file. Just look for the newest version of that file and install it I guess I need to add how to find newest file to the wiki


All times are GMT. The time now is 11:53.

vBulletin® Version 3.8.8