You are not logged in.
Pages: 1
This is my .xinitrc file.
remind -z0 -k'gxmessage -title "reminder" %s &' ~/.reminders &
exec ck-launch-session startlxde
I'm not sure what the issue is but when I use the startx command to start lxde the remind command is not getting run and I don't have the ability to shutdown, restart, suspend or hibernate my machine using my DE.
I looked around and seen people with similar problems but never found a good answer. If anyone knows how to solve this or could point me in the right direction it be appreciated.
Offline
Offline
Could it be that they need to be flipped so that you have a X client to put your reminder on?
You need to start your WM/DE before starting any X clients.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
It's fine to run X clients before the wm... Sorry, I don't now that app so cant help...
Offline
It's fine to run X clients before the wm... Sorry, I don't now that app so cant help...
You have to have an X session of some kind before using X clients, not necessarily the WM/DE. It won't work from the console if it is a(n) X application.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
An x session is started before xinitrc is executed. Just look at the default xinitrc for twm that starts xterms and xclock before the window manager.
One would not be able to launch client programs from xinitrc after the window manager as they wouldn't execute until after the window manager was exited - they would not execute at all if the window manager was launched with an "exec" command.
Last edited by Trilby (2012-10-17 15:14:38)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I know that the remind command should work when put in xinitrc because I got the idea from this
http://www.roaringpenguin.com/wiki/inde … use_case_1
I can also start other programs, for example if i put libreoffice in there, boom libreoffice starts up when i run startx.
I also know the command works because when i run it in a console after i start lxde it runs fine.
Thanks mhertz for linking me to the lxde wiki but I looked at that before and it didn't help. like i said on my other computer "exec ck-launch-session startlxde" does what it is supposed to and lets me shutdown from the DE but on my main laptop it's not working. It is a minor issue but I want to work it out.
Anyone got any ideas because I'm out?
Offline
I fixed the remind problem in the xinitrc...... not totally sure how.....
still want to get shutdown from my DE but small fish.
Offline
If the window manager has a way of running processes on startup, place it in there, xinitrc shouldn't really be anymore than just the command to start the window manager, and then there was twm.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Pages: 1