Compiz on MATE using marco

Hi,
I'm having problems with setting up compiz on my box. I've tried to do it according to the wiki. But when I try to install compiz-decorator-gtk, it pulls metacity as a dependency. I don't really want to use metacity, and the effects don't work for me when I do. I tried to link marco executable as the metacity, and it worked, but there were no effects. Effects work only when cairo borders are on. What needs to be done? Is it possible?

samuelm wrote:Hi,
I'm having problems with setting up compiz on my box. I've tried to do it according to the wiki. But when I try to install compiz-decorator-gtk, it pulls metacity as a dependency. I don't really want to use metacity, and the effects don't work for me when I do. I tried to link marco executable as the metacity, and it worked, but there were no effects. Effects work only when cairo borders are on. What needs to be done? Is it possible?
Here is  the solution:
http://forums.linuxmint.com/viewtopic.p … 7&t=114613
but  we must wait for PKGBUILDs in AUR or packages in MATE repository.:(
I use compiz with emerald yet.

Similar Messages

  • How to enable MAT using 865G Neo2-LS (MS-6728) ?

    Hi Everybody,
    Does anyone know how to enable MAT using 865G Neo2-LS (MS-6728) ?  Since my situation is not work :-
    MB : 865G Neo2-LS (MS-6728)
    Bios : updated v1.3 (062403)
    Init Display : PCI / AGP (do not select any int. vga combination)
    Primary display card : PCI display card (not AGP)
    But in fact, the "Dynamic Overclocking" item still do not appear in Frequecy / Voltage menu.  Therefore, I cannot enable any MAT mode even I use PCI display and disabled onboard display !
    Does any expert can help me, please ?!  
    P.S. Should I use APG display card instead of PCI display card to get MAT available ?

    Hi Everybody,
    Does anyone know how to enable MAT using 865G Neo2-LS (MS-6728) ?  Since my situation is not work :-
    MB : 865G Neo2-LS (MS-6728)
    Bios : updated v1.3 (062403)
    Init Display : PCI / AGP (do not select any int. vga combination)
    Primary display card : PCI display card (not AGP)
    But in fact, the "Dynamic Overclocking" item still do not appear in Frequecy / Voltage menu.  Therefore, I cannot enable any MAT mode even I use PCI display and disabled onboard display !
    Does any expert can help me, please ?!  
    P.S. Should I use APG display card instead of PCI display card to get MAT available ?

  • I lose internet on my iMac when my mate uses his macbook pro in the same room.

    My wireless internet works absolutley fine with no problems at all, no glitches until my mate turns on his macbook pro. Every couple of minutes I have to turn my wireless connection off and back on again. Sometimes this fixes the problem for another couple of minutes, sometimes I have to turn off and on the connection before I can get internet. I am connected to the network and can access my friend's shared files on his macbook but no internet. I thought bandwidth may have been the issue but it even does this while his macbook is idle with no internet activity from his macbook, he simply just has to activate the macbook from standby and that's it. I lose my internet.
    Please someone help me, as he stays connected with no problems at all.

    Try the basics first:
       Change your router channel number.  Most times this works & is all you have to do.
    Disconnect & reconnect your modem.  unplug it for about 10 seconds.  Plug it back in.  Do the same for Apple’s routers.  Wait for everything to reboot.
    System Preferences>Network
    Click the Assist Me button.
    In the next window that pops up, click the Diagnostic button & do the necessary.
    Research Knowledge Base for network problems that pertain to the OS that is currently installed on your computer.   See these basic networking KB Articles:  http://support.apple.com/kb/HT1401 AirPort troubleshooting guide
    http://support.apple.com/kb/HT4628  Wi-Fi: How to troubleshoot Wi-Fi connectivity
    http://support.apple.com/kb/HT2712 Using network locations in Mac OS X
    Manually provided DNS server addresses are higher priority than DHCP's
    http://support.apple.com/kb/HT1714 Solutions for connecting to the Internet, setting up a small network, and troubleshooting
    ============================
    What to do when you can't connect to the Internet
    Also, run the Airport Utility app which is located inside the Utilities folder.
    =====================
    If using a  Linksys router, contact LinkSys Customer Support and/or post in their forums.
    If using Apple's Airport, please re-post over in one of the AirPort Forums.

  • MXL Mic Mate using analog condenser mic recording in FCP6 Voiceover tool...

    Hmm. I cannot select any sample rate higher than 1600khz... what is the deal? I am running 10.4.11 and the 6.0.4 version of FCP... anyone seen this bug before? I CAN record in Soundtrack @ 48k and also using other USB Mic's... Other mic's plugged into the Mic Mate also do not register in FCP as being able to go over 16k though. So this leads me to believe that FCP isn't letting me record at a higher sample rate since the same setup with Soundtrack is successful.
    -Micah

    Well, it seemed to be a USB power issue. The "mic mate" supplies phantom power to any mic over USB so that you can record without a preamp or using the deck/camera trick. Turns any analog mic into a USB mic, I know, not the professional best choice but I gotta work with what they give me. Basically once I left everything off the USB ports, including the cinema display hub, it worked like a charm to change the sample rates. Possibly the cable run 10 meters or so? Not sure, once I got FCP to accept 48k it stuck, even after I plugged back in the USB essentials, I cannot change it again... But hey it is what I needed anyways... Is there anyway in Mac world to increase the USB power? And yes, I know about line and mic inputs... But also, thank you for responding, I know there is a massive flood of un-knowledgeable people on here... I wish I had time to help others as well. Possibly in the future.

  • Compiz/desktop effects using open source radeonhd drivers?

    Just wanted to know if it was possible to get compiz/desktop effects working with the radeonhd driver, or whether I need to use the proprietary catalyst driver.  I'm currently running KDE 4.3 on a Mobility HD 2600.  No configuration of xorg.conf seems to allow desktop effects to be enabled (I've read all of the ATI/Xorg wiki documentation).
    Thanks in advance, again.

    Put this in your xorg.conf:
    Section "Device"
    Identifier "My Graphics Card"
    Driver "radeon"
    Option "DRI" "on" ## Eάν επιμένει να μην ενεργοποιείται το DRI, το βάζουμε επίτηδες.
    Option "DynamicClocks" "on" ## Powersaving option
    Option "AccelMethod" "EXA" ## Ενεργοποίηση του EXA rendering, για γρήγορο 2D acceleration
    Option "EXAVSync" "on" ## Flicker-free Xv overlay accelerated Video.
    Option "DMAForXv" "on" ## Εάν δεν ενεργοποείται το Xv, video acceleration, το βάζουμε επίτηδες.
    Option "ScalerWidth" "2048" ## Καλό είναι να μπει για να μην υπάρχουν artifacts σε HD video.
    Option "EnablePageFlip" "on" ## Special option για 3D δεν είναι απαραίτητη. Δείτε στο man του radeon.
    Option "RenderAccel" "on" ## Ενεργοποιεί το acceleration για την κάρτα γραφικών εάν δεν ξεκινάει.
    Option "AccelDFS" "on" ## Ενεργοποιείστε ΜΟΝΟ εάν έχετε ενεργοποιήσει το EXA option.
    #BusID "PCI:1:0:0"
    EndSection
    Then, open a terminal and enter:
    su -
    touch /etc/hal/fdi/policy/10-keymap.fdi
    nano /etc/hal/fdi/policy/10-keymap.fdi
    And put this:
    <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
    <deviceinfo version="0.2">
    <device>
    <match key="info.capabilities" contains="input.keymap">
    <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>
    <match key="info.capabilities" contains="input.keys">
    <merge key="input.xkb.rules" type="string">base</merge>
    <!-- If we're using Linux, we use evdev by default (falling back to
    keyboard otherwise). -->
    <merge key="input.xkb.model" type="string">keyboard</merge>
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
    string="Linux">
    <merge key="input.xkb.model" type="string">evdev</merge>
    </match>
    <merge key="input.xkb.layout" type="string">us,gr</merge>
    <merge key="input.xkb.model" type="string">pc105</merge>
    </match>
    </device>
    </deviceinfo>
    See the "      <merge key="input.xkb.layout" type="string">us,gr</merge>" line, and change "us,gr" it with your languages, e.g. "us,fr".
    Then save the file.
    If you, also, have a touchpad, you should do this:
    touch /etc/hal/fdi/policy/11-x11-synaptics.fdi
    And put there:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <deviceinfo version="0.2">
    <device>
    <match key="info.capabilities" contains="input.touchpad">
    <match key="info.product" contains="Synaptics TouchPad">
    <merge key="input.x11_driver" type="string">synaptics</merge>
    <merge key="input.x11_options.MinSpeed" type="string">0.09</merge>
    <merge key="input.x11_options.MaxSpeed" type="string">0.18</merge>
    <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
    <merge key="input.x11_options.SHMConfig" type="string">true</merge>
    <merge key="input.x11_options.AccelFactor" type="string">0.032</merge>
    <merge key="input.x11_options.LeftEdge" type="string">1700</merge>
    <merge key="input.x11_options.RightEdge" type="string">5300</merge>
    <merge key="input.x11_options.TopEdge" type="string">1700</merge>
    <merge key="input.x11_options.BottomEdge" type="string">4200</merge>
    <merge key="input.x11_options.FingerLow" type="string">25</merge>
    <merge key="input.x11_options.FingerHigh" type="string">30</merge>
    <merge key="input.x11_options.MaxTapTime" type="string">180</merge>
    <merge key="input.x11_options.MaxTapMove" type="string">220</merge>
    <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
    <merge key="input.x11_options.HorizScrollDelta" type="string">100</merge>
    <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
    <merge key="input.x11_options.VertScrollDelta" type="string">100</merge>
    <!-- Restore old synaptics driver defaults removed by Fedora/RH patch -->
    <merge key="input.x11_options.RTCornerButton" type="string">2</merge>
    <merge key="input.x11_options.RBCornerButton" type="string">3</merge>
    <merge key="input.x11_options.TapButton1" type="string">1</merge>
    <merge key="input.x11_options.TapButton2" type="string">2</merge>
    <merge key="input.x11_options.TapButton3" type="string">3</merge>
    <!-- Arbitrary options can be passed to the driver using
    the input.x11_options property since xorg-server-1.5. -->
    <!-- EXAMPLE:
    <merge key="input.x11_options.LeftEdge" type="string">120</merge>
    -->
    </match>
    <match key="info.product" contains="AlpsPS/2 ALPS">
    <merge key="input.x11_driver" type="string">synaptics</merge>
    </match>
    <match key="info.product" contains="appletouch">
    <merge key="input.x11_driver" type="string">synaptics</merge>
    </match>
    <match key="info.product" contains="bcm5974">
    <merge key="input.x11_driver" type="string">synaptics</merge>
    </match>
    </match>
    </device>
    </deviceinfo>
    For this you must have installed:
    - Xserver 1.5
    - xf86-input-evdev
    - xf86-input-synaptics
    - halxorg-input-drivers
    This guide is written by Flamelab.
    Last edited by apollokk (2009-09-02 09:23:11)

  • Has anyone worked on a sports memory mate using photoshop elements 13?  Having trouble inserting images.

    Cant seem to merge image into place.

    I downloaded one of their templates.
    Do the following:
    Open the template file
    Duplicate the background layer, then shut off the visibility of the background layer. Work on the Background copy layer
    Get the magic wand tool out of the toolbox. On the tool's option bar, check "contiguous". Left click on the white area within the template, then hit delete on the keyboard
    Go to File>place and point to where your picture is. Here I used a picture of an owl for demonstration. Resize this, if necesasary
    Drag the picture below the template in the layers palette, as I indicated to you previously
    You should end up with the layers looking like this:

  • Z87-G41 PC Mate used Live Update 5 to update BIOS now no POST

    I downloaded MSI's Live Update 5 and stupidly had it update everything. I was away from my desk while it ran and I heard the sound making crazy noises and the screen was dark so I manually powered down. Now when I boot up it won't post and I get nothing on the screen. I've tried to reset CMOS and I've stripped it down to just cpu and 1 stick of ram. Still no joy.

    Quote from: badboy2k on 12-May-14, 06:19:42
    sounds like the BIOS on the board is Bricked!
    one thing you could try is to put a USB stick in a black port while when you power it on and see if its attempting to access it! (If it is its not fully bricked and you need to make a USB flash drive with the BIOS file (ROM) on it and it will attempt a recovery)
    if its doesn't work then you have 2 options!
    1: RMA the board to MSI to be flashed back into working order
    2: Find a shop near you that does SPI flash updates and have them Directly flash the BIOS chip!
    So when I put a thumb drive in the back with the ROM, I can't really tell if it's trying to access it or not (no activity lights). What happens when I turn on the comp is that it will power on (no beeps) and after about 8 seconds it will power off, then restart. I generally turn it off at that point. I'll try putting the USB stick in and letting it run. It sucks because I get no video (tried onboard and GPU) so I can't really tell what's going on. Thanks for the info. I've already emailed MSI support to get a head start but I'm hoping I won't need to wait on them. I need my computer up and running for my side business.

  • MATE 1.8+ Compiz

    I have installed compiz and got it working somehow with gtk-window-manager but the problem is that I cant edit the theme on it. I have installed Gconf-editor but anychanges made in that dont seem to reflet on my DE. Is ther anyway I can change themes while using gtk-window-manager or if possible bring back marco and use that with compiz. I have googled and tried almost all the fixes I found but cant get compiz to use marco/ edit gtk-window-manager to show my desired theme.Any help would be appreciated.
    Thanks in Advance.

    clfarron4 wrote:
    rohansftw wrote:I have installed compiz and got it working somehow with gtk-window-manager but the problem is that I cant edit the theme on it. I have installed Gconf-editor but anychanges made in that dont seem to reflet on my DE.
    This is a known problem that hasn't been fixed yet. It started around mate-desktop-1.8.0-2 IIRC.
    rohansftw wrote:Is ther anyway I can change themes while using gtk-window-manager or if possible bring back marco and use that with compiz. I have googled and tried almost all the fixes I found but cant get compiz to use marco/ edit gtk-window-manager to show my desired theme.Any help would be appreciated.
    Thanks in Advance.
    It's all or nothing with Compiz I think. You either use Compiz or Marco.
    NOTE: Development of MATE (the 1.9 branch) in ArchLinux is now focussing on GTK3. I doubt this issue is going to be resolved until after MATE is properly running with GTK3.
    thanks for the reply .

  • Compiz gtk decorator not using metacity theme

    so for some reason the gtk decorator in compiz is not using the assigned metacity2 theme what I mean is that not mater what the theme the decorations stays the same
    example:
    the first image is using adawita theme while the second is zukitwo, in either case the decorations persists
    Last edited by nashod (2014-10-16 23:28:50)

    I set this at build time "OXYGEN_FORCE_KDE_ICONS_AND_FONTS 0", I don't know how it's controlled from user-space. But in any case, that's why, and that's what you should disable.

  • XFCE: Pager broken after using compiz-fusion[SOLVED]

    Hi, I had problems with my pager when using compiz and after using...
    1. When using compiz the pager boxes(4) does not show but you can click on it..
    2. After disabling compiz, my pager won't let me choose number of virtual desktops anymore...:(
    Thanks in advance...this is my 1st time using compiz on xfce...
    update:
    I solved the issue, thanks anyway...:D
    On the compizconfig settings ---> General Options ---> Desktop Size
    I had set this values on the ff:
    Horizontal Virtual Size = 4
    Vertical Virtual Size = 2
    Number of Desktops = 4
    Thats it!
    Now I have a 2 column 4 workspace pager...
    Last edited by kaola_linux (2009-01-06 08:45:37)

    Wow this was really bugging me. Thanks so much!

  • Compiz as stand-alone + xfce4-panel : a few questions

    After some months with gnome 3 I decided to go back to compiz, as I used to use that with gnome 2.xx and appreciated it quite a bit. I ran into a few problems when trying to set it up properly.
    First, is there some way to enable session management with compiz? I would like to be able to have a button or menu that offers to sleep, reboot or shutdown the computer. Not that I mind using 'pm-suspend' and other commands like that, but my girlfriend also uses the computer sometimes so it needs to be more user-friendly than that. I noticed there is an actions button by default in the xfce panel but it doesn't work in compiz and just says 'session management is disabled, do you want to exit X' or something like that.
    Second, I need some sort of run prompt when I hit alt-f2. The 'gnome compatibility' option in ccsm doesn't seem to work in standalone mode.
    Third, I want the computer to automatically sleep when I flip the lid. In gnome 3, it does that without any special configuration, but this doesn't work with compiz as a stand-alone. I suspect I need to configure it to pick up the 'lid is flipped' event somehow?
    Fourth, I need a volume control option that will display a volume icon in my xfce4 panel notification area and most importantly I need that volume control icon to respond accurately to the input from my 'mute' and volume 'up' and 'down' buttons. It's a thinkpad x220 laptop. I bring it to school often, so being able to know whether my volume is on or off is important when in class. This works fine in gnome3 but I have tried other DE's such as LXDE and found that the volume icon stayed the same as I used the volume buttons on the keyboard (the buttons did work, so it could be muted but still displaying that it's at full volume). To check if it was muted or not, I had to open a terminal and use alsamixer.
    Of course, I don't NEED to be using xfce4-panel. What I need is a menu, and automatic menu generation is nice because it's easier to configure. So I picked that one because I've used it in the past. If there is a better alternative, please recommend it. Or perhaps it would be best if I simply ran gnome fallback and compiz as the WM?

    I'm using compiz standalone, so here's how i solved that stuff.
    You can use obshutdown for session management, it's in AUR, look in its config file, slap a launcher in the corner of you panel, set the icon for prettyness and it works pretty well.
    I use gmrun as a launcher, set alt+f2 to call it. It's pretty simple which is what i like. You can also use synapse, or gnome-do, they have more functionality like searching your bookmarks, your files, your loved one's medical history, you name it.
    For volume control, you can use pnmixer from aur, it sits in your system tray, and you can set it's hotkeys, but you can also use CCSM to set your hotkeys for volume management.
    I think laptop-tools(check the wiki) can be used to put your computer to sleep, and general powersaving. You should check the article named laptop in the wiki for other laptop-related stuff too. I think i used xfce4-power-manager for power management as well a while ago.
    I used xfce4-panel for a while but i didn't really like it as much as i liked the old gnome-panel, so i installed mate-panel(which is the old gnome-panel). You can find it in AUR, or you can check it's wiki article for repos you can add for mate(if you want to install it from aur, it will pull some aur dependancies, and i didn't feel like compiling everything).

  • [SOLVED] Compiz emerald not working

    Hi , I recently reinstalled Arch, previously compiz with emerald was working fine under Mate desktop.
    Now I can't get them to work properly.
    If i run:
    emerald --replace
    nothing happens
    If i run:
    compiz --replace &
    I lose the window borders and can't move the windows.
    In my ccsm I have enabled move windows, window decoration
    and in window decoration i have in command emerald --replace
    the packages i have installed :
    compiz-bcop 0.8.8-2
    compiz-core 0.8.9-3
    compiz-fusion-plugins-extra 0.8.8-2
    compiz-fusion-plugins-main 0.8.8-3
    compiz-fusion-plugins-unsupported 0.8.8-1
    compizconfig-python 0.8.4-5
    emerald 0.8.8-2
    emerald-themes 0.6.0-4
    as compiz-core is not working if i try to install compiz-core-mate i get:
    compiz-core-mate and compiz-core are in conflict.
    if i remove compiz-core and everything that depends on compiz-core (compiz plugins, emerald, ccsm) and install compiz-core-mate then i can't install ccsm , compiz plugins nor emeral as all of them requiere compiz-core.
    at the end in one way or another I can't get compiz and emerald working. any help would be appreciated
    ps. i also tried compiz-gtk-standalone with the same problem that the other packages needed compiz-core  and had a compatibility problem.
    Last edited by Kronolynx (2014-10-26 17:36:14)

    In the OP you were using compiz 0.8x and that version is very out of date. I can't comment on compiz-mate, but the easiest and the semi-official way to run compiz on Arch is with the compiz-bzr (https://aur.archlinux.org/packages/compiz-bzr/) package in the AUR. If you want emerald with it, then install emerald-git (https://aur.archlinux.org/packages/emerald-git/).
    Those should be the only two packages you install. compiz-bzr and (optionally) emerald-git. No fusion-icon or compiz-fusion-plugins or anything like that. Fusion icon is dead and all the plugins and everything else you need is bundled into compiz.
    Now there has been a bit a trouble with compiz lately and the gtk-window-decorator. You need to downgrade your version of metacity to 3.12.0 (found here: http://seblu.net/a/arm/2014/08/05/commu … kg.tar.xz). I stumbled across this thread because of the problem you're having with ccsm and the error "ImportError: libprotobuf.so.8." In the compiz spinoff package called compiz-manjaro (https://aur.archlinux.org/packages/compiz-manjaro/) I found the comment "FYI: Recent update to protobuf package means this package needs to be rebuilt to get CCSM working again." So I rebuilt compiz-bzr and now ccsm is working for me again. That last part doesn't apply to you because you're installing compiz-bzr for the first time, but it might help someone else who finds this thread like I did.
    As for your problem where you say "if i run compiz --replace i can't move the windows and i get no window borders." If you hold Alt, can you click and drag the windows around? Not having window borders is a common issue because the window border plugin isn't enabled. You can read more about that here - https://wiki.archlinux.org/index.php/Co … nt_plugins
    EDIT:
    There's the package compiz (https://aur.archlinux.org/packages/compiz/) which you can use instead of compiz-bzr. It's the release version instead of the development version. The release version apparently requires metacity2 (which you can find in the AUR), so if you pick this package then ignore my earlier comments about downgrade metacity.
    Last edited by beardedlinuxgeek (2014-10-24 13:22:51)

  • Metacity/compiz, can't figure out what to do.

    Sooo, I just installed arch linux again to play around, starting at a fresh install I installed an xserver and got it running right, then I started installing some WMs and installed lightdm and lightdm-gtk3-greeter.
    So far so good, when I do try to login all WMs show up except metacity/compiz, that's not really a problem so I decide to add the entries manually
    both are in /usr/share/xsessions
    [Desktop Entry]
    Version=1.0
    Encoding=UTF-8
    Name=metacity
    Name[en_US]=metacity
    Terminal=false
    Exec=metacity
    TryExec=metacity
    Name[en_US.UTF-8]=metacity
    Type=Application
    [Window Manager]
    SessionManaged=true
    and
    [Desktop Entry]
    Version=1.0
    Encoding=UTF-8
    Name=Compiz
    Name[en_US]=Compiz
    Terminal=false
    Exec=compiz ccp
    TryExec=compiz ccp
    Name[en_US.UTF-8]=compiz
    Type=Application
    [Window Manager]
    SessionManaged=true
    From what I can tell the entries are right, they don't throw any errors and I get to a desktop and I have a cursor (no menus of any type though)
    The issue is that I have no clue how to proceed, I configured compiz with ccsm but can't figure out how to add menus, my goal is to make it look like GNOME2 without all the bloat (all I should need is metacity and compiz, true?), another thing I want is a fancy floaty dock and conky, conky is installed and I'll configure it once my desktop looks decent, the dock I chose is cairo-dock because it looks nice (does it auto-hide? Auto hiding is absolutely critical.)
    Anyway, I did my research, I read the compiz-article on the wiki (I installed 0.9.x if it matters) but I do not know how to get the config running, the syntax for .xinitrc is rather different from a .desktop file, Google didn't help nor did the forums search function.
    Did I mention what I want it to look like? I don't think so... anyway, I want it to look like gnome2 with the applications menu and places menu (have a look at debian 6.x if you don't know what it looks like) but I am rather lost ^^;
    Sorry for being so uneducated, I hope I don't cause someone too much pain with my silly questions.
    Last edited by CubeGod (2014-02-07 06:40:16)

    Chazza wrote:The .xinitrc file is only useful if you are using startx. It is not going to make any difference to how you start sessions from lightdm. Quite frankly though, why not use .xinitrc and startx? It's by far the easiest way to autostart programs with a session. Compiz was not designed to be used as a standalone window manager and, as such, does not have an autostart utility of its own. Like I said earlier, you can put all the startup commands for the programs you want to autostart in your .xinitrc file and start the session with startx. No xsession files are required for that, of course. If you must use a Display Manager you may be able to parse startup commands through it using an xprofile file. There is a little information on that here: https://wiki.archlinux.org/index.php/Xprofile. As for your Metacity xsession file, I have no idea why you wrote that. There is no need for it. As has been pointed out earlier, Metacity is a window manager completely seperate from Compiz which is also a window manager. Metacity cannot be used alongside Compiz and is not required by Compiz itself in any way.
    Obviously, I thought you'd realize I knew that .xinitrc wasn't relevant since I added the "I thought it was only used when startx is called or am I mistaken?" but I digress; I'm not sure why you keep questioning my motives though, if I want to use lightdm then I don't want to use startx, whatever my reasons may be are rather irrelevant.
    Anyway, thanks for the link, at least it gives me something to work with (I'm sure I can figure out the syntax based on the xfce4 file)
    Oh and I know compiz wasn't designed to be used standalone but I am not going to be stopped by that, for the metacity xsession file I wrote that as a test. If I recall GNOME2 uses metacity as the window manager and compiz as the compositor (which I know is a working setup, however it was merely a test), so yes. They can be used alongside each other since compiz has a quite capable compositor.
    Chazza wrote:Ok. Fine. But you said you were after the educational experience so I was trying to suggest WM's that would be more suitable for a standalone session.
    Well yes, they may be a tad more user friendly but I have a similar philosophy with system building as playing games; Always play on the hardest difficulty.
    Chazza wrote:Why are you talking about gtk themes? They are not relevant. They are for desktop applications, they are not for window managers. When you are talking about a window manager theme you are talking about what the window border looks like and nothing else besides. What you need to understand about Compiz is that it is a window manager that does not come with its own decorator (the decorator being the progam that provides windows with borders.) As such, there are three decorators that can be used with Compiz: compiz-decorator-gtk, kde-window-decorator and emerald. The first is dependent on Metacity and uses Metacity themes. It is what is installed with the compiz-dev and compiz-bzr packages (I assume you installed Compiz with one of these packages as you said you were using the 0.9 version.) The second is dependent on Kwin and uses Kwin themes. The third is not dependent on any window manager and has its own themes. Why is there a setup like this? Because it was expected that you would use Compiz with either GNOME or KDE so it made sense to have decorators that could use the themes already available for the desktop environment's native window manager.
    Ah, a keen observation there! But if you would've paid attention I was also talking about compiz themes, you see the compiz theme I use also comes with a matching GTK theme, the GTK theme looks silly without the compiz theme and the compiz theme looks silly with other gtk themes. (that I have tried).
    Further I am aware that compiz uses three different decorators (based on choice), my theme has an emerald theme and a metacity theme included, I can pick either (isn't it nice?) and indeed I am using the compiz-dev package.
    Chazza wrote:Compiz is not a window decorator, it is a window manager, just like Metacity or Kwin or Xfwm or Mutter or Openbox etc etc. As I said above, the difference is that Metacity, Xfwm, Kwin etc all come with their own native window decorators. Compiz does not. Compiz has some decorators that can utilise the themes of aformentioned window managers.
    ah yes, I started rambling towards the end it seems, I didn't mean window decorator I meant compositor, sorry about that.

  • Using - Partition By in SQL report

    Our users are having problem with the below formula on Reports. I am not sure what this means. Our Users told that they need
    (Tons Used/spread miles) * 2000 lb/ton = lbs/spread mile for their report.
    And I see the below formula being used by our developer. Not sure how to read it though. Can any one let me know the formula used in the below code could actually represent the above formula. Users are complainting as below
    from user ->column doubles or triples the amount if there are multiple records for the same truck/driver/beat/with the same amount for Dry Mat used and Spread Miles. If spread miles or the Dry Mat used is different if calculates correctly.
    Edited by: Lucy Discover on Mar 28, 2011 1:50 PM

    Hi,
    Lucy Discover wrote:
    Our users are having problem with the below formula on Reports. I am not sure what this means. Our Users told that they need
    (Tons Used/spread miles) * 2000 lb/ton = lbs/spread mile for their report.
    And I see the below formula being used by our developer. Not sure how to read it though. Can any one let me know the formula used in the below code could actually represent the above formula. Users are complainting as below
    from user ->column doubles or triples the amount if there are multiple records for the same truck/driver/beat/with the same amount for Dry Mat used and Spread Miles. If spread miles or the Dry Mat used is different if calculates correctly.
    SUM (ROUND ((NVL (sim_trip.dry_mat_used, 0)) /
    nullif(sim_trip.spread_miles_total,0) * 2000, 2 ))
    OVER (PARTITION BY sim_trip.trip_no,   sim_trip.dry_mat_code,        sim_trip.liquid_mat_code,
    sim_trip.dry_mat_used,      sim_trip.liq_mat_used,         sim_trip.spread_miles_total
    Yes, the code is basically implementing that formula. There's some code that hadles NULLs and rounds the amounts.
    This is the analytic SUM function; the keyword OVER right after the argument indicates that. The difference (here) between the two forms is that the analytic SUM will work without a GROUP BY clause; you can show details about individual rows and the groupd total on the same output row, without doing a sub-query and a join. The analytic PARTITION BY clause correspdons to the aggregate GEOUP BY clause. Since you are saying:
    ...   OVER ( PARTITION BY  sim_trip.trip_no
                    ,                 sim_trip.dry_mat_code
              ,                sim_trip.liquid_mat_code
              ,             sim_trip.dry_mat_used
              ,              sim_trip.liq_mat_used
              ,                 sim_trip.spread_miles_total
                 )the ratio on any given row will only include rows with the same values of all 6 variables. It's very suspicious that two of those varibales (dry_mat_used and spread_miles_total) are also in the argument. That's legal, but it's very unusual.
    Also, this is a sum or ratios, no a ratio of sums. That is, suppose, in some group, there are 2 rows. One row has 100 tons and 4 miles, while the other row has 100 tons and 1 mile. The formula you posted would repoert that as
    (100 / 4) + ( 100 / 1) =
    (25) + (100) =
    125
    and not
    (100 + 100) / (4 + 1) =
    (200) / (5) =
    40
    As you can see, there's a big difference. I don't know which one you want.
    Whenever you have a problem, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    Always say which version of Oracle you're using.

  • Compiz fails to refresh screen [Solved]

    Hi archers,
    After some months without internet, I did a system upgrade and now my compiz standalone setup is stuffed up, in a funny way:
    Mouse and keyboard works.
    Conky is functional for a second or two, and then apparently freezes.
    No windows are displayed, including the ones I launch via .xinitrc. Curiously, conky is configured to have its own window, but is displayed. My cursor changes appropriately when it is over windows, for example becomes the resize cursor or the text cursor under urxvt. When I kill fusion-icon (via hotkey), all windows are displayed.
    /var/log/Xorg.0.log and dmesg | tail  display no error messages. startx display no error message, except that when I launch ccsm via .xinitrc, it warns about assertion `G_IS_OBJECT (object)' failed. I have both gtk2 and gtk3 installed, but I'm not sure if that's relevant?
    I have tried launching compiz via .xinitrc, using 4 different commands:
    exec ck-launch-session fusion-icon
    dbus-launch "fusion-icon"
    exec "fusion-icon"
    compiz --no-libgl-fallback --replace ccp
    I'm using the nvidia proprietary driver. The xorg file is
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings: version 260.19.21 ([email protected]) Thu Nov 4 20:57:05 PDT 2010
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    #InputDevice "Keyboard0" "CoreKeyboard"
    #InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
    EndSection
    Section "Module"
    Load "glx"
    Load "dri2"
    Load "extmod"
    Load "dbe"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Option "Name" "MLK USB Multi-Smart Mouse"
    Driver "evdev"
    Option "evBits" "+1 -2"
    Option "keyBits" "~272-287"
    Option "relBits" "~0 -2 ~6 ~8"
    Option "Pass" "3"
    Option "Device" "/dev/input/by-id/usb-MLK_USB_Multi-Smart_Mouse-event-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"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "LG Electronics L194WT"
    HorizSync 30.0 - 83.0
    VertRefresh 56.0 - 75.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 7300 SE/7200 GS"
    Option "AddARGBGLXVisuals" "true"
    Option "RenderAccel" "1"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "TwinViewXineramaInfoOrder" "CRT-0"
    Option "metamodes" "nvidia-auto-select +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection
    I've tried changing xorg.conf, but the result didn't change.
    I checked that fluxbox works under this setup, so it's probably some problem with compositing. I've done some searching, but didn't find similar cases. What's wrong? Thanks in advance.
    EDIT:
    Problem finally solved after more than a month. Unsurprisingly, by a system upgrade.
    Last edited by dumas (2011-12-05 13:24:52)

    Did another system update to nvidia-285.05.09-1, the problem persists.
    Still no error in /var/log/Xorg.0.log and dmesg|tail.
    I tried changing xorg.conf, or deleted xorg.conf, since I heard it is not needed, no apparent improvement.
    I thing I noticed from the Xorg.0.log is that the dri and dri2 modules were loaded, although wiki said dri should not be. I tried removing dri and then dri2 by moving them to another directory, and the log file says the module(s) are not loaded, but still no improvement.
    One curious thing is if I kill compiz without killing fusion-icon, I can actually regain control of the terminals, and work with them, including opening firefox, for example. However, no window management works, for example Alt+Tab and scale. Commands such as emerald --replace or compiz --replace ccp hides the terminals (probably because of their transparency) and then freezes the screen, giving the original situation. Ctrl+C shows and regains control to the terminal.
    I did another browse through recent posts, and found other nvidia problems, although I'm not sure if any is similar to mine. I just set up a dual monitor setup in my office with nvidia+twinview, and that works perfectly, so I know at least one nvidia setup with compiz works.
    Any thoughts?

Maybe you are looking for