You are not logged in.
Hey,
Suddenly my Openbox takes a few second to initiate - I get the mouse cursor straight after login, but TINT2 and the right click menu takes a good few moments to appear.
Are there any commands that can help me in sorting this out? I am so close to the setup I want.
I have been playing with xmodmap, and the menu.xml but reverted it with the obmenu-generator plugin.
Could this be a issue within xinitrc, xmodmap, or any other config file?
I am willing to reset DE environment or take it back a few steps.
Guidance is warmly accepted!
Cheers
Offline
Could this be a issue within xinitrc, xmodmap, or any other config file?
Probably. But how could we know if you don't tell us anything about what is in those files?
Let's start with how you start openbox. Do you use openbox's autostart file for anything? I'd advise against it - just put things like tint2 in xinitrc.
Please post your xinitrc, and any openbox autostart contents.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
#
# These things are run when an Openbox X Session is started.
# You may place a similar script in $HOME/.config/openbox/autostart
# to run user-specific things.
#
# If you want to use GNOME config tools...
#
#if test -x /usr/lib/openbox/gnome-settings-daemon >/dev/null; then
# /usr/lib/openbox/gnome-settings-daemon &
#elif which gnome-settings-daemon >/dev/null 2>&1; then
# gnome-settings-daemon &
#fi
# If you want to use XFCE config tools...
#
tint2 &
wicd-client --tray &
xmodmap ~/.Xmodmap &-----------------------------------------------------------------------------------
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login-----------------------------
These are the files - This is the xmodmap at effect in the autostart, right?
Last edited by Blackfox13 (2015-11-03 15:10:09)
Offline
Please use [ code ] tags when pasting the content of files.
Also, that is clearly not the xinitrc that is being used. How do you start X? Do you use a display manager? If so, which one? If not, post *your* xinitrc from ~/.xinitrc, not the system default.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
I use LightDM - I don't have a xinitrc file in my home, or done anything of significance in it. I have initiated the startups using systemctl.
Thank you for your time man.
Offline
If I can just delete a few files and maybe startup from a template version that could be ok too, if you have a solution.
Offline
With LightDM xinitrc is irrelevant, it uses xprofile. Can you post the contents of your ~/.xprofile?
You can try using startx (after creating an xinitrc) in order to test whether the delay is actually in openbox or in LightDM.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
It was the xmodmap from the autostart.sh file. Best practice is to start it from xinit then? or xprofile?
Thank you for your time Trilby - your a legend.
Offline