Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-16-2005, 10:15 PM
|
#1
|
Member
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460
Rep:
|
how to launch applications on x login?
Sorry to ask such a mundane and probably simple question, but is there a script file that I can create in my user directory that will be executed automatically on X login? I've tried a couple obvious names like ".Xsession", ".xsession", and ".xinitrc" but the commands I inserted did not get executed on login. Thanks for any help.
|
|
|
06-16-2005, 11:54 PM
|
#2
|
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,847
Rep:
|
What ?dm are you using? xdm, kdm or gdm??
|
|
|
06-17-2005, 09:09 AM
|
#3
|
Member
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460
Original Poster
Rep:
|
i'm using gdm as the login manager, but xfce as my desktop environment. thx.
|
|
|
06-17-2005, 09:54 AM
|
#4
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187
|
From the xfce utilities and scripts manual:
Quote:
startxfce4
The startxfce4 is a convenient script to start an Xfce 4 session from the console. It will give you a session with a taskbar and a panel and with the desktop manager and window manager running.
All programs, or symbolic links to programs, in ~/Desktop/Autostart/ will be run by startxfce4 on startup.
To customize the behaviour of startxfce4, copy the file ${sysconfdir}/xfce4/xinitrc to your personal ~/.config/xfce4/ directory and edit that file. If you install from source, ${sysconfdir} defaults to /usr/local/etc; for binary packages it is often set to /etc.
With the inclusion of a session manager in Xfce 4.2, the preferred way to change startup behaviour is by using the "Save session" option in the logout dialog.
|
|
|
|
06-17-2005, 10:34 AM
|
#5
|
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597
Rep:
|
Quote:
With the inclusion of a session manager in Xfce 4.2, the preferred way to change startup behaviour is by using the "Save session" option in the logout dialog.
|
Window Maker has a similar "Save session" option -- it's perfect for us lazy users who don't want to edit config files all the time.
However, there are some small window managers that don't have any session manager or autostart files of their own. In such cases it's useful to know that choosing the "Default session" in gdm makes it read the .xsession file (if it exists) in your home directory.
|
|
|
06-17-2005, 09:38 PM
|
#6
|
Member
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460
Original Poster
Rep:
|
thanks for the help. what i really wanted to do was to set the keyboard map to dvorak at desktop environment startup. all i needed to do was copy the dvorak keymap to my user directory:
Code:
cd ~
cp /usr/share/xmodmap/xmodmap.dvorak .Xmodmap
|
|
|
07-10-2005, 11:38 PM
|
#7
|
LQ Newbie
Registered: Jul 2005
Posts: 1
Rep:
|
Alternatively, I think adding
Option "XkbLayout" "dvorak"
to your X11/xorg.conf file would've worked.
|
|
|
07-11-2005, 07:07 PM
|
#8
|
Member
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460
Original Poster
Rep:
|
yeah, it would have. but i have users that don't type dvorak. i just wanted dvorak for my user account.
|
|
|
All times are GMT -5. The time now is 08:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|