Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
E17 is coming(part 6) [locked]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 28, 29, 30  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dcreatorx
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2008
Posts: 111

PostPosted: Wed Oct 29, 2008 5:20 pm    Post subject: Reply with quote

After get e17 right compiled and installed it's not working. When I execute enlightenment_start -display :0.0 I got the error have you set up your $DISPLAY VARIABLE ? Is there something I missed during post-install ?
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Wed Oct 29, 2008 5:41 pm    Post subject: Reply with quote

nordic bro: That is the black & white theme, which is the default theme in e17 now :D
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Wed Oct 29, 2008 5:43 pm    Post subject: Reply with quote

dcreatorx wrote:
After get e17 right compiled and installed it's not working. When I execute enlightenment_start -display :0.0 I got the error have you set up your $DISPLAY VARIABLE ? Is there something I missed during post-install ?
You need to use some kind of login manager. enlightenment_start by itself will not start an X session.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
dcreatorx
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2008
Posts: 111

PostPosted: Wed Oct 29, 2008 5:45 pm    Post subject: Reply with quote

When I start entranced I cant login. I use root // pass and it just does not get logged in. Help me please !
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Wed Oct 29, 2008 7:51 pm    Post subject: Reply with quote

You must compile entrance with pam USE flag enabled. Other than that, I do not think you need to configure anything else. Entrance also has some config files in /etc, so if you did not run etc-update/dispatch-conf/cfg-update after emerging entrance, you will not be able to login properly.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
dcreatorx
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2008
Posts: 111

PostPosted: Wed Oct 29, 2008 8:12 pm    Post subject: Reply with quote

I compiled it using the easy-e17.sh script. Does that involve adding pam in to the USE flags too ?
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Wed Oct 29, 2008 10:00 pm    Post subject: Reply with quote

dcreatorx wrote:
I compiled it using the easy-e17.sh script. Does that involve adding pam in to the USE flags too ?
easy-e17 does not use portage to compile/install the packages. So, you will need to look at the log files to find out what it compiled entrance with. If entrance was compiled with pam, then you probably need to ensure that an 'entrance' file is present in /etc/pam.d.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
dcreatorx
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2008
Posts: 111

PostPosted: Wed Oct 29, 2008 10:24 pm    Post subject: Reply with quote

Yes, the file is there. Actually I moved it to /etc/pam.d and I get logged in, but then I get the bug error with two buttons telling that e17 cannot start.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Wed Oct 29, 2008 11:03 pm    Post subject: Reply with quote

1. Check that you are launching enlightenment_start via entrance. Look at the enlightenment file in /usr/share/xsessions.

2. Try to ensure that you have removed the old e config, in particular move ~/.e/e/config to some other place, so that it can get recreated again.

Other than the above two reasons, I can't figure out what has gone wrong with your e installation.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
dcreatorx
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2008
Posts: 111

PostPosted: Thu Oct 30, 2008 9:00 am    Post subject: Reply with quote

Well I don't have any graphic environment right now. I installed a fresh gentoo, so I don't kow what files I have to create in order to start enlightenment. What files do I have to create in order to launch an xsession correctly ?
Back to top
View user's profile Send private message
dcreatorx
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2008
Posts: 111

PostPosted: Thu Oct 30, 2008 9:38 am    Post subject: Reply with quote

I noticed that if I create an .xinitrc file pointing to "enlightenment_start" I can bypass the entranced, but I got directly the same error I described before. The environment bring an error saying that it can't access properly to the libraries.
Back to top
View user's profile Send private message
dcreatorx
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2008
Posts: 111

PostPosted: Thu Oct 30, 2008 10:13 am    Post subject: Reply with quote

I've got an error on the DBUS library. When e17 crashesI get : D-bus libraries appear to be incrorrectly set-up. Failed to read machine uuid. No such file or directory.
Back to top
View user's profile Send private message
dcreatorx
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2008
Posts: 111

PostPosted: Thu Oct 30, 2008 10:18 am    Post subject: Reply with quote

Done ! I didn't had an uuid !! I created it with dbus-uuid --ensure. Started and then working. I will follow this thread for more information.
Back to top
View user's profile Send private message
duckz
Apprentice
Apprentice


Joined: 26 Jun 2007
Posts: 158

PostPosted: Fri Oct 31, 2008 7:15 pm    Post subject: Reply with quote

