Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Saving e16 config files [SOLVED]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
rcxAsh
Guru
Guru
Posts: 457
Joined: Thu Jul 03, 2003 4:07 am
Location: /etc/localtime
Contact:
Contact rcxAsh
Website

Saving e16 config files [SOLVED]

  • Quote

Post by rcxAsh » Wed Jun 28, 2006 2:41 am

I've been trying to get programs to autostart in e16, but have had no success.

Two things I've seen so far:
- Add a script set to autostart in the e_config--0.0.snapshots file
- Use the e16 Session Scripts, which involves adding some keys to e_config--0.0.cfg

The issue that I'm having is that after making the suggested changes, e16 goes ahead and removes the new settings from the files the next time I restart.

Am I doing something wrong?
Last edited by rcxAsh on Sat Jul 08, 2006 3:50 am, edited 1 time in total.
rcxAsh
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Mon Jul 03, 2006 4:17 pm

Have you tried autostarting the programs from .xinitrc? My .xinitrc autoloads things like an Eterm, gkrellm2, and Xscreensaver:

Code: Select all

#!/bin/sh
# Execute enlightenment. ALWAYS make sure this is at the end of this
# startup file - and ALWAYS run things before it with an & at the end.
# For example:
#   xterm &
#   kpanel &
# It is suggested to use Enlightenment's Remember dialog for having apps
# spawned automatically on login.
/usr/bin/Eterm --trans --shade 30 --tint 0x880088 --visual-bell --buttonbar=0 --geometry +50+700 --title Work &
/usr/bin/gkrellm2 -geometry 0-0 &
/usr/bin/xscreensaver &
exec /usr/bin/e16
Top
rcxAsh
Guru
Guru
Posts: 457
Joined: Thu Jul 03, 2003 4:07 am
Location: /etc/localtime
Contact:
Contact rcxAsh
Website

  • Quote

Post by rcxAsh » Mon Jul 03, 2006 5:07 pm

I have always been a little fuzzy about the .xinitrc and .xsession files.

My understanding is that these usually only kick in when using a command like startx? I am using GDM as my desktop manager.

As such, I have always used a WM's own way of autostarting applications.

In the end for e16 though, I figured out that it seems to work if I edit the config files while I am not logged into e16.

Do you use a .xinitrc file with a desktop manager?
rcxAsh
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Mon Jul 03, 2006 5:14 pm

I use startx from the command line.

However, googling for .xinitrc xdm found me the following interesting url: http://www.tuxfiles.org/linuxhelp/changeman.html. Quoting from it on the relevant information:
< xdm and .xsession >

If you have a graphical login and have xdm as your display manager, you may also be wondering how to change the default window manager because xdm doesn't provide a way of choosing your window manager when you log in. You'll have to edit a text file just like in the case of editing the .xinitrc file, but this time you need to edit a file called .xsession.

The .xsession file is also located in your home directory, and you edit it exactly the same way as you'd edit .xinitrc, only the file name is different. So everything I said above applies to .xsession too. If the file isn't already in your home directory, just create it. After editing .xsession and saving the changes, your new window manager starts up the next time you log in via xdm.
So...my guess is take the stuff I suggested from my .xinitrc file and put it in your .xsession file. Pay careful attention to make sure that Enlightenment is the last thing you start or things won't work quite right :D
Top
rcxAsh
Guru
Guru
Posts: 457
Joined: Thu Jul 03, 2003 4:07 am
Location: /etc/localtime
Contact:
Contact rcxAsh
Website

  • Quote

Post by rcxAsh » Sat Jul 08, 2006 3:32 am

Yah, that's right, I think I remember that xdm makes use of this file..

However, I don't think that gdm uses this. gdm allows a user to choose which desktop/window manager they wish to use. As such, I don't think it pulls in a user's .xsession file.

Nevertheless, I managed to get e16 to start up the programs I wanted. (I had to do this on my desktop for fvwm2, but it was much more straight forward in fvwm2 than it was in e16...)

Thanks for the thoughts, wrs4!
rcxAsh
Top
wrs4
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Tue May 27, 2003 7:55 pm
Location: Alexandria, VA

  • Quote

Post by wrs4 » Sat Jul 08, 2006 3:36 am

No problemo. You might post a note as to what you did for future searchers :)

Also, you should probably mark this thread's title as "RESOLVED" so that other would-be helpers don't have to sort through it :)
Top
rcxAsh
Guru
Guru
Posts: 457
Joined: Thu Jul 03, 2003 4:07 am
Location: /etc/localtime
Contact:
Contact rcxAsh
Website

  • Quote

Post by rcxAsh » Sat Jul 08, 2006 3:50 am

Will do; I had briefly mentioned what I did differently above, which was essentially not editing the config files while I was logged into an e16 session. I had seen in another thread that one user cautioned against being logged into e16 while editing its config files. And sure enough, it didn't seem to like that.

As for the actual auto starting part, this thread was particularly useful:
http://forums.gentoo.org/viewtopic-t-36 ... start.html
rcxAsh
Top
Post Reply

7 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic