Results 1 to 9 of 9

Thread: Conky Window Decoration Shade & Titlebar

  1. #1
    Join Date
    Aug 2007
    Location
    Canada
    Beans
    277
    Distro
    Ubuntu 12.04 Precise Pangolin

    Conky Window Decoration Shade & Titlebar

    I'm running 4 conky windows overtop of my desktop (screenshot). It's elementary OS Luna (Ubuntu 12.04) with the Gala window manager.
    They have no window decoration and the edges are flat... that's not what I want. I want them to have a drop shadow (as do all my windows via the window manager). Here are my current conky window settings:

    Code:
    own_window  yes
    own_window_transparent no
    own_window_type desktop
    own_window_hints undecorated,sticky,skip_taskbar,skip_pages
    I can get the drop shadow by making these changes, but then I get a nasty titlebar (which I don't want, screenshot 2):

    Code:
    own_window  yes
    own_window_transparent no
    own_window_type normal
    own_window_hints sticky,skip_taskbar,skip_pages
    How do I get the drop shadow around the window without getting the titlebar? I would like to accomplish it without installing compiz...

    Screenshot from 2014-11-02 19:25:11.jpg. . .Screenshot from 2014-11-02 21:06:49.jpg
    Last edited by tango_ninja; November 3rd, 2014 at 03:25 AM. Reason: Desktop & distro details
    There are 10 kinds of people in this world: those who understand binary and those who do not.
    Need help? It may be Just Plain Obvious
    Problem fixed? Mark Your Thread as Solved

  2. #2
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Conky Window Decoration Shade & Titlebar

    Quote Originally Posted by tango_ninja View Post
    ...
    How do I get the drop shadow around the window without getting the titlebar? I would like to accomplish it without installing compiz...
    You may want to tell people your current distro, desktop environment, and window manager, and if you've installed some dock or panel.

    Are you using Elementary OS?

  3. #3
    Join Date
    Aug 2007
    Location
    Canada
    Beans
    277
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Conky Window Decoration Shade & Titlebar

    Added the distro (eOS Luna) and window manager (Gala). cheers.
    There are 10 kinds of people in this world: those who understand binary and those who do not.
    Need help? It may be Just Plain Obvious
    Problem fixed? Mark Your Thread as Solved

  4. #4
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Conky Window Decoration Shade & Titlebar

    In Luna the shadow seems to depend on the window decoration.

    Another option to define the window without using decorations would be
    to set a semi-transparent window using argb.
    Note that you set own_window_transparent no and use argb to set the transparency.

    eg
    Code:
    own_window yes
    own_window_transparent no
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_argb_visual yes
    own_window_argb_value 100   # value 0-255 with 255 being totally opaque
    Attached Images Attached Images
    Last edited by CantankRus; November 3rd, 2014 at 06:46 AM.

  5. #5
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Conky Window Decoration Shade & Titlebar

    Thread moved to Ubuntu/Debian BASED.

  6. #6
    Join Date
    Aug 2007
    Location
    Canada
    Beans
    277
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Conky Window Decoration Shade & Titlebar

    Quote Originally Posted by CantankRus View Post
    Another option to define the window without using decorations would be
    to set a semi-transparent window using argb.
    Note that you set own_window_transparent no and use argb to set the transparency
    Thanks, I didn't know about that value. But this seems only to work for transparency, not the drop shadow I'm looking for...
    There are 10 kinds of people in this world: those who understand binary and those who do not.
    Need help? It may be Just Plain Obvious
    Problem fixed? Mark Your Thread as Solved

  7. #7
    Join Date
    Aug 2007
    Location
    Canada
    Beans
    277
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Conky Window Decoration Shade & Titlebar

    I'm also running into a problem autostarting conky upon login. I have created a text file ~/.config/autostart/Conky which contains:

    Code:
    [Desktop Entry]
    Type=Application
    Exec=conky
    Hidden=false
    NoDisplay=false
    X-GNOME-Autostart-enabled=true
    Name[en_CA]=Conky Launcher
    Name=Conky
    Comment[en_CA]=Conky!
    Comment=Conky!
    I believe this should run whatever follows Exec= but I have restarted numerous times and conky does not autostart. I have no problem starting with:
    Code:
    conky
    There are 10 kinds of people in this world: those who understand binary and those who do not.
    Need help? It may be Just Plain Obvious
    Problem fixed? Mark Your Thread as Solved

  8. #8
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,938
    Distro
    Ubuntu

    Re: Conky Window Decoration Shade & Titlebar

    You might look at whether conky's builtin delay option will help
    Conky has an option -p(pause) that you can use to delay it's launch
    a simple look
    Code:
    conky -p 20
    will delay conky from starting for 20 seconds.

    I do not know if it'll help with elementary, but I know that if you run unity, conky and unity both, for some odd reason and from time to time, mangle each other at start up causing the conky window to appear overlapping the top panel or other little things. The pause option helps prevent this.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  9. #9
    Join Date
    Aug 2007
    Location
    Canada
    Beans
    277
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Conky Window Decoration Shade & Titlebar

    Quote Originally Posted by deadflowr View Post
    You might look at whether conky's builtin delay option will help
    Conky has an option -p(pause) that you can use to delay it's launch
    a simple look
    Code:
    conky -p 20
    will delay conky from starting for 20 seconds.
    That worked like a charm, thank you.
    There are 10 kinds of people in this world: those who understand binary and those who do not.
    Need help? It may be Just Plain Obvious
    Problem fixed? Mark Your Thread as Solved

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
  •