Anyone got e-utils (e17setroot) compiled and working with current e17?
_________________
emerge -va techygadget.com <- install my blog in gentoo
./configure anime wallpaper
make install premium drupal theme
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Fri Oct 31, 2008 8:22 pm    Post subject: Reply with quote

duckz wrote:
Anyone got e-utils (e17setroot) compiled and working with current e17?

e_utils have been unmaintained for ages, and e17setroot can easily be replaced with feh, if all you want to do is set a background for fake transparency.
Code:
feh --bg-scale <some image>

_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
duckz
Apprentice
Apprentice


Joined: 26 Jun 2007
Posts: 158

PostPosted: Sat Nov 01, 2008 7:51 pm    Post subject: Reply with quote

does feh directly changes e17 background or just fake transparency?
_________________
emerge -va techygadget.com <- install my blog in gentoo
./configure anime wallpaper
make install premium drupal theme
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sat Nov 01, 2008 8:04 pm    Post subject: Reply with quote

feh will change root background. e17 background is not the root background; it is a layer above the root background. Only way to set e17 background is via the wallpaper dialog or via enlightenment_remote if you already have a .edj background file.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
Whizzkid
n00b
n00b


Joined: 14 Sep 2008
Posts: 1

PostPosted: Sun Nov 02, 2008 1:16 pm    Post subject: Reply with quote

Hi guys,


I've gotten e17 too install through enlightenment-overlay but when I try to log in via slim it does not fire up and when I revert back to the cli I see an error message that says my Ecore_Evas is does not support x11, but wouldn't this be setup seeing as enlightenment cannot work without the X-server. So any ideas, TIA. I'm not new to Linux but I am new to the world of Gentoo so I hope I've given enough info.





Dean..
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sun Nov 02, 2008 4:42 pm    Post subject: Reply with quote

Maybe you don't have the "X" USE flag enabled?
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
duckz
Apprentice
Apprentice


Joined: 26 Jun 2007
Posts: 158

PostPosted: Wed Nov 12, 2008 3:25 pm    Post subject: Reply with quote

ppurka wrote:
feh will change root background. e17 background is not the root background; it is a layer above the root background. Only way to set e17 background is via the wallpaper dialog or via enlightenment_remote if you already have a .edj background file.


ppurka do you know how to mass convert jpg to edj file?
_________________
emerge -va techygadget.com <- install my blog in gentoo
./configure anime wallpaper
make install premium drupal theme
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Thu Nov 13, 2008 12:09 am    Post subject: Reply with quote

