Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Trying to startup xmms when fluxbox starts. I changed the .xinitrc to each of these.
exec wmxmms &
exec xmms &
wmxmms &
xmms &
None of these starts up xmms in fluxbox. I read several threads and they say to use
" exec wmxmms & " but that does not work. What am I missing? thanks
It should work. Maybe when you type startx, it's either reading .xinitrc at /etc/X11/ or /home/.xinitrc. Try editing both and see which one is being used
Where are you putting those commands in .xinitrc? You should put the command 'xmms &' before 'exec fluxbox'. The command 'exec command' tells the computer to execute the command and ignore anything that comes after it in a script.
Enjoy!
--- Cerbere
[edit] BTW the command 'wmxmms &' will launch a small dockable version of xmms in the fluxbox slit. [/edit]
I tried both .xinitrc files, the one in home and the one in X11. When I type ./xinitrc in the console it reloads fluxbox and xmms starts up, but what is strange is that when I reboot, xmms does not start like .xinitrc is not getting read on boot.
I tried it with every combination and still does not start up xmms or any other prog.
The other file was something different I was working on and got confused, lol.
Im jumping back and forth between 2 slack systems trying to configure each of them differently.
I have no idea why that isn't working...unless you're logging in from gdm/kdm/xdm...in which case it may be that you need those lines in your .xsession file instead.
Yep, just realised...if you're logging in graphically then the file used is .xsession - .xinitrc is used only by startx.
Ok, Im pissed. I cannot find a .xsession file anywhere so I created one in my /home/"USER" directory according to an article I found on the net, but it does nothing. Where is this file? and if I have to make one is it really involved? Thanks
I created a .xsession file and Its still not working. Ive come to the conclussion that it cant be done the way that it is described on all the threads and the other places ive seen it described. There must be something that is not being mentioned that I dont know about.
What login manager do you use? gdm, kdm, or xdm. In that case of gdm, which is the default, you also have to edit the /etc/X11/gdm/Xsession file. At about line 97 you will come to some lines that look like this. You will have to uncomment the if block, and I also changed the code in the if block to what I perfer and think works best.
Code:
# Some people say that an .xsession file should always be given priority, even if a
# different window manager was requested in $SESSION. If you want that behavior, uncomment
# the lines below. This is not recommended (nor, in general, is the use of an
# .xsession file as a default... it should be left for the advanced users).
if [ -x $HOME/.xsession ]; then
. $HOME/.xsession
fi
Then all you have to do is edit the ~/.xsession file, create it if it doesn't exist. Mine looks like this
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.