You are not logged in.

#151 2010-12-18 10:09:52

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 470
Website

Re: Howto: Standalone Compiz Fusion as WM

running into a VERY odd problem...

When enabling compiz as the window manager, all the cool plugins work, but I lose the ability to do anything in the actual window.  I can't scroll, can't type, can't move within the window itself. I can grab, minimize, resize and maximize just fine... but that's all I can do.  I have no idea what setting to turn on to fix this.  I have tried the gconf integration options, all the window and utility settings within compiz.  If anybody could shed some light on this, I would appreciate it.  I'm sure that things are actually happening in the windows, because popups and tooltips show (and I can tell that scrolling is technically working by where the tooltip is on the screen before and after attempting to scroll) but I guess nothing is rendering properly within the windows once compiz is running as the WM.  Thanks in advance!



(this happens with Compiz as standalone or as addon to XFCE)

Figured out my own issue.... I had to turn off the LOOSE BINDING option! (running on an ATI Mobility RadeonHD 4250)  Now if I could just get the wallpaper plugin to work...

Last edited by CPUnltd (2010-12-18 10:15:14)


Help grow the dev population... have your tech trained and certified!

Offline

#152 2011-02-25 17:24:46

jesterofalltrades
Member
Registered: 2011-02-25
Posts: 2

Re: Howto: Standalone Compiz Fusion as WM

Has anyone managed to get the wallpaper clock screenlet to work on compiz stand-alone? I ran it from a terminal and got no error messages--or any results. I installed the wallpaper I downloaded from vladstudio, and the screenlet claimed to be displaying it, but nothing happened. Please let me know if you need more information or if this question should be on another thread.

Thanks!

Offline

#153 2011-02-25 20:01:45

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 470
Website

Re: Howto: Standalone Compiz Fusion as WM

never tried it... will do my best to remember to test it out on my laptop sometime soon...


Help grow the dev population... have your tech trained and certified!

Offline

#154 2011-03-21 01:52:01

jbritton
Member
Registered: 2011-03-15
Posts: 41

Re: Howto: Standalone Compiz Fusion as WM

I'm working on setting up compiz standalone on my laptop. It's working well but i'm having one issue.  Since I'm running on my laptop, I want something to monitor/control my power settings.  The only options I've found are gnome-power-manager and xfce4-power-manager.  I've tried both, but I get errors about my dbus session service not being started.  I tried adding dbus-launch -ssh -syntax --exit-with-session to my .xinitrc but had no change.  I've also got similar errors with other applications, such as Rkward (a frontend for R statistics).  Any idea what is missing here? Or is there a better option to use besides gnome or xfce power-manger?

Thanks in advance.

Offline

#155 2011-03-25 01:16:15

jesterofalltrades
Member
Registered: 2011-02-25
Posts: 2

Re: Howto: Standalone Compiz Fusion as WM

I feel like xfce4-power-manager should be fine. I know from my own experimentation that .xinitrc is finicky, and I haven't quite figured it out. Dbus-launch is in my exec line though, like so:

exec ck-launch-session dbus-launch compiz ccp

Might be worth a shot to see if that makes a difference--I have no idea if it does or not. I do know I don't have any dbus errors with Rkward.

Offline

#156 2011-03-25 08:38:40

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,209
Website

Re: Howto: Standalone Compiz Fusion as WM

jbritton wrote:

The only options I've found are gnome-power-manager and xfce4-power-manager.  I've tried both, but I get errors about my dbus session service not being started.

Did you start dbus in your rc.d?

Offline

#157 2011-03-25 14:09:33

ri
Member
Registered: 2008-10-09
Posts: 73

Re: Howto: Standalone Compiz Fusion as WM

jbritton wrote:

I'm working on setting up compiz standalone on my laptop. It's working well but i'm having one issue.  Since I'm running on my laptop, I want something to monitor/control my power settings.  The only options I've found are gnome-power-manager and xfce4-power-manager.  I've tried both, but I get errors about my dbus session service not being started.  I tried adding dbus-launch -ssh -syntax --exit-with-session to my .xinitrc but had no change.  I've also got similar errors with other applications, such as Rkward (a frontend for R statistics).  Any idea what is missing here? Or is there a better option to use besides gnome or xfce power-manger?

