Compiz+Emerald

Im sure that this has been posted a billion times before but im having trouble with the exact keywords for my problem are
In a nutshell, compiz and emerald do fine decorating my windows but the "inside" part in unchanged
I see all these very nice looking themes that I would like to use but they seem to be applied incompletely
for example, lets say i open up nautilus...the windows are decorated but the "file, edit...etc" are not neither is the part behind the drives
the theme im trying to install has the windows decorated and all those parts as well
i would try to search the forums but i dont know the words for the "inside part" lol

I think you are trying to change the gtk-theme... That is what controls the menus, toolbars, etc of gtk apps.
Are you using Gnome?

Similar Messages

  • Compiz / Emerald wont close windows

    I installed compiz and emerald, and everything is working perfectly, except when an application is launched, the "red x" at the corner of the window and the minimize maximize buttons are not clickable. I can't even click and drag the top of the window. The only way I can close/maximize/minimize the window is by right-clicking the icon in Avant Window Navigator and unmaximizing.
    After a window has been unmaximized, I can use the red x and the other buttons like normal.

    I think you are trying to change the gtk-theme... That is what controls the menus, toolbars, etc of gtk apps.
    Are you using Gnome?

  • Xfce & Compiz & Emerald - no window decorations

    Hi, I'm having a problem with my fresh installation of Archlinux i686. I choosed my favourite desktop environment - Xfce4, but I'm not able to get it working with Emerald and Compiz. When I try "emerald --replace" Emerald won't load and I don't see any error message either. On the other hand when I try running "compiz --replace ccp && emerald --replace &" my window decorations disappear and I see this in my console:
    compiz (cube) - Warn: Failed to load slide: freedesktop
    compiz (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
    fuse: failed to access mountpoint compiz: No such file or directory
    The result is the same with or without Window decorations Compiz plugin turned on or off. Only thing that can save my ass is running "xfwm4 --replace" which restores xfwm4 and kills both Emerald an Compiz.
    My xorg.conf:
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    Option "AIXGL" "true"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc/"
    FontPath "/usr/share/fonts/TTF/"
    FontPath "/usr/share/fonts/OTF/"
    FontPath "/usr/share/fonts/Type1/"
    FontPath "/usr/share/fonts/100dpi/"
    FontPath "/usr/share/fonts/75dpi/"
    EndSection
    Section "Module"
    Load "dri2"
    Load "record"
    Load "dri"
    Load "glx"
    Load "extmod"
    Load "dbe"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "Keyboard0"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc104"
    Option "XkbLayout" "cz,us"
    Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    #DisplaySize 290 160 # mm
    Identifier "Monitor0"
    VendorName "AUO"
    ModelName "122c"
    EndSection
    Section "Device"
    Option "XAANoOffscreenPixmaps" "true"
    Option "DRI" "true"
    Identifier "Card0"
    Driver "radeon"
    BusID "PCI:1:0:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection
    Section "DRI"
    Group 0
    Mode 0666
    EndSection
    Every package in my system is updated to its newest versions (as I said, my system is freshly installed).
    And yes, I UTFGed (a lot), but I haven't found any answer that would work for me (partially maybe because most of topics on this matter are more than one year old).
    Can anyone help me, please? I'm pretty desperate. Thanks in advance.

    myflower wrote:
    flamelab wrote:
    What's your card ?
    And what have you installed for it ?
    I have ATi Mobility Radeon HD 4300 Series and as you can see in xorg.conf I'm using radeon driver.
    Have you installed these ?
    mesa libgl ati-dri xf86-video-ati
    Did you delete your xorg.conf ?  Have you tried xf86-video-ati-git ?
    This one: https://bbs.archlinux.org/viewtopic.php?id=79509 ?
    If every else fails: https://wiki.archlinux.org/index.php/AT … positories (catalyst driver instead of radeon)

  • [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)

  • [solved] emerald seems running, but is not decorating windows

    I'm trying to run compiz+emerald standalone. Emerald seems to be running, because I activated some plugins (ring switcher and windows previews) and they are working perfect.
    Also 'ps aux' reports emerald running, but I can't see windows decorations.
    I'm running it via startx, this is my ~/.xinitrc
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    compiz ccp &
    emerald &
    exec lxpanel
    As I saw here: http://bbs.archlinux.org/viewtopic.php?id=51282
    I've also tried running fusion-icon instead of compiz directly, with the same result.
    Thanks in advance.
    Last edited by NeOnsKuLL (2010-01-02 20:50:41)

    The "problem" was that the "Windows Decorator" plugin was deactivated. Just set it active and voilá, jejeje.
    Thanks

  • XFCE + Compiz compositing issues

    Hi,
    I'm using XFCE without display manager and I start it by using the command "startxfce4". Instead of using Xfwm, I'm running Compiz for window decorations, window centering and compositing. In the configuration of CCSM I've replaced Xfwm by the string "emerald --replace" as window decorator (which works fine).
    What I'm wondering is: does this completely "disable" Xfwm or is it just replaced during the booting of XFCE? For I've got some applications using transparency (Guake) and compositing (Docky) which experience minor issues with regards to transparency and compositing some of the time, not always. Could this be caused by a "late" replacement of Xfwm by Compiz/Emerald?
    If so, how can I fix this? Could anyone explain this to me?
    Thanks in advance!

    Hi,
    I recently installed xfce and set up compiz. I was able to get the wall, expo, and ring switcher to work with xfwm and xfce panels.
    To get compiz to load on startup, I had to add
    compiz --replace ccp to the startup programs.
    So far, xfce and compiz have been working out well.

  • Windows "pop back" to maximize when clicked, no resizing (compiz?)

    Hi!
    I haven't seen this problem for a while and now it's back:
    - Sometimes a window gets stuck fullscreen or maximized
    - I can resize it with grid plugin but alt+mouse2 does not seem to work
    - As soon as it gains focus, it pops back to take up the whole of the screen
    - restarting the application does not change anything. Restarting compiz neighter
    - this seems to happen randomly, with different applications - mostly ones I hardly use.
    - behaviour stays buggy like that until I restart X or sometimes after closing the applications a few times, resizing, maximizing, clicking different stuff.
    Using xfce4-panel, compiz, emerald, gtk. No window rules for automatic positioning / resizing.
    Any ideas on what to look for? Thanks!

    You can try running the combo update.
    10.9.5 Combo Update

  • Emerald not activating after disabling kde4 decorator

    After installing a pretty fresh arch install, based off the 2010.05 snapshot and kde-worspace as my DE, I wanted to install compiz/emerald and use that as my window manager. The problem is although some compiz effects work(desktop cube for example), I cannot seem to get the emerald theme to work. This means I have no title bars for any of my windows, and therefor no ability to click to drag, minimize, maximize, or close. It seems like compiz is working, KWin window manager is successfully disabling, but emerald is not loading properly. I feel like I'm missing something obvious, compiz/emerald worked fine on my last fresh install when i was using kde 4.3. Any ideas?

    After installing a pretty fresh arch install, based off the 2010.05 snapshot and kde-worspace as my DE, I wanted to install compiz/emerald and use that as my window manager. The problem is although some compiz effects work(desktop cube for example), I cannot seem to get the emerald theme to work. This means I have no title bars for any of my windows, and therefor no ability to click to drag, minimize, maximize, or close. It seems like compiz is working, KWin window manager is successfully disabling, but emerald is not loading properly. I feel like I'm missing something obvious, compiz/emerald worked fine on my last fresh install when i was using kde 4.3. Any ideas?

  • Xfdesktop and compiz wallpaper plugin [UNSOLVED]

    Hello!
      Im using Xfce with compiz wallpaper plugin. It would be nice if i could use xfdesktop and compiz wallpaper plugin in the same time, to see icons and menu on desktop. Anybody has any ideea how can i resolve this interesting situation?
    Last edited by dejavus (2010-04-16 13:08:12)

    same problem here: no background & severe tearing.  Using nvidia driver. Compiz as standalone WM.
    For test changed xinit to start ONLY compiz+emerald+xterm.  Result: same problem.
    When switch Crt-Alt-F2 and Ctr-Alt-F7 than suddenly all works perfect.
    It used to work good until some months ago an update broke something. At that time i was to busy to investigate.
    Now i created a completely new user on my system (to avoid messing with old config files) and start compiz: same problem.
    Ok after a long long search on the internet finally found this on our very own archlinux forums:
    https://bbs.archlinux.org/viewtopic.php?id=105281
    The package they refer to is flagged out of date.
    Hmm, after some more reading http://aur.archlinux.org/packages.php?ID=41438
    decided to try install xorg-server from testing and i can confirm
    xorg-server 1.9.3.901-1 = problem solved.
    Note: until now never used anything from testing because i'm no good at solve problems.
    Installing Arch and keep it running and sorting this particular problem is challenge enough for me.
    Last edited by henkidefix (2011-01-15 20:23:33)

  • [solved] Gnome 2.30 with Compiz - xcursor theme problem

    Hello all.
    After the recent upgrade to gnome 2.30 I've notice that the cursor under compiz/emerald stays in the "default" theme, no matter what you set on configs...
    All my computers, after the upgrade, show the "default" theme cursor, except when passing the cursor over GTK apps like firefox or openoffice (when it shows the selected cursor theme) or over window close/max/min buttons.
    If you switch from compiz to metacity, the theming works normally.
    I've tested this with all themes I have installed, in many computers.
    Any ideas how to solve this?
    Thanks in advance for any help.
    Last edited by Raws (2010-04-15 16:30:05)

    Same Problem here, but creating /usr/share/icons/default/index.theme does not work.
    I have the DMZ-White theme in /usr/share/icons
    [michael@acer01 ~]$ ll /usr/share/icons/DMZ-White/
    insgesamt 204K
    -rw-r--r-- 1 root root 32 1. Dez 22:40 cursor.theme
    -rw-r--r-- 1 root root 186K 1. Dez 22:40 dmz.svg
    -rw-r--r-- 1 root root 1,3K 1. Dez 22:40 index.theme
    drwxr-xr-x 5 root root 4,0K 1. Dez 22:40 pngs
    I created two links /usr/share/icons/default/index.theme and ~/.icons/default/index.theme
    both point to /usr/share/icons/DMZ-White/cursor.theme
    [michael@acer01 ~]$ ll /usr/share/icons/default/index.theme
    lrwxrwxrwx 1 root root 39 1. Dez 22:49 /usr/share/icons/default/index.theme -> /usr/share/icons/DMZ-White/cursor.theme
    [michael@acer01 ~]$ ll ~/.icons/default/index.theme
    lrwxrwxrwx 1 michael michael 39 1. Dez 22:43 /home/michael/.icons/default/index.theme -> /usr/share/icons/DMZ-White/cursor.theme
    which has this content
    [michael@acer01 ~]$ cat /usr/share/icons/DMZ-White/cursor.theme
    [Icon Theme]
    Inherits=DMZ-White
    If I choose default pointer in Appearance Preferances, still the X-default-Theme is used.
    And in the DMZ-White Theme does not appear in  "Appearance Preferances --> Theme --> costumize --> Pointer" at all.
    I tried also other themes (which appear in the Pointer Tab) but it does not work. Still the X-default-Theme
    Are there maybe any other things I've missed.
    Why does the DMZ-White Theme not appear in the Pointer Tab in Appearance Prefs?
    I'm using Gnome since a few days ...

  • Firefox save dialogue window - qt-gt

    Using kdemod3, compiz/emerald, firefox 3.06 (pgo), have tried both qtcurve and gtk-qt-engine, and most of firefox looks fine, but when i go to save a file, open a file, and some other random dialogue boxes, i get the following:
    as you can see, no icons on folders (all four on the list are folders), and the "up one level" "home" and "create folder" buttons on the top right are blank.  I have tried removing .gtkrc-2.0, linking it to gtkrc-2.0-kde.  I've searched the forums and there doesn't seem to be any topics related to this.
    Also, on taking the screenshot, even though ksnapshot had "show windows decorations" checked, none came through on the shot.  switching to kwin as the wm, the window decorations show, but the buttons still blank, folders still have no icon:
    and neither window shows hidden files or folders when checking the box (first shot had it off, but i turned it on and no changes were shown) (and yes, there is a hidden .directory file in the desktop which shows in konqueror).
    any ideas?

    Hello Jack Yan,
    Have you tried updating your firefox or used in safe mode,If not please try these may work.
    Thanks

  • GTK3 apps refusing to start

    I've switched from LXDE/openbox to Compiz/emerald and am having a strange problem with GTK3 apps (tested with nm-applet and nautilus).
    Starting from a terminal gives the following error;
    (nm-applet:1445): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1217:17: Expected ')'
    (nm-applet:1445): Gtk-WARNING **: Theme parsing error: gtk.css:102:42: Failed to import: Error opening file: No such file or directory
    (nm-applet:1445): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1217:17: Expected ')'
    (nm-applet:1445): Gtk-WARNING **: Theme parsing error: gtk.css:102:42: Failed to import: Error opening file: No such file or directory
    the application is unable to start and just hangs, taking up 100% of one of my cpu cores. I've had a look at the gtk-widgets.css but can't see where there's a missing ')' (its clearly not at 1217:17).
    I'm currently using the Think_Correctly_GTK theme which includes GTK2 and 3 themes, both of which worked fine under LXDE.
    If I change the GTK2 to a different theme and try to start again I get;
    (nm-applet:1458): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1217:17: Expected ')'
    (nm-applet:1458): Gtk-WARNING **: Theme parsing error: gtk.css:102:42: Failed to import: Error opening file: No such file or directory
    ** Message: applet now removed from the notification area
    (nm-applet:1458): libnotify-WARNING **: Failed to connect to proxy
    ** Message: applet now embedded in the notification area
    ** (nm-applet:1458): WARNING **: Failed to show notification: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
    Same theme parsing error, however now both nm-applet and nautilus start, if I then switch the GTK2 theme back they're ok until I close and reopen nautilus.
    Any idea how to resolve this apart from using a different theme?

    Hi theafroguy, Welcome to the Forums.
    It may be worth trying again off and on.
    The forums themselves go off line for varying degrees of time. A thread (???) said Apple was working on it. It's been going on for weeks. A real PITA.

  • SSHD Starts Itself!

    I noticed the other day that sshd was being started on my laptop.  I didn't want it to be there so I went to remove it from the deamons array when I realized it wasn't there.
    # ps -A | grep sshd
    1285 ? 00:00:00 sshd
    I don't know if this helps but here is my pstree, it shows that sshd is owned by init.
    init-+-NetworkManager-+-dhclient
    | `-3*[{NetworkManager}]
    |-agetty
    |-at-spi-bus-laun---2*[{at-spi-bus-laun}]
    |-colord---{colord}
    |-colord-sane---2*[{colord-sane}]
    |-console-kit-dae---64*[{console-kit-dae}]
    |-crond
    |-cupsd
    |-2*[dbus-daemon]
    |-dbus-launch
    |-gconfd-2
    |-gpg-agent
    |-gvfs-afc-volume---{gvfs-afc-volume}
    |-gvfs-fuse-daemo---3*[{gvfs-fuse-daemo}]
    |-gvfs-udisks2-vo---{gvfs-udisks2-vo}
    |-gvfsd
    |-gvfsd-trash
    |-login---bash---xinit-+-X
    | `-compiz-+-emerald
    | |-nm-applet---2*[{nm-applet}]
    | |-parcellite
    | |-thunderbird---27*[{thunderbird}]
    | |-xfce4-panel-+-firefox---26*[{firefox}]
    | | |-panel-4-systray
    | | |-panel-5-datetim
    | | |-panel-8-battery
    | | |-xfce4-mixer-plu---4*[{xfce4-mixer-plu}]
    | | `-{xfce4-panel}
    | `-xfdesktop
    |-ntpd
    |-polkitd---{polkitd}
    |-preload
    |-pulseaudio-+-gconf-helper
    | `-2*[{pulseaudio}]
    |-sshd #<<<<<<< AHHH
    |-syslog-ng---syslog-ng
    |-systemd-udevd
    |-terminal-+-bash-+-bash
    | | `-pstree
    | |-gnome-pty-helpe
    | `-{terminal}
    |-udisksd---3*[{udisksd}]
    |-wpa_supplicant
    |-xbindkeys
    `-xfconfd
    I was wondering if you had any idea why this is starting, or if you know any way to find out what program is starting it.  Thanks for any help.

    To be honnest I'm really confused right now.  I don't really know anything about systemd but as it is an old system I think I am still running initscripts.  How do you tell.  On a related note I forgot to talk about my "maybe I have systemd" attempts.
    ╰# systemctl disable sshd.service
    ╭(2)─(root)─(~)
    ╰# systemctl disable [email protected]
    ╭(0)─(root)─(~)
    ╰#
    The number in the brackets is the command exit status.
    Even though the second command succeeds a reboot restarts sshd.
    Just in case you still want it here is ps -ejH:
    # ps -ejH
    PID PGID SID TTY TIME CMD
    2 0 0 ? 00:00:00 kthreadd
    3 0 0 ? 00:00:00 ksoftirqd/0
    4 0 0 ? 00:00:01 kworker/0:0
    5 0 0 ? 00:00:00 kworker/u:0
    6 0 0 ? 00:00:00 migration/0
    7 0 0 ? 00:00:00 watchdog/0
    8 0 0 ? 00:00:00 migration/1
    10 0 0 ? 00:00:00 ksoftirqd/1
    11 0 0 ? 00:00:00 watchdog/1
    12 0 0 ? 00:00:00 cpuset
    13 0 0 ? 00:00:00 khelper
    14 0 0 ? 00:00:00 kdevtmpfs
    15 0 0 ? 00:00:00 netns
    16 0 0 ? 00:00:00 sync_supers
    17 0 0 ? 00:00:00 bdi-default
    18 0 0 ? 00:00:00 kblockd
    19 0 0 ? 00:00:00 kworker/0:1
    20 0 0 ? 00:00:01 kworker/1:1
    21 0 0 ? 00:00:00 khungtaskd
    22 0 0 ? 00:00:00 kswapd0
    23 0 0 ? 00:00:00 ksmd
    24 0 0 ? 00:00:00 khugepaged
    25 0 0 ? 00:00:00 fsnotify_mark
    26 0 0 ? 00:00:00 crypto
    29 0 0 ? 00:00:00 kthrotld
    31 0 0 ? 00:00:00 deferwq
    69 0 0 ? 00:00:00 khubd
    70 0 0 ? 00:00:00 ata_sff
    71 0 0 ? 00:00:00 scsi_eh_0
    72 0 0 ? 00:00:00 scsi_eh_1
    73 0 0 ? 00:00:00 scsi_eh_2
    74 0 0 ? 00:00:00 scsi_eh_3
    75 0 0 ? 00:00:01 kworker/u:2
    88 0 0 ? 00:00:00 jbd2/sda1-8
    89 0 0 ? 00:00:00 ext4-dio-unwrit
    137 0 0 ? 00:00:00 rpciod
    138 0 0 ? 00:00:00 nfsiod
    207 0 0 ? 00:00:00 kpsmoused
    210 0 0 ? 00:00:00 hd-audio0
    213 0 0 ? 00:00:00 cfg80211
    215 0 0 ? 00:00:00 flush-8:0
    252 0 0 ? 00:00:00 kworker/1:2
    296 0 0 ? 00:00:00 jbd2/sda3-8
    297 0 0 ? 00:00:00 ext4-dio-unwrit
    1991 0 0 ? 00:00:00 kworker/u:1
    1 1 1 ? 00:00:00 init
    131 131 131 ? 00:00:00 systemd-udevd
    358 357 357 ? 00:00:00 syslog-ng
    359 359 359 ? 00:00:00 syslog-ng
    384 384 384 ? 00:00:00 dbus-daemon
    410 410 410 ? 00:00:01 NetworkManager
    1802 1802 410 ? 00:00:00 dhclient
    524 524 524 ? 00:00:00 ntpd
    534 534 534 ? 00:00:00 crond
    538 538 538 ? 00:00:00 preload
    545 384 384 ? 00:00:00 polkitd
    548 548 548 ? 00:00:00 login
    1128 1128 1128 tty1 00:00:00 bash
    1180 1128 1128 tty1 00:00:00 xinit
    1181 1181 1181 tty3 00:00:37 X
    1187 1187 1128 tty1 00:00:13 compiz
    1656 1187 1128 tty1 00:00:01 xfce4-panel
    1679 1187 1128 tty1 00:00:00 panel-4-systray
    1681 1187 1128 tty1 00:00:00 xfce4-mixer-plu
    1682 1187 1128 tty1 00:00:00 panel-8-battery
    1683 1187 1128 tty1 00:00:00 panel-5-datetim
    1901 1187 1128 tty1 00:03:28 firefox
    1657 1187 1128 tty1 00:00:03 xfdesktop
    1658 1187 1128 tty1 00:00:03 parcellite
    1659 1187 1128 tty1 00:00:02 nm-applet
    1660 1187 1128 tty1 00:01:39 thunderbird
    1713 1713 1713 ? 00:00:01 emerald
    549 549 549 tty2 00:00:00 agetty
    558 558 558 ? 00:00:00 cupsd
    657 384 384 ? 00:00:00 wpa_supplicant
    1019 384 384 ? 00:00:00 console-kit-dae
    1042 384 384 ? 00:00:00 colord
    1142 1142 1142 ? 00:00:00 gpg-agent
    1151 384 384 ? 00:00:00 colord-sane
    1196 1187 1128 tty1 00:00:00 dbus-launch
    1198 1198 1198 ? 00:00:00 dbus-daemon
    1203 1202 1202 ? 00:00:00 pulseaudio
    1208 1202 1202 ? 00:00:00 gconf-helper
    1211 1198 1198 ? 00:00:00 gconfd-2
    1655 1654 1654 ? 00:00:00 xbindkeys
    1662 1198 1198 ? 00:00:00 gvfsd
    1665 1198 1198 ? 00:00:00 gvfs-fuse-daemo
    1674 1198 1198 ? 00:00:00 xfconfd
    1694 1198 1198 ? 00:00:00 gvfs-udisks2-vo
    1697 384 384 ? 00:00:00 udisksd
    1706 1198 1198 ? 00:00:00 gvfs-afc-volume
    1712 1198 1198 ? 00:00:00 gvfsd-trash
    1717 1198 1198 ? 00:00:00 at-spi-bus-laun
    1875 1875 1875 ? 00:00:00 sshd
    1993 1992 1992 ? 00:00:01 terminal
    1994 1992 1992 ? 00:00:00 gnome-pty-helpe
    1995 1995 1995 pts/0 00:00:00 bash
    2032 2032 2032 pts/1 00:00:00 bash
    2046 2046 2032 pts/1 00:00:00 ps

  • XFCE4 Windows open behind panel

    I am having an annoying issue with XFCE4 + compiz + emerald. I've had this issue with a few panel applets, where the window will open partly behind my XFCE panel. Right now I am having the issue after installing PNmixer, as shown in this screenshot:
    http://i.imgur.com/nonxM.png
    No matter what I do it opens in that same spot. I also had this problem with the orage calendar, but was able to fix it by using the compiz move window shortcut and moving it into a better spot, and then the application remembered it. No such like with this, as I can't use the move window shortcut on it (if I use any keyboard shortcut on it it just disappears, even if I set the shortcut to a single key rather than a combination)
    Is there anyway to fix this? Not sure exactly whats causing it.

    Not a solution to the actual problem but it will eliminate windows showing behind the panel.
    Use workplace margin to create a space equal in size to the top panel.
    Last edited by jeff story (2012-01-16 21:33:35)

  • MyGtkMenu dinamic menu generator (auto-updated)

    I switched from lxpanel to bmpanel2 about a week or 10 days ago. With lxpanel I used the menu it provides, but bmpanel2 doesn't cames with a menu widget. One of the solutions suggested is use myGtkMenu, called from a launcher. I use Openbox with obmenugen, which auto-updates the menu every time I call it (right click on desktop), so, I want the same approach with myGtkMenu. This means that if I install a new application and it puts a .desktop file (which is the most common behavior), when I right-click in the desktop, and the menu is shown, the application is already under the category it belongs.
    The first version of obmenugen I wrote, was in python. obmenugen has evolved a lot since that, but the original python script, still having the main code needed to get the information from .desktop files, so, I tweaked the script and quickly have a usable version which generates a dinamic menu using the information present in .desktop files (/usr/share/applications/*.desktop).
    By now, the script still not adding icons to the menu, so, you end having a menu that looks similar to the Openbox menu. The layout of the menu is quite fixed (I don't know the term in english to describe "rígido"). To configure it, you must tweak the script itself, but it's easy if you don't need so much.
    In the future (I hope soon) I will be writing a modified version of obmenugen, also in the D programming language, with the same flexibility as obmenugen, but generating in myGtkMenu format.
    Edit it as needed (CONFIG, MY_GTK_MENU_BINARY, MENUPOS), and simply run it directly (save the code to a file, give it execution permissions, and call it).
    This is the script:
    #!/usr/bin/env python
    # -*- coding: UTF-8 -*-
    __license__ = """
    Copyright 2010 Pável Varela Rodríguez <[email protected]>
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 2 of the License, or (at your option)
    any later version.
    __author__ = "Pável Varela Rodríguez <[email protected]>"
    __version__ = "0.1"
    ### EDIT THIS TO YOUR NEEDS ###
    CONFIG = {
    "Terminal": "sakura",
    "Editor" : "gedit",
    "FileManager" : "thunar",
    "RunCommand" : "gmrun",
    "ExitCommand" : "oblogout"
    MY_GTK_MENU_BINARY="~/bin/myGtkMenu"
    MY_GTK_MENU_FILE="/tmp/myGtkMenu.txt"
    ICONSIZE=-1 # Set to -1 to ignore icon
    MENUPOS=(1, 30) # Set both to -1 to ignore position
    ### DO NOT EDIT FROM HERE ###
    import os, re
    OB_CFG_HOME = os.path.expanduser("~/.config/openbox")
    DEFAULT_CFG = {
    "Terminal": "xterm",
    "Editor" : "gedit",
    "FileManager" : "thunar",
    "RunCommand" : "gmrun"
    LANG = {}
    LANG["Long"] = os.environ["LANG"].split(".")[0]
    LANG["Short"] = LANG["Long"].split("_")[0]
    DOT_DESKTOP_LOCATIONS = [
    "/usr/share/applications",
    "/usr/share/applications/kde4"
    FILTERS = {
    "dotDesktop": re.compile('.+\.desktop'),
    "Categories": re.compile('Categories=.+'),
    "Name": re.compile('Name(\[(en_US|en)\]|)=.+'),
    "Exec": re.compile('Exec=.+'),
    "Icon": re.compile('Icon=.+'),
    CATEGORIES_PRIORITY = ["01System", "02Settings", "03Development", "04Education",
    "05AudioVideo", "06Audio", "07Video", "08Office",
    "09Graphics", "10Network", "11Utility", "12Viewer",
    "13Game"]
    MENU_TEMPLATE = """
    MENU_TOP
    SEPARATOR
    MENU_ACCESORIES
    MENU_GRAPHICS
    MENU_EDUCATION
    MENU_AUDIOVIDEO
    MENU_OFFICE
    MENU_GAMES
    MENU_NETWORK
    MENU_DEVEL
    MENU_SETTINGS
    MENU_SYSTEM
    SEPARATOR
    #submenu = Openbox Settings
    #\ticon = NULL
    #\tMENU_OPENBOX
    EXIT
    MENU_TOP = """item=Terminal\ncmd="%s"\nicon=NULL\n
    item=Editor\ncmd="%s"\nicon=NULL\n
    item=FileManager\ncmd="%s"\nicon=NULL\n
    item=Run\ncmd="%s"\nicon=NULL\n"""
    MENU_CATEGORY = """submenu = %s\n\ticon = NULL\n%s\n\n"""
    ITEM_ACTION = """\titem=%s\n\tcmd="%s"\n\ticon=%s\n\n"""
    MENU = ""
    LISTS = {
    "accesories": {"categories": ["utility"], "label": "Accesories", "files": []},
    "graphics": {"categories": ["graphics"], "label": "Graphics", "files": []},
    "education": {"categories": ["education"], "label": "Education", "files": []},
    "audiovideo": {"categories": ["audiovideo", "audio", "video"], "label": "Audio & Video", "files": []},
    "office": {"categories": ["office"], "label": "Office", "files": []},
    "games": {"categories": ["game"], "label": "Games", "files": []},
    "network": {"categories": ["network"], "label": "Network", "files": []},
    "devel": {"categories": ["development"], "label": "Development", "files": []},
    "settings": {"categories": ["settings"], "label": "Settings", "files": []},
    "system": {"categories": ["system"], "label": "System Tools", "files": []}
    def getDotDesktopFiles():
    filelist = []
    for directory in DOT_DESKTOP_LOCATIONS:
    utf8_dir = directory.decode('utf8')
    filelist += [os.path.join(utf8_dir, item.decode('utf8'))
    for item in os.listdir(directory)
    if FILTERS["dotDesktop"].match(item)]
    return filelist
    def __cleanValue(value):
    for to_clean in ["%U", "%u", "%F", "%f", "\n"]:
    value = value.replace(to_clean, "")
    value = value.replace("&", "&")
    value = value.strip()
    return value
    def getName(content):
    for line in content:
    if FILTERS["Name"].match(line):
    return __cleanValue(line.split("=")[1])
    return None
    def getCategory(content):
    for line in content:
    if FILTERS["Categories"].match(line):
    categories = [item.replace("\n", "") for item in line.split("=")[1].split(";")]
    for cat in CATEGORIES_PRIORITY:
    if cat[2:] in categories:
    return __cleanValue(cat[2:])
    return None
    def getExecCmd(content):
    for line in content:
    if FILTERS["Exec"].match(line):
    return __cleanValue(line.split("=")[1])
    return None
    def getIcon(content):
    if ICONSIZE > 0:
    for line in content:
    if FILTERS["Icon"].match(line):
    return __cleanValue(line.split("=")[1])
    return "NULL"
    def parseDotDesktopFile(filepath):
    content = open(filepath, "r").readlines()
    name = getName(content)
    category = getCategory(content)
    exec_cmd = getExecCmd(content)
    icon = getIcon(content)
    if None in [name, category, exec_cmd]:
    return None
    else:
    return {"Name": name,
    "Category": category,
    "Exec": exec_cmd,
    "Icon": icon}
    def fillLists():
    files = getDotDesktopFiles()
    for currentFile in getDotDesktopFiles():
    info = parseDotDesktopFile(currentFile)
    if info:
    for category_list in LISTS.keys():
    if info["Category"].lower() in LISTS[category_list]["categories"]:
    LISTS[category_list]["files"].append(info)
    def __genMenuTop():
    for key in CONFIG.keys():
    if CONFIG[key]: DEFAULT_CFG[key] = CONFIG[key]
    return MENU_TOP % (DEFAULT_CFG["Terminal"],
    DEFAULT_CFG["Editor"],
    DEFAULT_CFG["FileManager"],
    DEFAULT_CFG["RunCommand"])
    def __genCategoryMenu(category):
    items = ""
    LISTS[category]["files"].sort()
    for item in LISTS[category]["files"]:
    items += ITEM_ACTION % (item["Name"], item["Exec"], item["Icon"])
    if not items:
    return ""
    menu_label = LISTS[category]["label"]
    return MENU_CATEGORY % (menu_label, items)
    def __genMenuOpenbox():
    items = ""
    AUTOSTARTSH = os.path.join(OB_CFG_HOME, "autostart.sh")
    if not os.path.exists(AUTOSTARTSH):
    f = open(AUTOSTARTSH, "w")
    f.close()
    os.chmod(AUTOSTARTSH, 0744)
    items += ITEM_ACTION[8:] % ("Configure Autostarted Applications", "%s %s" % (DEFAULT_CFG["Editor"], AUTOSTARTSH))
    for item in LISTS["settings"]["files"]:
    if item["Exec"] in ["obconf"]:
    items += ITEM_ACTION[:-1] % (item["Name"], item["Exec"], item["Icon"])
    return items
    def __genMenu():
    fillLists()
    MENU = MENU_TEMPLATE.replace("MENU_TOP", __genMenuTop())
    for category in LISTS.keys():
    MENU = MENU.replace("MENU_%s" % category.upper(), __genCategoryMenu(category))
    #MENU = MENU.replace("MENU_OPENBOX", __genMenuOpenbox())
    MENU = MENU.replace("EXIT", "\nitem=Exit\ncmd=%s\nicon=NULL\n" % CONFIG["ExitCommand"])
    if ICONSIZE > 0:
    MENU = "iconsize = %d\n%s" % (ICONSIZE, MENU)
    if MENUPOS[0] > 0 and MENUPOS[1] > 0:
    MENU = "MenuPosition = %d %d\n%s" % (MENUPOS[0], MENUPOS[1], MENU)
    return MENU
    def __writeMenuFile(content):
    filePath = os.path.join("/tmp", MY_GTK_MENU_FILE)
    menuFile = open(filePath, "w")
    menuFile.write(content)
    menuFile.close()
    if __name__ == "__main__":
    if len(os.sys.argv) > 2:
    print("Bad arguments length!!")
    elif "--help" in os.sys.argv or "-h" in os.sys.argv:
    print "La ayuda"
    elif len(os.sys.argv) == 1:
    menu = __genMenu()
    #print(menu)
    __writeMenuFile(menu)
    os.system("%s %s" % (MY_GTK_MENU_BINARY, MY_GTK_MENU_FILE))
    else:
    print("Argument error: %s" % " ".join(os.sys.argv[1:]))
    The only things you need to edit are those present in the first section of the script. If you know wath you do, can also change the order of the categories, editing MENU_TEMPLATE.
    The most important are settings are:
    - MY_GTK_MENU_BINARY: Which you must set up to the myGtkMenu binary (the full path or simply myGtkMenu if it is in $PATH)
    - CONFIG: Put there the tools you use
    - MENUPOS: If you will use the generated menu the way Openbox show it's own menu (ie. with compiz+emerald standalone), set this to (-1, -1), the menu will appear just under the mouse pointer. I setted it to (1, 30), because I have my bmpanel2 at screen's top, and the launcher is at the begining (the left).
    Sorry about the ugly code, but this was written to do the job, quick and dirty.
    I hope you enjoy it, and wait for next versions, which will be really flexible and fast, as obmenugen.
    See you
    Last edited by NeOnsKuLL (2010-01-05 05:32:48)

    I used this script and it as the icon names generated by it are the ones in the .desktop files, myGtkMenu was not able to show icons. So i inserted a piece of code from cbpanel to get the absolute path into the mygtkmenu file.
    Here is the relevant piece of code:
    #copied from the cbpanel code
    def find_icon(icon):
    foundiconfile=None
    if icon == '':
    return foundiconfile
    if icon[0] == '/':
    return icon
    iconbase=('','Faenza','elementary','gnome','hicolor','locolor')
    iconpath='/usr/share/icons'
    sizelist =('', 'scalable', '256x256', '128x128', '64x64', '48x48', '32x32', '24x24')
    categorylist=('actions', 'apps','devices', 'categories','filesystems', 'places', 'status', 'stock', '')
    extensionlist = ('png', 'svg', 'xpm')
    iconimagelist=[]
    for extension in extensionlist:
    if (icon.find('.'+extension) != -1):
    icon = icon.replace('.'+extension,'')
    for size in sizelist:
    for extension in extensionlist:
    for category in categorylist:
    for iconbasecat in iconbase:
    iconfile = iconpath+"/"+iconbasecat+'/'+size+'/'+category+'/'+icon+'.'+extension
    iconimagelist.append(iconfile)
    for extension in extensionlist:
    iconfile = '/usr/share/pixmaps/'+icon+'.'+extension
    iconimagelist.append(iconfile)
    for extension in extensionlist:
    iconfile = '/usr/share/app-install/icons/'+icon+'.'+extension
    iconimagelist.append(iconfile)
    # Seek if the files in pre-generated list exists.. first match is the best
    # return it
    for iconimage in iconimagelist:
    if os.path.exists(iconimage):
    return iconimage
    return foundiconfile
    #end of copy from cbpanel code
    And the relevant modification in NeOnsKuLL's script:
    def getIcon(content):
    if ICONSIZE > 0:
    for line in content:
    if FILTERS["Icon"].match(line):
    #return __cleanValue(line.split("=")[1])
    return find_icon(__cleanValue(line.split("=")[1]))
    return "NULL"
    This is my first attempt at doing anything with Python, so somebody with  any skills will do much better  than this copy-paste job
    I have no idea why the icons were not displayed in the first place though.
    Hope somebody finds it useful as I found NeOnsKull's script.

Maybe you are looking for

  • ADC Studio Display 17" USB not working

    Hi, I hope someone can help. I have a 17" Apple Studio Display that connects via ADC left over from my old Powermac G4. I recently bought the new Mac Mini (Unibody) and an Apple DVI to ADC Display Adapter to use with the HDMI to DVI Adapter to connec

  • How can I stop mail on iPad from going to next message when deleting an email?

    How can I stop the mail app from moving to the next message when deleting an email? I like to keep messages as new until I can take action on them, but this just makes an unnecessary step.  I do not have this problem on my iPhone, but I am still runn

  • TS doesn't accept my container of booleans

    Hello, See attached file. Why this happens? Why I get '??? <Unknown Value> ? Types should match. I use TS2012 and LV2012. BR, Jick Attachments: container_problem.jpg ‏208 KB

  • Difficult ClassLoader problems with multiple deployed enterprise Apps

    Greetings! When multiple instances of an enterprise application are deployed, ClassLoader issues are causing ClassCast Exceptions in the instantiation of Stateless SessionBeans. These ClassCast Exceptions are causing the Stateless Session beans to no

  • Plz Help me Jump from DAYPR to detailed log

    Hi Experts, Plz help me to slove this issue while running payroll simulation iam getting the error as JUMP from DAYPR to detailed log Incorrect generation of WTS...  it is negative time recording,  the personnel number is assigned to '0' in IT07, but