[SOLVED] AutoStarting Compiz

I got Arch running, following the beginners guide on the wiki, got Gnome up, and installed Compiz. I followed the Autostart (no Fusion-icon) instructions, but then realized that because I have an Intel 945 graphics chip that I need a complex command to run Compiz.
The problem is that the vanilla compiz command (per the wiki) is still active, and every time I login I have no title bars and some other odd behavior. When I run the proper command everything is fine, but I'd like to solve this problem.
Here's what I've tried:
I made a script to run the command and put it in the startup applications. I suspect it's working for a second (my mouse theme comes up for just a bit) before the desktop fully loads, but for all I know it's not running properly. The script runs from the terminal fine manually.
I tried editing the "Exec=compiz" in /usr/share/applications/compiz.desktop specified in the wiki (http://wiki.archlinux.org/index.php/Com … on.22.29_2) to the proper command, but no change.
I also tried to undo the gconftool commands (on the wiki) by changing the "compiz"s to "metacity"s. This had no visible effect.
I would greatly appreciate any help in troubleshooting this, as I'm not sure where the problem is coming from, but  I suspect the bad compiz autostart overriding my startup script. I tried adding a "sleep" to the start of the script, but no dice. My google-fu is coming up empty, and I didn't see any relevant posts on the forum here.
Last edited by JohnnyRogers (2009-11-07 21:18:25)

just edit /usr/share/applications/compiz.desktop
and replace the line
Exec=compiz
with
Exec=compiz ccp
that did it for me (same chipset)...
for the record, now with intel graphics, you are forced to use UXA and thus, there are no extra options needed (indirect rendering or else...)

Similar Messages

  • (SOLVED)autostart.sh sleep issue

    Hello all,
    I have my laptop in a state I am pretty happy with.
    When I boot I backgrounded all my daemons so I would get a fast boot (about 12 seconds). When conky starts I have it getting my external ip as well as my wireless ip. To try and solve the 2 being blank I tried adding a sleep state in autostart.sh which does not work and leaves me with no mouse. Then I wrote a shell script to accomplish this and added it to autostart.sh and it worked fine with the pause and all, but again no mouse.
    Is there any fix for this?
    Last edited by corbintechboy (2010-12-28 17:01:07)

    autostart.sh
    #Restore wallpaper
    nitrogen --restore &
    #Taskbar
    tint2 &
    #Thunars file manager
    thunar --daemon &
    #Call conky script
    conky -q &
    conky script
    #!/bin/bash
    sleep 30
    conky -q
    exit
    In the autostart when it happens I add "sleep 30" before conky and end up without mouse and it don't sleep. If I link to the script I still get no mouse but it does sleep.
    Last edited by corbintechboy (2010-12-28 16:18:39)

  • [Solved] xfce4+compiz: conky can only been seen if I miminzed windows?

    I have xfce4 and compiz-xfce4 installed with my Arch Linux?
    I added conky in my auto start-up setting. It turns out conky can only be seen if I minimize all windows.
    When I clicked the "show desktop" button in my xfce4-pannel, conky just cannot show up.
    Thanks,
    (pls kindly see my another question about xfce4+compiz as well: https://bbs.archlinux.org/viewtopic.php?id=177106)
    Last edited by hellolj (2014-02-13 23:12:16)

    Solved
    It turns out I have to uncheck the "Hide Skip Taskbar Windows" option under  "General Options"  in Compiz configuration settings manager.

  • [Solved] Adding Compiz to GDM

    I've followed the instructions in the Wiki exactly, but I can't get a Compiz entry to show up in the list in GDM. Can anyone help?
    Last edited by PythonEater (2011-03-10 00:58:02)

    Meh, I guess it's solved. I've been wanting to switch over to openbox for awhile now, and I've completely dropped GNOME. Thanks anyway guys.

  • [SOLVED] Autostart startx after login

    Hi everyone,
    I have a problem with autostarting startx after I log in.
    So far the machine boots, terminal login dialog appears, I log in, get my terminal and start X manually via "startx".
    But I want my system to start X automatically after logging in. Without me typing in the command.
    So I did some research (both internet and the Arch forums) and couldn't come up with a working solution to that problem.
    More or less every thread links to the Start X at Login page.
    And I did add the lines in question to my .bash_profile (after I made a skeleton copy of it, as described).
    But still nothing happens after logging in (I waited for about half a minute). So it doesn't work for, or I am doing something wrong.
    Here my .bash_profile:
    # ~/.bash_profile
    [[ -f ~/.bashrc ]] && . ~/.bashrc
    [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
    I have no idea how to proceed.
    Does anyone have an idea how to solve this?
    Last edited by tentorange (2014-09-09 13:45:34)

    Nothing happens?  Do you mean you are just at a command prompt, no errors, nothing?  And you are not logged out?  Even with a faulty or empty xinitrc, this would still end your current login session.
    So it seems the conditionals don't pass.  This means either that X is already running, or you do not have an active login session.  Are you booting with an alternative init system?  If you get to a command prompt enter the following commands and report their results:
    pgrep Xorg
    echo $0
    echo $XDG_VTNR
    loginctl
    uname -a

  • [SOLVED]Emerald/compiz draws window decoration around conky...

    Hi! I've recently installed conky for the first time ever and wish to use it as a simple clock. I have edited the .conkyrc to achieve this, however when I start conky, compiz draws the emerald theme around my conky clock.
    Having looked around the web, a common suggestion seems to be to add:
    !(name=conky)
    To my Window Decoration Window Matching config (it's usually set to "Any") in order to exclude conky from having window decorations drawn. Unfortuntely, this doesn't work.
    Another suggestion was to add "-conky" to "Any", giving me:
    any -conky
    However, this removes window decorations from ALL windows.
    Here is my conky config:
    # set to yes if you want tormo to be forked in the background
    background no
    cpu_avg_samples 2
    net_avg_samples 2
    out_to_console no
    own_window_type normal
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 7x12
    #font *mintsmild.se*
    # Use Xft?
    use_xft yes
    # Xft font when Xft is enabled
    xftfont AvantGarde LT Medium:size=16
    # Text alpha when using Xft
    xftalpha 0.8
    # mail spool
    mail_spool $MAIL
    # Update interval in seconds
    update_interval 1
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # MPD host/port
    mpd_host heaton
    mpd_port 6600
    # Minimum size of text area
    minimum_size 230 5
    maximum_width 230
    # Draw shades?
    draw_shades no
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders no
    # Stippled borders?
    stippled_borders no
    # border margins
    border_margin no
    # border width
    border_width no
    # Default colors and also border colors
    default_color white
    default_shade_color black
    default_outline_color black
    # Text alignment, other possible values are commented
    #alignment top_left
    #alignment top_right
    alignment bottom_left
    #alignment bottom_right
    # Gap between borders of screen and text
    gap_x 13
    gap_y 7
    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer no
    # Subtract file system buffers from used memory?
    no_buffers yes
    # set to yes if you want all text to be in uppercase
    uppercase no
    # stuff after 'TEXT' will be formatted on screen
    TEXT
    ${color #ffffff}${time %H}${color #ffffff}${time %M}
    Any help would be appreciated thank you.
    /izo\
    Last edited by Izobalax (2008-07-18 15:11:33)

    Ashren wrote:Put this is: "own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky" in your .conkyrc.
    You sir/madam, are an absolute star. May kisses rain on you from Heaven always.
    I only have one problem left.
    My clock text is surrounded in a block of black background. How do I remove this so that the text stands purely on it's own, with a transparent background?
    /izo\

  • [SOLVED] Intel+Compiz+Catalyst-utils = VERY strange error!

    So,
    I have an intel graphics card and am using the intel i8x0 driver - but compiz fusion refuses to run unless I have catalyst-utils present - what gives? Also the latest catalyst-utils breaks CF and I can't pin it in pacman.conf using HoldPkg.
    This is very peculiar, any thoughts?
    Last edited by floke (2008-02-21 15:28:49)

    signorl_rossi - you are star - thank-you very much!
    <buys signor_rossi a beer>

  • [solved]Autostart wireless

    IS there a way for wireless to autostart with xfce4?
    Wicd doesn't seem to work,when I click on it nothing happens.
    WHen I install KDEmod,my wireless goes down,this only happens when instaliing kdemod.
    I tried changing my kdemod servers but that didn't help.
    Last edited by Romanrp (2009-11-22 09:43:00)

    I can't because when I click on wicd nothing happens.
    And when I type  wicd-client in the terminal,nothing pops up.
    This is what I get
    Traceback (most recent call last):
      File "/usr/lib/wicd/wicd-client.py", line 60, in <module>
        from wicd import gui
      File "/usr/lib/python2.6/site-packages/wicd/gui.py", line 37, in <module>
        from wicd import dbusmanager
      File "/usr/lib/python2.6/site-packages/wicd/dbusmanager.py", line 93, in <module>
        DBUS_MANAGER = DBusManager()
      File "/usr/lib/python2.6/site-packages/wicd/dbusmanager.py", line 57, in __init__
        self._bus = dbus.SystemBus()
      File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 202, in __new__
        private=private)
      File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 108, in __new__
        bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
      File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 125, in __new__
        bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
    Last edited by Romanrp (2009-11-22 09:28:31)

  • [SOLVED] Unexpected compiz behaviors, unworking features

    Hello,
    I recently reinstalled from scratch with the latest iso and installed compiz-bzr from AUR.
    Previously I was using compiz from official repos which is no longer available.
    I tried to set it up the same way but I have a few strange behaviors :
    - Some maximized windows can't be dragged using the decoration (I'm using emerald-git from AUR)
    - As well those undraggable decoration have unworking buttons (top right buttons, minimize, maximize, close)
    To recover from this behavior I need to alt + drag the window so that it gets minimized and then everything is reworking as expected.
    - All the keybindings from General Options (altf + F4, alt + F5, alt + F10, etc) are not working despite they are configured from default
    - In the "Place Windows" plugin there is no "Centered" mode in the "Placement Mode" dropdown.
    If you wonder I'm using xfce4 launched from a tty (startxfce4) and nvidia 325.15-5
    Last edited by detestable (2013-09-06 14:52:02)

    detestable wrote:
    Hello,
    I recently reinstalled from scratch with the latest iso and installed compiz-bzr from AUR.
    Previously I was using compiz from official repos which is no longer available.
    The very first thing i am going to point out; Expect compiz-bzr (0.9.x) to NOT behave exactly the same and/or be missing things from Compiz 0.8.6... it's just a fact; some functionality has been removed and/or is broken, while in other cases you may see improvments..
    detestable wrote:
    I tried to set it up the same way but I have a few strange behaviors :
    - Some maximized windows can't be dragged using the decoration (I'm using emerald-git from AUR)
    - As well those undraggable decoration have unworking buttons (top right buttons, minimize, maximize, close)
    To recover from this behavior I need to alt + drag the window so that it gets minimized and then everything is reworking as expected.
    1. Emerald is a dead project. The _only_ reason compiz even still has (rough) support for it is because myself and a few others spoke up on a Launchpad/Compiz bug report and convinced them to leave support in for it (since we were using it)... But not all of emerald's features even work anymore in Compiz.... It also looks like emerald-git is pulling from the old compiz site - which is largely unmaintained... Personally, i would recommend NOT using Emerald because of these reasons. I'm pretty sure the Compiz devs would tell you the same thing.
    2. regarding buttons (not working); try using gtk-window-decorator instead and see if the problem presists. (it shouldn't).
    detestable wrote:- All the keybindings from General Options (altf + F4, alt + F5, alt + F10, etc) are not working despite they are configured from default
    ...does not work with Emerald -> But works fine with gtk-window-decorator. NOTE: you might need to change the "modifier key" to be something other than ALT - since some DEs (like Gnome, for example) are using ALT for modifiers in their own apps. (ie: it won't work)... That being said, i am not sure about XFCE, since i use Gnome.
    detestable wrote:- In the "Place Windows" plugin there is no "Centered" mode in the "Placement Mode" dropdown.
    it appears that they have removed that :\  (I'm not sure when, because it used to be there for a long time, throughout compiz-0.9.x development). You could go to lp:compiz and file a bug report on that though - maybe it was an accidental removal?
    ...anyway, i would say that your first step is to get rid of Emerald and make sure that Compiz is working okay (or rather the stuff above that isn't working with Emerald).
    cheerz
    Last edited by triplesquarednine (2013-09-02 18:33:26)

  • [solved] Autostarting apps only in xfce session

    Been a problem for me when playing around with multiple DEs that they all parse the same autostart folder. I don't need fusion-icon or nm-applet to start up when I boot into KDE, but I do need them when booting into xfce.
    Is there a way I can set apps to autostart in xfce alone but not in other Desktop environments?
    Last edited by b9anders (2012-03-15 19:15:29)

    spoke too soon. It only launched the first application listed in the script. Here's what I made:
    $ cat .xfcestart.sh
    #!/bin/bash
    if [ "$DESKTOP_SESSION" = "Xfce Session" ]; then
    /usr/bin/fusion-icon && /usr/bin/nm-applet && /usr/bin/xfce4-clipman && /usr/bin/xfce4-power-manager && /usr/bin/avant-window-navigator && /usr/bin/liferea && /usr/bin/xfce4-volumed
    fi
    Only fusion icon gets loaded with this.

  • [SOLVED] Autostart a program with a custom size window

    Is it possible to add a line to my autostart in openbox to draw my startup xterm in any size I want?
    Last edited by Kolt Penny (2014-09-09 05:26:06)

    man xterm | less -p geometry
    Are you going to keep asking these sorts of questions without doing even a scintilla of research yourself?
    This is the final time you will be told: help vampirism is unwelcome here. Learn to search the web or read a man page before posting here.

  • [SOLVED] lxde + compiz commands plugin

    I finally ditched gnome a while ago. Tried kde, xfce and lxde and decided to go with lxde+compiz.
    I've set up compiz to handle Alt+F2, however, when I press it, the focus stays on the current window, so I either have to alt+tab or use the mouse, which kind of defeats the purpose. Is there any way to get focus on newly opened windows, when I open them with key bindings set in the compiz commands plugin?
    I've googled this, but so far haven't been successful. I'd appreciate any kind of help, thanks!
    Cheers
    Last edited by vincentvega_1985 (2012-03-26 16:42:53)

    I figured out that I can start compiz with the "compiz --replace ccp" command, but I still can't set it as the window manager. Openbox is still loaded even if I put "compiz --replace ccp" as the window manager under advanced options in preferences->Desktop Session Settings.

  • [SOLVED] autostarting polkit

    im installing gparted to use under xfce.  The wiki says to use gparted from the menu I need to install and autostart polkit.  I have it installed, but it doesn't explain how to autostart it.  How do I autostart it?
    Last edited by Dans564 (2012-09-29 21:40:25)

    Hi there
    Polkit-gnome starts with your Xfce session, assuming you're using Thunar and you can automount storage devices. So no extra configuration is needed.
    Best of Luck

  • [SOLVED] Autostarted programs not exiting on logout with openbox

    Hi,
    I'm pretty sure I'm just overlooking something obvious, but I simply can't find a solution to the following basic problem. I'm using a simple openbox session started from xdm (also tried lightdm with the same results). In case of xdm, I'm using a .xsession file to start openbox like this:
    exec dbus-launch --exit-with-session openbox-session
    In case of lightdm, it also works without a .xsession or .xinitrc file.
    I'm using "~/.config/openbox/autostart" to start some tools upon login. Until now, I have only started programs which exit right away which worked fine. But now I'd like to use autostart to start a (non-X11) program which should continue to run until I log out. For testing this, I used a simple infinite loop script, let's call it "loop.sh". When I start loop.sh in autostart using "loop.sh &", this script continues to run even if I log out of openbox using the openbox menu. In fact, if I log out and log in multiple times, multiple instances will keep running forever. When I start loop.sh simply using "loop.sh", also the parent processes, namely "/bin/sh /usr/lib/openbox/openbox-autostart OPENBOX" and "sh /home/ochi/.config/openbox/autostart" continue to run.
    What is the correct way to have all processes spawned during the X session killed upon logout?
    For reference, this is the loop script I use:
    #!/bin/bash
    while true; do
    # If you like, you can also play a sound for feedback.
    #paplay /usr/share/sounds/freedesktop/stereo/complete.oga &
    sleep 1
    done
    Update: Using gdm seems to "fix" the problem, i.e. all programs started by the autostart script seem to get killed correctly. However, gdm pulls a LOT of dependencies I don't want to have. I wonder what gdm does differently...
    Last edited by Ochi (2015-04-18 23:38:21)

    I continued to study this subject, and here is what I found at this time.
    First I precise again that I use openbox launched by startx at login in tty.
    When I exit openbox, I return to a -bash prompt, and I then can log out of tty.
    After logging in into openbox, I have:
    └─user.slice
    └─user-1000.slice
    ├─[email protected]
    │ ├─1421 /usr/lib/systemd/systemd --user
    │ └─1422 (sd-pam)
    └─session-c1.scope
    ├─1414 login -- berbae
    ├─1425 -bash
    ├─1432 /bin/sh /usr/bin/startx
    ├─1454 xinit /home/berbae/.xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -auth /tmp/serverauth.xxxxxxxxxx
    ├─1455 /usr/lib/xorg-server/Xorg -nolisten tcp :0 vt1 -auth /tmp/serverauth.xxxxxxxxxx
    ├─1459 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX
    ├─1464 dbus-launch --sh-syntax --exit-with-session
    ├─1465 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
    etc...
    When I exit openbox, without logging out, I have:
    └─user.slice
    └─user-1000.slice
    ├─[email protected]
    │ ├─1421 /usr/lib/systemd/systemd --user
    │ └─1422 (sd-pam)
    └─session-c1.scope
    ├─1414 login -- berbae
    └─1425 -bash
    If I ran something in background from konsole, when in openbox, this is not killed:
    └─user.slice
    └─user-1000.slice
    ├─[email protected]
    │ ├─1421 /usr/lib/systemd/systemd --user
    │ └─1422 (sd-pam)
    └─session-c1.scope
    ├─1414 login -- berbae
    ├─1425 -bash
    ├─1296 /bin/bash /home/berbae/bin/loop.sh
    └─1338 sleep 60
    If I log out, the process is still not killed!
    └─user.slice
    ├─user-1000.slice
    │ ├─[email protected]
    │ │ ├─517 /usr/lib/systemd/systemd --user
    │ │ └─519 (sd-pam)
    │ └─session-c1.scope
    │ ├─1296 /bin/bash /home/berbae/bin/loop.sh
    │ └─1338 sleep 60
    As seen the '[email protected]' with the 'systemd --user' process is not ended too, even after logging out.
    Edit: This is due to the session c1 still active; see next post.
    I don't know if this is intentional, maybe it is a feature.
    Now I found and propose a way to change this apparently default behavior, if it is not wanted.
    First to end the 'systemd --user' process at logout, it is easy; just run:
    $ systemctl --user enable exit.target
    Edit: This is useless, sorry; see next post
    Then to run a process in background, which should end when logging out, just launch it like this:
    $ systemd-run --user loop.sh
    This will launch the command 'loop.sh' as a service in the 'systemd --user' manager, instead of the 'session-c1.scope';
    and it will be ended at logout, because the manager is now ended at logout, with the normal end of the manager.
    Edit: see next post
    I will continue studying this matter, to see if something else interesting can be found.
    Edit: See the 'Edit:' lines above for the modifications, before the explanations in the next post.
    Last edited by berbae (2015-04-16 14:38:35)

  • [Solved] autostart cbatticon

    I am trying to get cbatticon to start when I login.  From the Arch wiki (here, I have created cbatticon.service located here: /etc/systemd/system
    cbatticon.service
    [Unit]
    Description=cbatticon
    [Service]
    ExecStart=/usr/bin/cbatticon
    [Install]
    WantedBy=multi-user.target
    When I execute
    sudo systemctl enable cbatticon.service
    I get
    Created symlink from /etc/systemd/system/multi-user.target.wants/cbatticon.service to /etc/systemd/system/cbatticon.service.
    But on reboot it does not start. How can I get cbatticon working? Thanks.
    Last edited by esquire70 (2014-12-11 17:58:20)

    Thanks for your help and good point. The solution is described in detail here here (I am using LXDE).
    ~/.config/lxsession/LXDE/autostart now looks like this (everything other than the cbatticon is default):
    @lxpanel --profile LXDE
    @pcmanfm --desktop --profile LXDE
    @xscreensaver -no-splash
    @cbatticon

Maybe you are looking for