[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] remembering commands with options



On Tue, 31 Oct 2006 16:08:24 +1300 Jochen Schroeder
<jochen.schroeder@gmail.com> babbled:

> Carsten Haitzler (The Rasterman) wrote:
> > On Tue, 31 Oct 2006 11:14:46 +1300 Jochen Schroeder
> > <jochen.schroeder@gmail.com> babbled:
> >
> >   
> >> Replying to myself,
> >>
> >> I just did another test I changed the command to:
> >>
> >> Exec=Eterm -n test -e vim +"cd NotesWiki" +"e ToDo.vimki" && echo "test"
> >>
> >> However .xsession-errors only has:
> >> REMEMBER CMD: "Eterm-ntest-evim+cd\ NotesWiki+e\ ToDo.vimki"
> >> ...
> >>     
> >
> > yes. you can only execute 1 command - not a sequence of commands, from
> > a .desktop file.
> >
> >   
> I think you misunderstood me. I also have to correct you, putting
> Exec=Eterm && Eterm into a desktop file works perfectly fine when
> starting from the menu or from startup/.order, it starts a second Eterm
> after the first is finished. My real problem is described below, when
> using the remember option: "Start this program on login" it does not
> work, because e does not use the .desktop file entry to start the
> program, but the command from the window properties. Also when it uses
> that command when it starts the program at login, all whitespace is
> lost, thus if you started the program with options it now cannot find
> the command. I'm asking why e is not just using the command from the
> corresponding desktop file when setting "Start this program on login".

i know what the real problem is :) just that running multiple commands works by
sheer luck only - not by design. i know about the other problem :)

> >> so it is dropping the part after the &&. I put the .desktop file into my
> >> startup/.order file and then the whole thing works fine. So when
> >> remembering an application for startup, e does not take the command from
> >> the corresponding .desktop file. I just had a look at the window
> >> properties and it only states Eterm -n test -e vim +"cd NotesWiki" +"e
> >> ToDo.vimki" there. This problem also manifests itself when trying
> >> remember to start seamonkey at login. The window properties show the
> >> command is "seamonkey-bin" so when remembering to start at login it
> >> tries to start using this command, which fails. Is this behavior
> >> intended? I would say the expected behavior would be for e to use the
> >> command from the corresponding .desktop file.
> >>
> >> Cheers
> >> Jochen
> >>
> >>
> >> -------------------------------------------------------------------------
> >> Using Tomcat but need to do more? Need to support web services, security?
> >> Get stuff done quickly with pre-integrated technology to make your job
> >> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> >> Geronimo
> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> _______________________________________________ enlightenment-devel
> >> mailing list enlightenment-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >>
> >>     
> >
> >
> >   
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com
裸好多
Tokyo, Japan (東京 日本)