Thanks in advance.

Try ad this to the top of you .xinitrc:

# D-Bus
 if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
        eval "$(dbus-launch --sh-syntax --exit-with-session)"
 fi

https://wiki.archlinux.org/index.php/D- … nvironment

Offline

#158 2011-03-27 16:50:57

jbritton
Member
Registered: 2011-03-15
Posts: 41

Re: Howto: Standalone Compiz Fusion as WM

I have dbus starting in my daemons list, and it is in my rc.d folder.

Adding

# D-Bus
 if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
        eval "$(dbus-launch --sh-syntax --exit-with-session)"
 fi

doesn't break anything, but it doesn't fix it either.

Should I be using the inittab method of starting X or the ~/.bash_profile

Offline

#159 2011-04-27 12:06:22

LeCrayonVert
Member
Registered: 2010-09-01
Posts: 133

Re: Howto: Standalone Compiz Fusion as WM

What should I do to use gnome keyring in a standalone compiz session ?
I've tried to put :
/usr/bin/gnome-keyring-daemon --start --components=gpg &
/usr/bin/gnome-keyring-daemon --start --components=pkcs11 &
/usr/bin/gnome-keyring-daemon --start --components=secrets &
/usr/bin/gnome-keyring-daemon --start --components=ssh &

in the start-compiz.sh script
But it does not work...

Any idea ?

Thx


I believe in a world I can and do understand. A rational universe, explained through rational means.

Online

#160 2011-07-17 19:12:50

LeCrayonVert
Member
Registered: 2010-09-01
Posts: 133

Re: Howto: Standalone Compiz Fusion as WM

Up ?


I believe in a world I can and do understand. A rational universe, explained through rational means.

Online

#161 2011-11-29 15:24:15

netmanny
Member
Registered: 2008-05-13
Posts: 40

Re: Howto: Standalone Compiz Fusion as WM

I believe this is a similar question  as dbus up. When I run open-box manager or lxde i'm able to auto mount and click and mount windows partition on my internal drives using pcmanfm, but on the compiz stand along it does not work also i can't log-out or shout down.
my xinitrc for compiz
#!/bin/bash
#
# ~/.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
export BROWSER=firefox-aurora
export DE=xfce
(sleep 3 && /usr/bin/nm-applet --sm-disable) &
xbindkeys &
#emerald &
tint2 &
adeskbar &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
volumeicon -b &
nitrogen --restore &
exec ck-launch-session dbus-launch fusion-icon
using radeon HD 5770 with xorg ati drivers and kms.

Offline

#162 2011-11-29 21:18:11

netmanny
Member
Registered: 2008-05-13
Posts: 40

Re: Howto: Standalone Compiz Fusion as WM

Never Mind thank you any way if you ad intentions of helping , I found the solution to my problem Here... https://wiki.archlinux.org/index.php/ConsoleKit
It works perfectly.
my new .xinitrc :

#!/bin/bash
#
# ~/.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

exec ck-launch-session dbus-launch $HOME/.xstart

and .xstart : ## make executable by chmod +x .xstart

#!/bin/sh
export BROWSER=firefox
export DE=gnome
(sleep 3 && /usr/bin/nm-applet --sm-disable) &
xbindkeys &
emerald &
tint2 &
adeskbar &
volumeicon -b &
nitrogen --restore &
compiz ccp

Last edited by netmanny (2011-12-23 13:07:04)

Offline

#163 2011-11-30 04:40:12

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 470
Website

Re: Howto: Standalone Compiz Fusion as WM

also, I'd like to add that I went the route of mounting drives via udisksvm in AUR...  Pretty simple and straightforward when all said and done...


Help grow the dev population... have your tech trained and certified!

Offline

