Fedora Linux Support Community & Resources Center
  #1  
Old 18th September 2011, 10:12 AM
FriedChips Offline
Registered User
 
Join Date: Jul 2007
Location: Indiana USA
Posts: 1,715
linuxfirefox
[SOLVED] Application and Service startup help

In need of some help with the startup scripts. I have installed Fedora 15 LXDE spin. Gnome 3 is really not my thing. I actually didn't much care for LXDE either. I landed on openbox for a de. It is quite minimal but still has everything I wanted. I would really like to get rid of the login manager tho. Not even sure which one the LXDE spin uses by default. I just want openbox to start automagically with my user. I also need the wicd service to start automatically, and would love to have xcompmgr and avant-window-navigator autostart. Can anyone help me with which login scripts these changes need to be made to? Thanks in advance.

Fried.
__________________
The answer to all of lifes questions are buried somewhere in the Google search engine.

Code:
[Stephen@localhost ~]$ whatis this?
this?: nothing appropriate

Last edited by FriedChips; 19th September 2011 at 09:10 AM. Reason: More accurate title and add solved
Reply With Quote
  #2  
Old 18th September 2011, 10:59 AM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,910
linuxfedorafirefox
Re: Startup Scripts Help

Several of the login managers/diplay-managers hae the auto-login option. (Gnome's gdm doesn't I think).
Look in /etc/sysconfig/desktop if it exits). It gives the *dm in use. If none specified or no file i's gdm.
lxdm and kdm are options. Install the packages, set the desktop file and edit the config for autologin.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #3  
Old 18th September 2011, 12:29 PM
FriedChips Offline
Registered User
 
Join Date: Jul 2007
Location: Indiana USA
Posts: 1,715
linuxfirefox
Re: Startup Scripts Help

/etc/sysconfig/desktop showed that lxdm was being used. After a little reading I found that /etc/lxdm/lxdm.conf was what I needed to edit. The options are already there just need uncommented an modified to suit. The interesting part was that I first set the default session command to /usr/bin/openbox. This didn't do what I expected. I guess that lxdm uses the openbox wm somehow? and when I picked the openbox from the lxdm login screen what I got was openbox with lxde features which I must say is a perfect balance of features and simplicity. Then I tried /usr/bin/openbox-lxde. This seemed to do the same thing. Finally I landed on /usr/bin/openbox-session. That got me where I wanted. Thanks for the help thus far!
__________________
The answer to all of lifes questions are buried somewhere in the Google search engine.

Code:
[Stephen@localhost ~]$ whatis this?
this?: nothing appropriate
Reply With Quote
  #4  
Old 18th September 2011, 01:22 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,483
linuxfirefox
Re: Startup Scripts Help

What do you mean by startup scripts?

Simply to start apps on login?
This might help: http://wiki.lxde.org/de/LXSession#autostart

How tp make make start on diffrent desktops?
Then its more like: http://forums.fedoraforum.org/showthread.php?t=269322
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot
Reply With Quote
  #5  
Old 19th September 2011, 04:58 AM
FriedChips Offline
Registered User
 
Join Date: Jul 2007
Location: Indiana USA
Posts: 1,715
linuxfirefox
Re: Startup Scripts Help

Sea, yes for the xcompmgr and avant-window-navigator I simply need them to autostart. I guess maybe the only thing I need the actual startup scripts for is to have the wicd service started on bootup? IDK. Your links were of some help, however it seems that those autostart files only launch when you start a full out LXDE session. I am only using an openbox session with the LXDE features or something like that. It is more than just openbox but not a full blown LXDE session. I am gonna look around to see if OpenBox has a similar startup file.

---------- Post added at 11:58 PM ---------- Previous post was at 11:22 PM ----------

Okay found some similar info. http://openbox.org/wiki/Help:Autostart I have placed files containing the commands I want executed on startup to no avail.

cat ~/.config/openbox/autostart
Code:
xcompmgr &
avant-window-navigator &
and also

cat /etc/xdg/openbox/autostart
Code:
xcompmgr &
avant-window-navigator &
Not sure why that isn't working. Any other ideas?
__________________
The answer to all of lifes questions are buried somewhere in the Google search engine.

Code:
[Stephen@localhost ~]$ whatis this?
this?: nothing appropriate
Reply With Quote
  #6  
Old 19th September 2011, 05:34 AM
flyingfsck Online
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,889
linuxfirefox
Re: Startup Scripts Help

Hmm, 'don't much care for LXDE either':
You should try XFCE. It is significantly more polished than LXDE.
Reply With Quote
  #7  
Old 19th September 2011, 09:08 AM
FriedChips Offline
Registered User
 
Join Date: Jul 2007
Location: Indiana USA
Posts: 1,715
linuxfirefox
Re: Startup Scripts Help

Openbox under LXDE is very leightweight and functional. It's quite sweet with xcompmgr and awn.



---------- Post added at 02:03 AM ---------- Previous post was at 01:38 AM ----------

