You are not logged in.

#1 2013-02-08 00:55:07

dura
Member
From: interzone
Registered: 2013-01-18
Posts: 41

[Solved] xcompmgr at start up, with DWM - .xinitrc at issue?

Entirely unneeded, but I would like to start xcompmgr after DWM starts, to gain some transparency for xterm. Inserting xcompgr in .xinitrc renders the screen and keyboard stuck. I have to hard switch off the machine. I've tried putting a few seconds delay before DWM then start xcompmgr, and putting xcompmgr to start in .xprofile as well, but also with no joy. Maybe .xinitrc is not the correct place to be starting xcompgr.

On another note, I have the same issue trying to start redshift in .xinitrc. Could anyone expand on what I am doing wrong here, please, or how else I might go about this?

Thank you.

My .xinitrc:

#!/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

##############DWM-Specific###############################

conky | while read -r; do xsetroot -name "$REPLY"; done &

feh --bg-scale /home/dura/images/the-accident-001.jpg

#Set keyboard

setxkbmap gb

#Set Verticalscroll

synclient VertEdgeScroll=1

#Set screen powersave

xset +dpms

xset dpms 0 0 300

modprobe thinkpad_acpi force_load=true

thinkfan -n

xset +fp /usr/share/fonts/local

xcompmgr

exec dwm

#########################################################

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

Last edited by dura (2013-02-08 09:50:53)

Offline

#2 2013-02-08 01:15:01

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,058

Re: [Solved] xcompmgr at start up, with DWM - .xinitrc at issue?

I think xcompmgr needs an ampersand after the command like so:

xcompmgr &

Offline

#3 2013-02-08 09:12:05

dura
Member
From: interzone
Registered: 2013-01-18
Posts: 41

Re: [Solved] xcompmgr at start up, with DWM - .xinitrc at issue?

Thankyou.

Sorry, I should have realised, but was relying on the documentation too much, rather than my own intuition. Seems this thread was unneeded.

Thanks again.

Offline

Board footer

Powered by FluxBB