#164 2012-03-20 04:11:44

willwolfe
Member
Registered: 2012-03-20
Posts: 2

Re: Howto: Standalone Compiz Fusion as WM

PiklesOnFire wrote:
#!/bin/bash
##
## WM/DE independent Session Ender
## Rationale: I was using a Fusion Standalone session
## and quickly realized there was no way to log out
## of my current session without killing the X server.
## This script allows us to do that, regardless of WM/DE.
##
## By: PiklesOnFire

## Location of Zenity:
ZenLoc="/usr/bin/zenity"

## Location of Xmessage:
XmesLoc="/usr/bin/xmessage"

function Quit {
    exit 0
}

function Error {
    exit 1
}

## This cleanly ends only the current user's session:
function EndSession {
    skill -TERM -u $(whoami)&
    sleep 5 &&
    skill -KILL -u $(whoami) &&
    ## Following line only added for bash compatibility
    Quit
}

## Check for Zenity, if fail, check for Xmessage, 
## if fail, exit with error
function CheckLoc {
    if [ -f $ZenLoc ]; then
        ZenPrompt
    else
        if [ -f $XmesLoc ]; then
            XPrompt
        else
            Error
        fi
    fi
}

## Use Xmessage to confirm:
function XPrompt {
    answer=$(xmessage  "Are you sure you want to end your current session? " \
    -buttons yes,no -print)
    if [ $answer = "yes" ]; then
        EndSession
    else
        Quit
    fi
}

## Use Zenity to confirm:
function ZenPrompt {
    zenity --question --title "Log Off Confirmation" \
    --text "Are you sure you want to end your current session?"

    if [ "$?" -eq "0" ]; then
        EndSession
    else
        Quit
    fi
}

CheckLoc

Prompts before killing the session ;]
So we don't have accidental log outs.

Added a couple lines to kill compiz; as it remained after exiting to the display manager preventing me from launching other sessions not using compiz.

#!/bin/bash
##
## WM/DE independent Session Ender
## Rationale: I was using a Fusion Standalone session
## and quickly realized there was no way to log out
## of my current session without killing the X server.
## This script allows us to do that, regardless of WM/DE.
##
## By: PiklesOnFire

## User Defined Locations:
## Location of Zenity:
ZenLoc="/usr/bin/zenity"

## Location of Xmessage:
XmesLoc="/usr/bin/xmessage"
## End Editable Content




## Do not edit Below this line unless you are fixing a bug
## Or adding/changing functionality


function Quit {
	exit 0
}

function Error {
	exit 1
}

## This cleanly ends only the current user's session:
function EndSession {
	killall compiz &      #added these lines to end running compiz
	sleep 1 &&            #before switching to DM
	skill -TERM -u $(whoami)&
	sleep 5 &&
	skill -KILL -u $(whoami) &&
	## Following line only added for bash compatibility
	Quit
}

## Check for Zenity, if fail, check for Xmessage, 
## if fail, exit with error
function CheckLoc {
	if [ -f $ZenLoc ]; then
		ZenPrompt
	else
		if [ -f $XmesLoc ]; then
			XPrompt
		else
			Error
		fi
	fi
}

## Use Xmessage to confirm:
function XPrompt {
	answer=$(xmessage  "Are you sure you want to shutdown? " \
	-buttons yes,no -print)
	if [ $answer = "yes" ]; then
		EndSession
	else
		Quit
	fi
}

## Use Zenity to confirm:
function ZenPrompt {
	zenity --question --title "Log Off Confirmation" \
	--text "Are you sure you want to end your current session?"

	if [ "$?" -eq "0" ]; then
		EndSession
	else
		Quit
	fi
}

CheckLoc

I'm a Newbie but it did the job. Feel free to suggest better implementation.
Edit --
Perhaps I should have read my lxdm wiki with more care before posting as it has a fixed my problem (LXDM) without my edit as well. Whoops!

Last edited by willwolfe (2012-03-29 03:06:24)

Offline

Board footer

Powered by FluxBB