Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Custom Pantheon DEs (Compiz and Openbox)

  1. #1
    Join Date
    Nov 2008
    Location
    Oita, Japan
    Beans
    431
    Distro
    Ubuntu

    Custom Pantheon DEs (Compiz and Openbox)

    ElementaryOS's Pantheon DE (cerbere, slingshot-launcher, wingpanel, plank) can be installed independently of elementaryOS.

    Add the PPA:
    Code:
    apt-add-repository ppa:elementary-os/stable
    and if you're feeling adventurous:
    Code:
    apt-add-repository ppa:elementary-os/testing
    and if you're crazy:
    Code:
    apt-add-repository ppa:elementary-os/daily
    Update
    Code:
    apt-get update
    Install the desktop components:
    Code:
    apt-get install pantheon-shell cerbere plank
    Install these to satisfy some configuration dependencies:
    Code:
    apt-get install gala elementary-default-settings
    Time to set up some pantheon-derivative desktops!
    Last edited by quequotion; February 19th, 2015 at 07:25 AM. Reason: See below!

  2. #2
    Join Date
    Nov 2008
    Location
    Oita, Japan
    Beans
    431
    Distro
    Ubuntu

    Re: Custom Pantheon DEs (Compiz and Openbox)

    Pantheon 3D:


    Replaces gala with compiz for a 3D, light and fast alternative to Unity.

    Create a compiz profile with Unity disabled either from Unity, or another DE.

    Install the window manager and configuration app:
    Code:
    apt-get install compiz compizconfig-settings-manager
    Create the session files:
    /usr/share/xsessions/pantheon-compiz.desktop
    Code:
    [Desktop Entry]
    Name=Pantheon 3D
    Comment=This session provides elementary-3d experience
    Exec=gnome-session --session=pantheon-compiz
    TryExec=compiz
    Icon=
    Type=Application
    /usr/share/gnome-session/sessions/pantheon-compiz.session
    Code:
    [GNOME Session]
    Name=Pantheon
    RequiredComponents=compiz;
    FallbackSession=ubuntu
    DesktopNames=Pantheon
    Last edited by quequotion; February 19th, 2015 at 07:08 AM. Reason: Pantheon 3D

  3. #3
    Join Date
    Feb 2011
    Beans
    488
    Distro
    Ubuntu

    Re: Custom Pantheon DEs (Compiz and Openbox)

    Interesting! I'm definitively going to bookmark this thread!

  4. #4
    Join Date
    Nov 2008
    Location
    Oita, Japan
    Beans
    431
    Distro
    Ubuntu

    Re: Custom Pantheon DEs (Compiz and Openbox)

    Pantheon Lite:


    Replaces gala with openbox for a very light 2D alternative to Pantheon.

    Install the window manager and configuration app:
    Code:
    apt-get install openbox obconf
    Create the session files:
    /usr/share/xsessions/openbox-pantheon.desktop
    Code:
    [Desktop Entry]
    Name=Pantheon Lite
    Comment=This session provides elementary-lite experience
    Exec=gnome-session --session=pantheon-openbox
    TryExec=openbox
    Icon=
    Type=Application
    /usr/share/gnome-session/sessions/pantheon-openbox.session
    Code:
    [GNOME Session]
    Name=Pantheon
    RequiredComponents=openbox;
    FallbackSession=ubuntu
    DesktopNames=Pantheon
    Openbox is still not getting packaged correctly, and the .desktop file has been removed as a result of the confusion.

    This desktop file is needed to start openbox (eg, pantheon-lite) with gnome-session:
    /usr/share/applications/openbox.desktop
    Code:
    [Desktop Entry]
    Type=Application
    Name=Openbox
    Exec=openbox
    Icon=openbox
    NoDisplay=true
    # name we put on the WM spec check window
    X-GNOME-WMName=Openbox
    # gnome-session autostart
    X-GNOME-Autostart-Phase=WindowManager
    X-GNOME-Provides=windowmanager
    # Ubuntu stuff
    X-Ubuntu-Gettext-Domain=openbox
    # back compat
    X-GNOME-Autostart-Notify=true
    Please chime in on my bug report and insist that this be fixed (by packaging the correct .desktop file in "data/openbox.desktop").
    Last edited by quequotion; February 19th, 2015 at 06:27 AM. Reason: Pantheon Lite

  5. #5
    Join Date
    Nov 2008
    Location
    Oita, Japan
    Beans
    431
    Distro
    Ubuntu

    Re: Custom Pantheon DEs (Compiz and Openbox)

    Quote Originally Posted by Dry Lips View Post
    Interesting! I'm definitively going to bookmark this thread!
    Thanks!

    I've got some updates already!

    For a better looking Pantheon-lite (transparency, etc), add compton as a compositor:
    Code:
    sudo add-apt-repository ppa:richardgv/compton
    sudo apt-get update && sudo apt-get install compton
    /usr/share/gnome-session/sessions/pantheon-openbox.session
    Code:
    [GNOME Session]
    Name=Pantheon
    RequiredComponents=openbox;compton;
    FallbackSession=openbox
    DesktopNames=Pantheon
    Compton features a dbus interface which can do amazing things!

    To start pantheon-lite with dbus-enabled compton, create an additional .desktop file:
    /usr/share/applications/compton-dbus.desktop
    Code:
    [Desktop Entry]
    Version=1.0
    Type=Application
    Name=compton (dbus enabled)
    GenericName=X compositor
    Comment=A X compositor
    Categories=Utility;
    TryExec=compton
    Exec=compton --dbus
    Then specify compton-dbus in the session file:
    /usr/share/gnome-session/sessions/pantheon-openbox.session
    Code:
    [GNOME Session]
    Name=Pantheon
    RequiredComponents=openbox;compton-dbus;
    FallbackSession=openbox
    DesktopNames=Pantheon
    Adding a compositor will improve the look of the desktop, but it also consumes more resources (though certainly less than compiz and probably less than gala).

    As an example of what to do with the dbus interface, assign this script to a hotkey to invert the color of the currently focused window.
    Last edited by quequotion; February 19th, 2015 at 06:32 AM. Reason: Compton compositor

  6. #6
    Join Date
    Nov 2008
    Location
    Oita, Japan
    Beans
    431
    Distro
    Ubuntu

    Re: Custom Pantheon DEs (Compiz and Openbox)

    Optional stuff

    Elementary Themes
    For compiz apply the elementary theme with GNOME Tweak Tool, Ubuntu Tweak, or dconf-editor
    For openbox, there are several options. I reccomend to apply the eGTK theme for openbox with obconf.

    Super-wingpanel
    Super-wingpanel re-implements the original "super-sexy, space saving" design of wingpanel.
    Code:
    apt-add-repository ppa:heathbar/super-wingpanel
    or
    Code:
    apt-add-repository ppa:heathbar/super-wingpanel-daily
    Super-wingpanel has not been updated upstream since Precise, but I have patched in support for new indicators and build fixes for newer versions of Ubuntu in the archlinux packaging.
    If anyone who understands debian packaging wants to turn my version into a PPA, please do. I find debian packaging to be more difficult than writing programs.
    Last edited by quequotion; February 19th, 2015 at 07:44 AM. Reason: Optional

  7. #7
    Join Date
    Nov 2008
    Location
    Oita, Japan
    Beans
    431
    Distro
    Ubuntu

    Re: Custom Pantheon DEs (Compiz and Openbox)

    I gathered some statistics on each desktop's resource consumption.
    The process statistics come from top running in gnome-terminal while no other windows are open.
    The VRAM statisic comes from nvidia-settings GUI, while no other windows are open.
    CPU usage was not enough to make note, although compiz consumes more than gala, openbox, or compton.

    Pantheon Lite (with compositor)
    Code:
    CMD       VIRT      RES  SHR
    openbox   151m      10m  6336
    compton   94812     20m  11m
    VRAM: 49m
    Pantheon
    Code:
    CMD       VIRT      RES  SHR
    gala      613m      48m  31m
    VRAM: 82m
    Pantheon 3D
    Code:
    CMD       VIRT     RES  SHR
    compiz    681m      186m 39m
    VRAM: 201m
    Ayatana (Unity)
    Code:
    CMD       VIRT      RES  SHR
    compiz    1491m     301m 51m
    VRAM: 291m
    To enable vsync and improve performance (with the nvidia binary driver), I added some options to compton in Pantheon Lite. The increased resource consumption is still lower than the standard Pantheon desktop:
    ~/.config/compton.conf
    Code:
    # Other
    backend = "glx";
    vsync = "opengl-swc";
    paint-on-overlay = true;
    unredir-if-possible = true;
    Pantheon Lite (with configuration)
    Code:
    CMD       VIRT      RES  SHR
    openbox   151m      10m  6356
    compton   112m      28m  17m
    VRAM: 73m
    Last edited by quequotion; February 19th, 2015 at 06:41 AM.

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Custom Pantheon DEs (Compiz and Openbox)

    reopened
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Oct 2014
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Custom Pantheon DEs (Compiz and Openbox)

    What is the difference between XFCE customized dock panel?

  10. #10
    Join Date
    Nov 2008
    Location
    Oita, Japan
    Beans
    431
    Distro
    Ubuntu

    Re: Custom Pantheon DEs (Compiz and Openbox)

    Quote Originally Posted by InterProg View Post
    What is the difference between XFCE customized dock panel?
    ...and (super-)wingpanel?

    You can customize XFCE panel to look and do the same as wingpanel, but not super-wingpanel.
    Wingpanel is gtk3(+granite?) and a little shinier than xfce-panel, with several eye-candy features (but no hiding).

    Super-wingpanel is another thing. The application launcher and status icon area can be split into two, independently auto-hiding panels. There's no better screenspace saving panel available (except perhaps the earliest versions of wingpanel).

    Both have support for Unity 7 indicators (super-wingpanel does, with patches from me, in the Arch User Repository), but wingpanel is undergoing an identity crisis, hopefully becoming a little less dependent on Canonical-patched code.

    Super-wingpanel is abandoned by it's creator. I'm considering making an official fork, but bzr gives me headaches.

    Also, this thread is ancient: Ask the Elementary people about their panel! There's lots of stuff I don't know. I'm sure they visit these forums; they also have a handy irc channel on freenode.
    Last edited by quequotion; October 18th, 2015 at 09:49 AM.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •