LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   LXDE desktop for slackware 13.1 - testing (http://www.linuxquestions.org/questions/slackware-14/lxde-desktop-for-slackware-13-1-testing-810047/)

ponce 05-25-2010 02:18 PM

LXDE desktop for slackware - testing
 
WARNING: This thread has some obsolete parts.
All the build scripts are now on slackbuilds.org, refeer to those for building your LXDE packages.
if needed I've prepared a quick install guide;)

if you want prebuilt packages have a look here

- slackware-13.1
- slackware-current
- slackware64-13.1
- slackware64-current
- slackware-13.37
- slackware64-13.37

ignore my packages indicated down

- - - - - - - - - - - - - -
START OBSOLESCENCE
- - - - - - - - - - - - - -

I have slightly modified alien bob's lxde build scripts, added a few things and built everything, including openbox, obconf, leafpad and xarchiver from SBo to create a slax-remix module to have an alternate desktop on that live distribution (it's based on ex-current, now 13.1).

while I was doing that, I managed to do also i486 and x86_64 packages for 13.1 to use on my desktops: if you want to test them they're here :)

http://ponce.cc/slackware/testing/lxde/

Ahmed 05-25-2010 02:41 PM

Awesomeness :) Thanks very much, an updated LXDE for Slackware 13.1 is just what I needed!

-A

ponce 05-25-2010 02:45 PM

remember it's testing stuff: report back any bug that you encounter ;)

Ahmed 05-27-2010 09:33 AM

Hey, I installed all the packages, and LXDE is working great, however I patched rc.4 and LXDM doesn't start, but instead XDM (I commented out the other two). I'm not at my Slackware box to test it right now and maybe it's a silly mistake somewhere, but maybe I missed something important. Any ideas?

Thanks a lot again!

/EDIT: Solved (see below)

-A

Ahmed 05-27-2010 12:03 PM

Hey, I found the problem. Your rc.4.patch specifies /usr/bin/lxdm as the path, whereas your slackbuild package placed the executable under /usr/sbin/lxdm. I just changed the path in rc.4 and it worked. Maybe you can update your patch file.

Thanks a bunch once again! :)

-A

ponce 05-27-2010 12:13 PM

thanks a lot to you ahmed, fixed it now ;)

I redirect your thanks to Alien Bob and slackbuilds.org people, the build scripts are mainly theirs, I only updated some stuff but they have done the hard work :)

michaelinux 07-07-2010 08:22 PM

Hi i was wondering if you could tell me how to install the packages you've provided on the link, i've never used slackbuilds besides i don't know what files to download or do i have to download all of them?
please reply.

TSquaredF 07-07-2010 10:11 PM

Ponce,
I have downloaded your scripts & sources & I have a little problem. I cannot get lxde-common to untar. This is the result:
Code:

  --- snip ---
lxde-common-0.5.0/man/
lxde-common-0.5.0/man/openbox-lxde.xml
lxde-common-0.5.0/man/openbox-lxde.1
lxde-common-0.5.0/man/startlxde.1
lxde-common-0.5.0/man/Makefile.am
lxde-common-0.5.0/man/lxde-logout.1
lxde-common-0.5.0/man/Makefile.in
lxde-common-0.5.0/configure.ac
lxde-common-0.5.0/Makefile.in
lxde-common-0.5.0/depcomp
lxde-common-0.5.0/LXDE.desktop.in
lxde-common-0.5.0/openbox-lxde.in

gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./lxde-common.SlackBuild FAILED at line 131
lxde-common failed to build.

I have gotten the code from your site three times total. All failed the same way, but one stopped two lines before this one did. I'm going to download your packages, just to try out LXDE. I'm obviously going to have to learn about GIT repositories, 'cause I couldn't find "lxde-common-0.5.0.tar.gz" on the download site!
Regards,
Bill

ponce 07-08-2010 01:01 AM

I'll have a look at the tarballs mirrored on my site (I'm on holidays at the moment), in the meantime you can get the lxde components from sourceforge

http://downloads.sourceforge.net/lxd...n-0.5.0.tar.gz

http://sourceforge.net/projects/lxde/files/

In the next weeks I'm gonna test the new pcmanfm/libfm versions that will be using udisks to manage devices (but they are still in a very early stage) trying to use them with robby's (thanks!) new udisks packages that will be soon added to slackbuilds.org.

@michealinux: you can download the folder corresponding to your architecture using lftp, then install them. I'll show you an example if you are using slackware-13.1 (you have to download the x86_64 folder if you are using slackware64-13.1)
Code:

lftp -c mirror http://ponce.cc/slackware/testing/lxde/i486/
upgradepkg --install-new --reinstall i486/*.txz

please have a look at the README for additional notes.

Pode 07-08-2010 06:27 AM

I have a small problem with lxsession-edit package for slackware 13. The lxsession-edit.desktop looks like this and it won't show in the menu
Code:

[Desktop Entry]
Type=Application
Icon=xfwm4
Exec=lxsession-edit
_Name=Desktop Session Settings
_Comment=Manage applications loaded in desktop session
Categories=Settings;DesktopSettings;X-LXDE-Settings;
NotShowIn=GNOME;KDE;XFCE;

Just need to correct the Name and the Comment line and it will show in the menu.

Abount libfm/pcmanfm you will need to upgrade slackwares glib version because it will give you this error with glib2-2.22.5
Code:

GLib-GIO-WARNING **: Extension point gio-native-volume-monitor registered multiple times
I'am using glib2-2.24.1 and usisks-1.0.1 with pcmanfm and it is working great.

TSquaredF 07-11-2010 02:35 PM

Once I got the lxde-common tarball downloaded from sourceforge, I got all of LXDE built. I like it a lot, but not as much as pure fluxbox. I even tried it with fluxbox instead of openbox. One of the reasons I moved from xfce to fluxbox was the lack of a menu editor in xfce. I have the same problem with lxde. Also, the lxde wiki gave two methods to autostart programs; one involved editing a file, the other creating .desktop files in ~/.config/autostart. Editing the file did not work & I really don't like creating a .desktop file for every program I want autostarted. I really don't need a lightweight desktop on either of my machines, but I prefer the lightweight to any of the heavyweights. Overall, I'll give lxde a thumbs up, but will probably go back to fluxbox.

rworkman 07-12-2010 03:44 AM

ponce,

I'm glad to see you're looking at the rest of lxde. I poked at lxdm only because someone on IRC was wanting to use it, and they encountered a problem that I couldn't solve without actually installing it and testing it (note that there's a patch in the SBo build to fix that problem) :) On that note, I wanted to patch the bottom right shutdown menu to add a 'suspend' option, but I never could get it quite right. I managed to get the option to appear, and I *thought* I got the right calls in place to exec pm-suspend when clicking it, but theory and practice diverged at that point. Something to look at if you feel so inclined (and please submit to upstream if you do).

Anyway, I'd love to see all of this on SlackBuilds.org if/when you get to the point where you're happy with it.

rworkman 07-12-2010 03:46 AM

Hrm, after looking at your build stuff, I see you didn't use the lxdm from SBo - you might want to consider that. :-)
You'll also want to fix up xinitrc.lxde to test for DESKTOP_SESSION as a condition for using ck-launch-session:

Code:

Start the window manager:
if [ -z $DESKTOP_SESSION ]; then
    ck-launch-session startlxde
else
    startlxde
fi


ponce 07-20-2010 01:58 AM

sorry for the late reply, and thanks robby for the precious hints: I'm managing to do something in these days on the git version with udisks, I prepared some packages and they work, but I have to fix some minor stuff here and there (the default panel profile mainly but also the things you and the people here and in slax forum -I'm doing this for also for slax-remix- pointed out).
I don't know if I can help with the suspend stuff as unfortunately I am not a C coder but I will have a look at other distro patches for hints ;)

for submitting to slackbuilds.org I will have to rewrite all of alien bob's scripts (maybe getting some hints from there :) ), if the idea is ok for him...

Alien Bob 07-20-2010 03:21 AM

Quote:

Originally Posted by ponce (Post 4039048)
sorry for the late reply, and thanks robby for the precious hints: I'm managing to do something in these days on the git version with udisks, I prepared some packages and they work, but I have to fix some minor stuff here and there (the default panel profile mainly but also the things you and the people here and in slax forum -I'm doing this for also for slax-remix- pointed out).
I don't know if I can help with the suspend stuff as unfortunately I am not a C coder but I will have a look at other distro patches for hints ;)

for submitting to slackbuilds.org I will have to rewrite all of alien bob's scripts (maybe getting some hints from there :) ), if the idea is ok for him...

Sure, you can grab my SlackBuilds and adapt them to the slackbuilds.org template, I am OK with that (leave the copyright header as-is and then add your own name to it).

I like how you took the KDE.SlackBuild and created an all-in-one SlackBuild which creates all of the packages. Wish I had thought of that :-) I may end up adopting your script modifications.


All times are GMT -5. The time now is 01:22 PM.