okay I'm getting closer here. I got the wicd service to autostart with:
Code:
# chkconfig wicd on


---------- Post added at 04:08 AM ---------- Previous post was at 02:03 AM ----------

Alright I'm there now. It seems that fedora uses an older version of OpenBox than what the howto is written for. The autostart files before 3.5 were called autostart.sh not just autostart. Once I modified autostart.sh Everything was golden. Thanks for Everyones help!
__________________
The answer to all of lifes questions are buried somewhere in the Google search engine.

Code:
[Stephen@localhost ~]$ whatis this?
this?: nothing appropriate
Reply With Quote
  #8  
Old 19th September 2011, 11:28 AM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,483
linuxfirefox
Re: Startup Scripts Help

Did you try the folder: "~/config/autostart"
This folder should be read on login.

€dit:
If you're heading now where i just moved...
~/.config/openbox/lxde-rc.xml
to get them started on the proper desk
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 19th September 2011 at 11:31 AM.
Reply With Quote
  #9  
Old 20th September 2011, 06:42 AM
FriedChips Offline
Registered User
 
Join Date: Jul 2007
Location: Indiana USA
Posts: 1,715
linuxfirefox
Cool Re: Startup Scripts Help

Are you suggesting I use the lxde-rc.xml files to autostart them? Proper Desk? You mean which desktop ( of the 4 )? The two I need autolaunched have to be active for all Desktops. xcompmgr is just kind of a background thing. It's a lightweight compisiting manager. awn looks like crap with no compositing active, and compiz is just overkill for my lappy. One more screenshot just to show off. I really love the results here. Openbox is perfect to use with awn too. If it crashes I still have the right click menu, but absolutely no panel or any other "blemishes" on my screen. I love my real estate

__________________
The answer to all of lifes questions are buried somewhere in the Google search engine.

Code:
[Stephen@localhost ~]$ whatis this?
this?: nothing appropriate
Reply With Quote
  #10  
Old 20th September 2011, 10:36 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,483
linuxfirefox
Re: Startup Scripts Help

No, the xml file is just how/where they are placed and will look like.
Its place is in.. guess it was: /home/$USER/.config/openbox

To start your apps, its the common folder (might need to create it first, though) /home/$USER/.config/autostart

Just place some basic *.desktop files in there, they MAY include special startup arguments.
I've used them to have a backround terminal without decoration, maximized but not fullscreen, so i can still 'access' my hidden menubar

Here's what i've added to lxde-rc.xml: (note the diffrences between lxterminal and sea console)
PHP Code:
    <!--    # my stuff
    
sudo leafpad $HOME/.config/openbox/lxde-rc.xml
    obxprop 
grep "^_OB_APP"     # this one's to get the apps info: role, name, type, etc
-->
    <!-- 
Terminal -->
    <
application title="Lxerminal">
      <
decor>yes</decor>
      <
fullscreen>no</fullscreen>
      <
skip_taskbar>no</skip_taskbar>
      <
skip_pager>no</skip_pager>
    </
application>
    <!-- 
BG Console -->
    <
application title="sea Console">
      <
decor>no</decor>
      <
fullscreen>no</fullscreen>
      <
maximized>yes</maximized>
      <
skip_taskbar>yes</skip_taskbar>
      <
skip_pager>yes</skip_pager>
      <
layer>below</layer>
    </
application>
    <!-- 
Firefox -->
    <
application class="Firefox" role="browser">
      <
decor>no</decor>
      <
desktop>2</desktop>
      <
fullscreen>yes</fullscreen>
      <
maximized>true</maximized>
    </
application>
    <!-- 
Evolution -->
    <
application name="evolution*">
      <
decor>no</decor>
      <
desktop>3</desktop>
      <
fullscreen>yes</fullscreen>
      <
maximized>true</maximized>
    </
application>
    <!-- 
BG Music -->
    <
application name="rhythmbox">
      <
decor>yes</decor>
      <
desktop>4</desktop>
      <
fullscreen>no</fullscreen>
    </
application>
    <!-- 
Communication -->
    <
application name="skype">
      <
decor>yes</decor>
      <
desktop>4</desktop>
      <
fullscreen>no</fullscreen>
    </
application>
    <
application name="xchat2">
      <
decor>yes</decor>
      <
desktop>4</desktop>
      <
fullscreen>no</fullscreen>
    </
application
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 20th September 2011 at 10:41 PM.
Reply With Quote
Reply

Tags
scripts, startup

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Startup Scripts on F15 Krittis Using Fedora 7 12th August 2011 03:11 PM
Help with Startup Scripts osikes Using Fedora 3 27th February 2009 03:24 AM
Startup Scripts? I think. keeler1 Programming & Packaging 7 7th March 2007 06:11 AM
How do I add a command to my startup scripts? Vosper Installation, Upgrades and Live Media 2 6th July 2005 11:21 PM


Current GMT-time: 13:48 (Wednesday, 22-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Hannoversch Munden Instagram Photos - Auraiya Travel Photos on Instagram - Ash Shafa Instagram Photos