You are not logged in.

#1 2013-08-30 19:43:06

rc0nnect
Member
Registered: 2013-08-30
Posts: 1

[solved] Getting the mouse back to work with slim, openbox and tint2

Hey guys,

I did a fresh installation of Archlinux yesterday, installed firefox, thunderbird, steam and stuff and it all worked fine, until what I will explain next.

My installation is slim + openbox + tint2.

Nothing from the start is launched via ~/.config/openbox/autostart but everything I wanted to launch is launched via the ~/.xinitrc which looks like this:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

if which tint2 >/dev/null 2&1; then
    (sleep 2 && xcompmgr) &
    (sleep 2 && tint2) &
fi

xscreensaver -no-splash &
nitrogen --restore &
volumeicon
nmapplet

exec openbox-session

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

This is the status quo .xinitrc before there was

case $1 in
openbox|*)
	exec openbox-session;;
esac

instead of

exec openbox-session

with

login_cmd exec /bin/bash -login ~/.xinitrc %session

and no predefined session, which worked very well.


I did not touch the rc.xml until I wanted to make htop as my desktop background like descriped in here. https://wiki.archlinux.org/index.php/Op … background

Yes, the idea with htop does not yet come from there and did not work out well. So I wanted to withdraw all these changes and found the desktop starting slower and without any working mice.

I had deleted the entry at the rc.xml and the .Xdefaults file mentioned there.

Status Quo is the .xinitrc given above, a reinstalled openbox with

$ cp /etc/xdg/openbox/{rc.xml,menu.xml,autostart,environment} ~/.config/openbox

, I also did not touch the tint2 and tint2config.

So how do I get the mice working again?

I would love to thank you for your help, I do not know what else I could do.

tl;dr everything worked fine until I wanted to get a terminal as background.

PS. This is my first installation of archlinux following the german beginners guide found here:
https://wiki.archlinux.de/title/Anleitu … Einsteiger

EDIT: Ok, I solved it by reinstalling and reconfiguring alls componoents up from the xorg-server. It works fine again now. Also I do not get WHY it did what it did.

Last edited by rc0nnect (2013-08-31 08:52:47)

Offline

Board footer

Powered by FluxBB