Sure, use this function :D (You may need to modify it to suit your needs)
Code:
# Function to create edj file {{{
create_edj() {
    local OLD_PWD="$(pwd)"
    local tmp_dir
    local edc_file=tmp_image.edc
    local edj_file=${@##*\/}; edj_file=${edj_file%\.*}.edj
    local image_full_path="$@"

    tmp_dir=$(mktemp -d /tmp/e17bg.XXXX) || \
        die "Could not create temporary directory"
    cd $tmp_dir

    [[ -f "$image_full_path" ]] || \
        image_full_path="$OLD_PWD/$image_full_path"

    echo "#!/bin/sh
edje_cc --image_dir . --font_dir . $edc_file -o $edj_file" > ./build.sh
    chmod 700 ./build.sh
    echo "images { image: \"$image_full_path\" USER; }
collections {
  group { name: \"e/desktop/background\";
    data { item: \"style\" \"1\"; }
    max: 1680 1050;
    parts {
      part {
        name: \"col\"; type: RECT; mouse_events: 0;
        description {
          state: \"default\" 0.0;
          color: 255 255 255 255;
        }
      }
      part {
        name: \"bg\"; mouse_events: 0;
        description {
          state: \"default\" 0.0;
          min: 1680 1050;
          max: 1680 1050;
          image {
            normal: \"$image_full_path\";
          }
        }
      }
    }
  }
}" > $edc_file

    ./build.sh || die "Error in creating edj file"
    mv -f $edj_file $HOME/.e/e/backgrounds
    cd ${OLD_PWD}
    rm -rf $tmp_dir
} # }}}

You will want to change images { image: \"$image_full_path\" USER; } to "COMP" if you want to compress it and store it within the edj file. The "USER" actually makes the edj file reference the image present in the hard drive, without storing it within the edj. Also, change 1680x1050 to your desktop size.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
duckz
Apprentice
Apprentice


Joined: 26 Jun 2007
Posts: 158

PostPosted: Sat Nov 15, 2008 8:05 am    Post subject: Reply with quote

Ppurka : great! now I can modify my background changer to adopt your script, it becomes something like this :

Code:

#!/bin/bash

IMGDIR=/home/duckz/Images # set this to your jpg image dir
EDJDIR=~/.e/e/backgrounds
SLEEPTIME=3600 # in seconds
LOSSYRATE=90 # 0 - 100
WIDTH=1024 #Desktop width
HEIGHT=768 #Desktop height

while [ 1=1 ] ;

do

getrandomimg()
{
  ls $IMGDIR | perl -e '@f=<>; print $f[int(rand($#f+1))]'
  }
   
  IMG1=`getrandomimg`

  COMPARE=`ls $EDJDIR | grep $IMG1.edj`
  if [ "$COMPARE" != "$IMG1" ] ; then
                                     
        echo "images { image: "$IMGDIR/$IMG1" LOSSY $LOSSYRATE; }" >> $IMGDIR/$IMG1.edc
        echo "collections {" >> $IMGDIR/$IMG1.edc                                     
        echo "group { name: "e/desktop/background";" >>  $IMGDIR/$IMG1.edc
        echo "data { item: "style" "0"; }" >>  $IMGDIR/$IMG1.edc         
        echo "max: $WIDTH $HEIGHT;" >> $IMGDIR/$IMG1.edc       
        echo "parts {" >>  $IMGDIR/$IMG1.edc           
        echo "part { name: "bg"; mouse_events: 0;" >> $IMGDIR/$IMG1.edc
        echo "description { state: "default" 0.0;" >>  $IMGDIR/$IMG1.edc
        echo "image { normal: "$IMGDIR/$IMG1"; }" >>  $IMGDIR/$IMG1.edc
        echo "} } } } }" >> $IMGDIR/$IMG1.edc                         

  edje_cc $@ -id . -fd . $IMGDIR/$IMG1.edc -o $EDJDIR/$IMG1.edj
  enlightenment_remote -default-bg-set $EDJDIR/$IMG1.edj
  else
  enlightenment_remote -default-bg-set $EDJDIR/$IMG1.edj
  fi
   
  #Set the Fake root

  Esetroot -s $IMGDIR/$IMG1

  # Delete the edc file
  rm -f $IMGDIR/$IMG1.edc
                         
        sleep $SLEEPTIME
done
exit 0


thanks dude!.
_________________
emerge -va techygadget.com <- install my blog in gentoo
./configure anime wallpaper
make install premium drupal theme
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sat Nov 15, 2008 9:08 am    Post subject: Reply with quote

Great! Glad I could help :)
BTW, you probably know it already, but you need not use multiple echo's to write multiple lines to the file. Just one echo should be good enough (newlines are preserved). Or you could cat like this:
Code:
cat <<END >file.edc
..... all those edc scripts, ....
..... including $VARIABLES, which get replaced by their values ....
END
The advantage is that you need to do only one write to the file.edc.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
duckz
Apprentice
Apprentice


Joined: 26 Jun 2007
Posts: 158

PostPosted: Sun Nov 16, 2008 2:07 pm    Post subject: Reply with quote

ppurka: yeah you right about the echo command. I guess I like typing repeating command for fun :) .

about the cat command, I try to use it with sed but seems that putting the command and variable together in the script and echo it to new file make less lheadache fo me :).
_________________
emerge -va techygadget.com <- install my blog in gentoo
./configure anime wallpaper
make install premium drupal theme
Back to top
View user's profile Send private message
krisse
Guru
Guru


Joined: 15 Mar 2005
Posts: 325
Location: Sweden

PostPosted: Mon Dec 01, 2008 12:41 pm    Post subject: Reply with quote

Vapier's overlay seems to have been updated.

Among the changes, as far as I browsed through it yesterday, are included, but not limited to:
  1. switch to SVN;
  2. inclusion of eina;
  3. x11-wm/e has been moved to x11-wm/enlightenment.

Tried to build it yesterday, but failed somewhere along the line. Not sitting at the computer now, but if I remember correctly, I think the errors were due to 3) above, i e ebuilds still depending on "e" rather than "enlightenment". I probably just happened to sync before all updates were in place or some such.

Who knows, maybe it even works if someone would try it now. :)
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 28, 29, 30  Next
Page 7 of 30

 
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