Find the answer to your Linux question:
Results 1 to 10 of 10
Hi everyone I am trying to make my own DE on Lubuntu, I have Afterstep Hsetroot Wbar Cairo-dock Conky I have them all installed. I have been trying to follow ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! jreidsma's Avatar
    Join Date
    Aug 2011
    Posts
    93

    Trying to make own DE, but error comes up when starting it


    Hi everyone

    I am trying to make my own DE on Lubuntu, I have
    Afterstep
    Hsetroot
    Wbar
    Cairo-dock
    Conky

    I have them all installed. I have been trying to follow this webpage:
    How to Easily Create a Custom Lightweight Desktop Environment

    I decided to name it kittenDE (for reasons unknown) and so I made the kittenDE.sh file:
    Code:
    afterstep &
    hsetroot &
    wbar &
    cairo-dock $
    conky -o
    I also tried adding the -use-root-window and -full ~abstract.jpg to it, just incase that had something to do with it.

    I then made the .desktop file:
    Code:
    [Desktop Entry]
    Encoding=UTF-8
    Name=KittenDE
    Comment=Custom DE for KittenOS
    Exec=/usr/bin/kittenDE.sh
    Type=Application
    And on boot (after signing in and everything) it gives me this error:
    Code:
    : unable to launch "/usr/bin/kittenDE.sh" X session --- "/usr/bin/kittenDE.sh" not found; falling back to default session.
    And then it goes back to the login screen.

    I also tried having the .sh file in the root part of the filesystem.

    I saved it to /usr/bin because I noticed that was were iceWM's location was.

    Any ideas or suggestions? I should have known when I started that something would go wrong I might try a different WM, one that I have had experience with maybe.

  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,567
    Is kittenDE.sh executable? If not run
    Code:
    chmod +x /usr/bin/kittenDE.sh
    It would also be worth making sure the owner:group are the same as the icewm file. You can check that using
    Code:
    ls -l
    when in the /usr/bin/ directory and if neccessary changing it using
    Code:
    chown USER_HERE:GROUP_HERE kittenDE.sh
    while in the same directory.
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    The Fifth Continent

  3. #3
    Just Joined! jreidsma's Avatar
    Join Date
    Aug 2011
    Posts
    93
    I ran
    Code:
    chmod +x /usr/bin/kittenDE.sh
    and
    Code:
    chown root:root kittenDE.sh
    (when I ran ls -l it said root root for everything so I put that down )

    Now when logging in (and selecting session kittenDE) it goes black, then goes back to the log in screen. Before going back to the log in screen though it does a few random things. Sometimes it may show script, a dock, the screen may go red, or it may do nothing at all. It sometimes does nothing, but sometimes may do all of them. And if it does do any of those it is only for a split second.

    But if I log in the guest account it works fine. And with my user account it loads partially (only the dock and conky, no afterstep stuff except click menu and background.)

    EDIT:
    After restarting the computer afterstep works for guest and user account. But not for root.

    I am trying to enable compositing for cairo dock and conky, but I can figure it out lol
    Last edited by jreidsma; 06-22-2012 at 07:13 PM.

  4. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,567
    There may be some clues in the ~/.xsession-errors file
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    The Fifth Continent

  5. #5
    Just Joined! jreidsma's Avatar
    Join Date
    Aug 2011
    Posts
    93
    Before you posted I removed conky and cairo-dock.

    Now today I booted up as root with kittenDE and now it works... Afterstep came up and everything.

    I am going to try conky again, get that working. And then try out anything else I want.

    Do you know if Afterstep has a dock (like docky) by default? I didn't know Afterstep had a dock but apparently it does

    EDIT:
    Nevermind, root doesn't work anymore... I will get the error file on here
    Last edited by jreidsma; 06-23-2012 at 02:12 PM.

  6. #6
    Just Joined! jreidsma's Avatar
    Join Date
    Aug 2011
    Posts
    93
    Lol, looks like that was the end to my idea

    I uninstalled lxde (I started with lubuntu) and now a bunch of errors come up on boot and it won't boot past the ubuntu loading screen.

    So I guess I will do a fresh reinstall of some linux distro and not worry about customizing Ubuntu I never use Ubuntu anways

  7. #7
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,567
    I reckon you've got the bug... it's only a matter of time
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    The Fifth Continent

  8. #8
    Just Joined! jreidsma's Avatar
    Join Date
    Aug 2011
    Posts
    93
    What, that I'll try again

  9. #9
    Just Joined!
    Join Date
    Jun 2012
    Posts
    12
    I'd recommend Linux from scrath for you.
    That way you can build your own linux distro - and you wouldn't have any programmes in your way to muck up your own DE.

    Here's the link :linuxfromscratch.org/lfs/downloads/7.1/LFS-BOOK-7.1.pdf

  10. #10
    Just Joined! jreidsma's Avatar
    Join Date
    Aug 2011
    Posts
    93
    I was going to do LFS first but decided that just customizing Ubuntu would be easier we all saw how that went.

    I have the LFS book already bookmarked, I may start it again.

    Thanks Hope everyone is having a nice day.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •