View previous topic :: View next topic |
Author |
Message |
xmwxd n00b
Joined: 17 Sep 2004 Posts: 64
|
Posted: Wed Dec 29, 2004 5:21 pm Post subject: what can I do to make some command start |
|
|
when I choose enlightenment in gdm
I can enter enlightenment
but I want some command start when I enter it
such as numlockx
what can I do ?
it can not work when I add "exec numlockx" in ~/.xsession
need help! |
|
Back to top |
|
|
papal_authority Veteran
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Wed Dec 29, 2004 5:39 pm Post subject: |
|
|
Can you edit the enlightenment desktop file in /usr/share/xsessions/ and add the line numlockx &? _________________ The free market gave me gonorrhea. |
|
Back to top |
|
|
xmwxd n00b
Joined: 17 Sep 2004 Posts: 64
|
Posted: Thu Dec 30, 2004 4:05 am Post subject: |
|
|
papal_authority wrote: | Can you edit the enlightenment desktop file in /usr/share/xsessions/ and add the line numlockx &? |
this is my enlightenment.desktop
code wrote: | [Desktop Entry]
Encoding=UTF-8
Name=Enlightenment
Comment=This session logs you into Enlightenment
Exec=enlightenment -theme winter
TryExec=
# no icon yet, only the top three are currently used
Icon=
Type=Application |
how can I add the line ?
please give me an example ,thanks |
|
Back to top |
|
|
papal_authority Veteran
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Thu Dec 30, 2004 5:02 am Post subject: |
|
|
Well admittedly I haven't used GDM for a year or so. You could try:
Code: | Exec=numlockx &; enlightenment -theme winter |
Although I have no idea if it would work. I'd probably make a script called /usr/bin/startenlightenment like this:
(Don't forget to chmod 0755 /usr/bin/startenlightenment)
Code: | #!/bin/sh
numlockx &
enlightenment -theme winter |
and then use:
Code: | Exec=/usr/bin/startenlightenment |
I hated GDM when I tried it and went back to XDM for precisely these kinds of reasons. _________________ The free market gave me gonorrhea. |
|
Back to top |
|
|
|