LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   E17 startup scripts. (https://www.linuxquestions.org/questions/linux-desktop-74/e17-startup-scripts-4175419190/)

cov 07-29-2012 07:55 AM

E17 startup scripts.
 
I need to have nm-applet in my shelf.

I have appended the following in my .bashrc:

nm-applet &

However, the applet doesn't get placed in the shelf until the Bash Terminal is run and then it terminates when the Terminal is closed.

Where do I need to place the command so that it appears when e17 starts?

symon1980 07-29-2012 10:20 AM

cov

best person to ask would be Jeff Hoogland.... send him a msg on google+

https://plus.google.com/u/0/102409778834209317486

Karl Godt 07-29-2012 01:09 PM

1 Attachment(s)
Quote:

Originally Posted by cov (Post 4740529)
I need to have nm-applet in my shelf.

I have appended the following in my .bashrc:

nm-applet &

However, the applet doesn't get placed in the shelf until the Bash Terminal is run and then it terminates when the Terminal is closed.

Where do I need to place the command so that it appears when e17 starts?

I don't think .bashrc would be the right place because everytime a shellscript gets executed, .bashrc gets parsed.

And only if it is a #!/bin/bash script.

#!/bin/sh would also parse .bashrc if /bin/sh would be a link to /bin/bash .

The right place would be .xinitrc i think .

If .xinitrc has got a #!/bin/bash it should launch nm-applet which i am guessing is about "network-manager" .

In .bashrc it would need something like

Code:

pidof nm-applet || nm-applet &
to prevent multiple instances running.


All times are GMT -5. The time now is 05:06 PM.