DebianThis 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.
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.
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.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.