You are not logged in.

#1 2009-02-17 20:46:15

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

[solved]compiz & openbox questions

hi,

I have been running openbox for a while now, on both DISPLAY=:0.0 and DISPLAY=:0.1

I have recently set compiz-fusion up to run as a standalone wm, and want to have it running on DISPLAY=:0.0 with openbox on DISPLAY=:0.1 - is this possible??

my issues;
1/ compiz runs perfectly on DISPLAY=:0.0 but the output on DISPLAY=:0.1 doesnt work. i just get a black screen.
2/ is it possible to bind compiz-deskmenu to right click instead of middle click
3/ there is a window list in compiz-deskmenu. is it possible to bind this 2 middle click? (like openbox)

xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Tue Jan  6 10:03:55 PST 2009

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Tue Jan  6 10:03:02 PST 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "NCI NEC CI A727"
    HorizSync       30.0 - 70.0
    VertRefresh     50.0 - 150.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "TV-0"
    HorizSync       28.0 - 55.0
    VertRefresh     43.0 - 72.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6200"
    BusID          "PCI:1:0:0"
    Screen          0
    Option       "MigrationHeuristic" "greedy"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6200"
    BusID          "PCI:1:0:0"
    Screen          1
    Option       "MigrationHeuristic" "greedy"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT: 1280x1024 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "TV: 720x480 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

~/.xinitrc

#!/bin/sh
# ~/.xinitrc
# Executed by startx (run your window manager from here)
xset s off
parcellite &
#exaile &
#tint &
#stalonetray -w &
#nitrogen --restore &
swiftfox &
#xcompmgr -f -c &
#exec openbox-session
dbus-launch "fusion-icon"
exec DISPLAY=:0.1 openbox &

thanks

Last edited by ninjaprawn (2009-02-17 22:33:49)


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#2 2009-02-17 21:30:42

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [solved]compiz & openbox questions

ignore 2, i found the answer on the ubuntu forums! http://ubuntuforums.org/showthread.php?t=874458

still stuck with getting anything to run on display 0:1 though!


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#3 2009-02-17 22:33:28

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [solved]compiz & openbox questions

ok, i have solved 1 as well, just a lot of playing and making some scarry mistakes!
~/.xinitrc

#!/bin/sh
# ~/.xinitrc
# Executed by startx (run your window manager from here)
xset s off
nvidia-settings -l &
parcellite &
exaile &
#tint &
#stalonetray -w &
#nitrogen --restore &
swiftfox &
#xcompmgr -f -c &
#exec openbox-session
#exec dbus-launch "fusion-icon"
DISPLAY=:0.1 openbox &
exec dbus-launch compiz ccp

i happy with this!


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#4 2009-02-18 03:17:30

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [solved]compiz & openbox questions

lol it's good to see you solved your own problem wink


neutral

Offline

Board footer

Powered by FluxBB