You are not logged in.
Pages: 1
Is it possible to set up conky to be on top of every other application that is running like this?
I tried many scripts, but when I opened firefox, everything was covered with it's window.
Thank's.
Last edited by dudko (2010-11-04 09:14:48)
Offline
You could try "own_window_type panel"
http://conky.sourceforge.net/config_settings.html
Last edited by jasonwryan (2010-03-04 08:27:39)
Offline
Hi,
which window manager do you use?
Website: andrwe.org
Repository: repo.andrwe.org/<archtiecture>
Offline
You could try "own_window_type panel"
http://conky.sourceforge.net/config_settings.html
I tried, but the panel showed in the middle of the screen.
Here is my conkyrc
#avoid flicker
double_buffer yes
#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent no
own_window_type panel
#own_window_hints undecorate,sticky,skip_taskbar,skip_pager
#use_spacer yes
#use_xft yes
#borders
draw_borders no
border_inner_margin 3
#shades
draw_shades no
#position
gap_x 0
gap_y 4
alignment top
#behaviour
update_interval 1
#colour
default_color AAAAAA
#default_shade_color 000000
own_window_colour 303030
#font
use_xft yes
xftfont sans:size=9
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
#to prevent window from moving
use_spacer none
minimum_size 1680 0
maximum_width 1680
#mpd
#mpd_host localhost
#mpd_port 6600
TEXT
${color 729FCF}${font OpenLogos:size=12}B $font${color} dudko-arch ${color ffffff}$kernel${color} | ${color}Cpu1: ${color ffffff}${cpu cpu1}% / ${color ffffff}${execi 300 sensors | grep Core\ 0 | cut -c15-16 ;}°C${color} Cpu2: ${color ffffff}${cpu cpu2}% / ${execi 300 sensors | grep Core\ 1 | cut -c15-16 ;}°C${color} ${color}Gpu: ${color ffffff}${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}°C ${color}Ram: ${color ffffff}${memperc}%${color} | ${color}Root: ${color ffffff}${fs_free /}${color} Home: ${color ffffff}${fs_free /home}${color} | ${if_existing /proc/net/route wlan0}Up: ${color ffffff}${upspeedf wlan0} kb/s${color} Down: ${color ffffff}${downspeedf wlan0} kb/s${color}${else}${if_existing /proc/net/route eth0}Up: ${color ffffff}${upspeedf eth0} kb/s${color} Down: ${color ffffff}${downspeedf eth0} kb/s${color}${else}Network Unavailable${endif} |
Hi,
which window manager do you use?
Sry, that I haven't mention it. OpenBox
Offline
alignment top_left
There is no such "top", so it defaults to "none".
Better run conky through terminal and look at debug messages - it should say something about not being able to parse alignment.
Offline
If you're using openbox why don't you use per-app setting of openbox?
Here is my setting in rc.xml:
<application name="Conky">
<decor>no</decor>
<desktop>all</desktop>
<layer>above</layer>
<skip_taskbar>yes</skip_taskbar>
</application>
Or do you talk about the positioning of your conky?
Last edited by Andrwe (2010-03-04 12:58:07)
Website: andrwe.org
Repository: repo.andrwe.org/<archtiecture>
Offline
Heres how I have mine. I set Openbox's dock at the bottom (change it to the top if you want conky there) and heres my Conky settings:
own_window yes
own_window_transparent no
own_window_type panel
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
Offline
I had the same problem, but now I have it working (mostly). In the autostart.sh file, I have conky start a few seconds before everything else. It almost always works on initial startup. After that, it work until I restart X.
I haven't tried per-app settings in rc.xml, so if you only have one conky running, it looks like that might work for you.
Offline
alignment top_left
There is no such "top", so it defaults to "none".
Better run conky through terminal and look at debug messages - it should say something about not being able to parse alignment.
Sorry, it just copied some conky's configs and tried to edit them. And here I found, that it should be valid.
If you're using openbox why don't you use per-app setting of openbox?
Here is my setting in rc.xml:<application name="Conky"> <decor>no</decor> <desktop>all</desktop> <layer>above</layer> <skip_taskbar>yes</skip_taskbar> </application>
Or do you talk about the positioning of your conky?
I am open for any solution, but could you explain me it me more concretly?
Heres how I have mine. I set Openbox's dock at the bottom (change it to the top if you want conky there) and heres my Conky settings:
own_window yes own_window_transparent no own_window_type panel own_window_hints undecorated,sticky,skip_taskbar,skip_pager
If i try this scripts, conky shows in the middle of my screen. Could you send full code?
I had the same problem, but now I have it working (mostly). In the autostart.sh file, I have conky start a few seconds before everything else. It almost always works on initial startup. After that, it work until I restart X.
I haven't tried per-app settings in rc.xml, so if you only have one conky running, it looks like that might work for you.
My conky start from .xinitrc. Do you think that start from autostart.sh is necessery?
I'd like to have my top conky as top gnome-panel, that's all.
Last edited by dudko (2010-03-05 08:19:43)
Offline
Andrwe wrote:If you're using openbox why don't you use per-app setting of openbox?
Here is my setting in rc.xml:<application name="Conky"> <decor>no</decor> <desktop>all</desktop> <layer>above</layer> <skip_taskbar>yes</skip_taskbar> </application>
Or do you talk about the positioning of your conky?
I am open for any solution, but could you explain me it me more concretly?
In $HOME/.config/openbox/ is the configuration file for openbox called rc.xml.
In this file are all settings of openbox stored.
This file is devieded into sections in xml-style.
At the end of the file there is a section applications:
<applications>
</applications>
In this section you can set up configurations for openbox which would affect the look and behavior of applications as long as openbox can influence them like positioning and layer.
See this documentation for detailed information:
http://openbox.org/wiki/Help:Applications
In this section just insert the code I've posted then reconfigure openbox using either the menu entry or openbox --reconfigure.
Then start your conky and it should be at top-layer without decoration while the conky has to be configured being a normal window.
Website: andrwe.org
Repository: repo.andrwe.org/<archtiecture>
Offline
Andrwe: Code added, openbox reconfigured, own_window_type is set to normal, but no effect.
I think, tt has to be beacause of bad conkyrc config.
Could you send me the example of good configured conkyrc?
Offline
Please check the name of your conky window using:
obxprop | grep _OB_APP_
and clicking on the conky window.
This should give you _OB_APP_NAME. Its value you have to set as name="" in the application-tag.
Here is my conky which shows temperatures of my laptop with NVIDIA graphic:
# Conky
background yes
no_buffers yes
out_to_console no
top_cpu_separate no
max_port_monitor_connections 256
total_run_times 0
update_interval 1
# Text
uppercase no
override_utf8_locale no
short_units no
pad_percents 0
text_buffer_size 128
max_user_text 16384
font Terminus:style=Regular
use_xft yes
xftalpha 0.8
xftfont Bitstream Vera Sans Mono:size=8
# Window
own_window yes
own_window_color ffffff
own_window_transparent no
own_window_type normal
# Graphics
double_buffer yes
draw_borders no
draw_graph_borders no
draw_shades no
draw_outline no
# Layout
alignment bottom_middle
gap_x 0
gap_y 0
maximum_width 0
minimum_size 120 10
use_spacer none
border_margin 4
border_width 0
# Colors
default_color 919191
default_outline_color 000000
default_shade_color ffffff
color0 ff0000
color1 0000ff
color2 ffff00
color3 00ff00
color4 ffafaf
color5 ffc800
color6 ff00ff
color7 00ffff
color8 808080
color9 404040
# stuff after 'TEXT' will be formatted on screen
TEXT
${color lightgrey}CPU0:$color ${if_existing /sys/bus/platform/devices/coretemp.0/temp1_input}${platform temp 1}${endif} ${color lightgrey}CPU1: $color${if_existing /sys/bus/platform/devices/coretemp.1/temp1_input}${platform coretemp.1 temp 1 }${endif} ${cpu}% ${color lightgrey}GPU: $color${nvidia temp} ${color lightgrey}HDD: $color${hddtemp /dev/sda}
Website: andrwe.org
Repository: repo.andrwe.org/<archtiecture>
Offline
Andrwe: _OB_APP_NAME is and was good. this is the result.. /* I dunno why conky is covered by black color, I see it normal... */
I don't know, what's wrong. I reconfigured openbox too.
Offline
Doesn't the top layer work?
Could you post your conkyrc and the corresponding application-section of rc.xml?
May be it would help if you relogin.
Last edited by Andrwe (2010-03-05 14:32:17)
Website: andrwe.org
Repository: repo.andrwe.org/<archtiecture>
Offline
Andrwe: Reloged, rebooted...
I tried it with yours conkyrc, but instead of bottom midlle adligment I used top left. Here is me rc.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
<openbox_config xmlns="http://openbox.org/3.4/rc">
<resistance>
<strength>10</strength>
<screen_edge_strength>20</screen_edge_strength>
</resistance>
<focus>
<focusNew>yes</focusNew>
<!-- always try to focus new windows when they appear. other rules do
apply -->
<followMouse>no</followMouse>
<!-- move focus to a window when you move the mouse into it -->
<focusLast>yes</focusLast>
<!-- focus the last used window when changing desktops, instead of the one
under the mouse pointer. when followMouse is enabled -->
<underMouse>no</underMouse>
<!-- move focus under the mouse, even when the mouse is not moving -->
<focusDelay>200</focusDelay>
<!-- when followMouse is enabled, the mouse must be inside the window for
this many milliseconds (1000 = 1 sec) before moving focus to it -->
<raiseOnFocus>no</raiseOnFocus>
<!-- when followMouse is enabled, and a window is given focus by moving the
mouse into it, also raise the window -->
</focus>
<placement>
<policy>Smart</policy>
<!-- 'Smart' or 'UnderMouse' -->
<center>yes</center>
<!-- whether to place windows in the center of the free area found or
the top left corner -->
<monitor>Active</monitor>
<!-- with Smart placement on a multi-monitor system, try to place new windows
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
the active window is -->
<primaryMonitor>1</primaryMonitor>
<!-- The monitor where Openbox should place popup dialogs such as the
focus cycling popup, or the desktop switch popup. It can be an index
from 1, specifying a particular monitor. Or it can be one of the
following: 'Mouse' - where the mouse is, or
'Active' - where the active window is -->
</placement>
<theme>
<name>Moka</name>
<titleLayout>NLIMC</titleLayout>
<!--
available characters are NDSLIMC, each can occur at most once.
N: window icon
L: window label (AKA title).
I: iconify
M: maximize
C: close
S: shade (roll up/down)
D: omnipresent (on all desktops).
-->
<keepBorder>yes</keepBorder>
<animateIconify>yes</animateIconify>
<font place="ActiveWindow">
<name>sans</name>
<size>8</size>
<!-- font size in points -->
<weight>bold</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="InactiveWindow">
<name>sans</name>
<size>8</size>
<!-- font size in points -->
<weight>bold</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuHeader">
<name>sans</name>
<size>9</size>
<!-- font size in points -->
<weight>normal</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuItem">
<name>sans</name>
<size>9</size>
<!-- font size in points -->
<weight>normal</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="OnScreenDisplay">
<name>sans</name>
<size>9</size>
<!-- font size in points -->
<weight>bold</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
</theme>
<desktops>
<!-- this stuff is only used at startup, pagers allow you to change them
during a session
these are default values to use when other ones are not already set
by other applications, or saved in your session
use obconf if you want to change these without having to log out
and back in -->
<number>4</number>
<firstdesk>1</firstdesk>
<names>
<!-- set names up here if you want to, like this:
<name>desktop 1</name>
<name>desktop 2</name>
-->
</names>
<popupTime>875</popupTime>
<!-- The number of milliseconds to show the popup for when switching
desktops. Set this to 0 to disable the popup. -->
</desktops>
<resize>
<drawContents>yes</drawContents>
<popupShow>Nonpixel</popupShow>
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
<popupPosition>Center</popupPosition>
<!-- 'Center', 'Top', or 'Fixed' -->
<popupFixedPosition>
<!-- these are used if popupPosition is set to 'Fixed' -->
<x>10</x>
<!-- positive number for distance from left edge, negative number for
distance from right edge, or 'Center' -->
<y>10</y>
<!-- positive number for distance from top edge, negative number for
distance from bottom edge, or 'Center' -->
</popupFixedPosition>
</resize>
<!-- You can reserve a portion of your screen where windows will not cover when
they are maximized, or when they are initially placed.
Many programs reserve space automatically, but you can use this in other
cases. -->
<margins>
<top>0</top>
<bottom>0</bottom>
<left>0</left>
<right>0</right>
</margins>
<dock>
<position>Left</position>
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
<floatingX>0</floatingX>
<floatingY>0</floatingY>
<noStrut>no</noStrut>
<stacking>Above</stacking>
<!-- 'Above', 'Normal', or 'Below' -->
<direction>Vertical</direction>
<!-- 'Vertical' or 'Horizontal' -->
<autoHide>no</autoHide>
<hideDelay>300</hideDelay>
<!-- in milliseconds (1000 = 1 second) -->
<showDelay>300</showDelay>
<!-- in milliseconds (1000 = 1 second) -->
<moveButton>Middle</moveButton>
<!-- 'Left', 'Middle', 'Right' -->
</dock>
<keyboard>
<chainQuitKey>C-g</chainQuitKey>
<!-- Keybindings for desktop switching -->
<keybind key="C-A-Left">
<action name="DesktopLeft">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Right">
<action name="DesktopRight">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Up">
<action name="DesktopUp">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Down">
<action name="De sktopDown">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Left">
<action name="SendToDesktopLeft">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Right">
<action name="SendToDesktopRight">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Up">
<action name="SendToDesktopUp">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="S-A-Down">
<action name="SendToDesktopDown">
<dialog>no</dialog>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="W-F1">
<action name="Desktop">
<desktop>1</desktop>
</action>
</keybind>
<keybind key="W-F2">
<action name="Desktop">
<desktop>2</desktop>
</action>
</keybind>
<keybind key="W-F3">
<action name="Desktop">
<desktop>3</desktop>
</action>
</keybind>
<keybind key="W-F4">
<action name="Desktop">
<desktop>4</desktop>
</action>
</keybind>
<keybind key="W-d">
<action name="ToggleShowDesktop"/>
</keybind>
<!-- Keybindings for windows -->
<keybind key="A-F4">
<action name="Close"/>
</keybind>
<keybind key="A-Escape">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</keybind>
<keybind key="A-space">
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</keybind>
<!-- Keybindings for window switching -->
<keybind key="A-Tab">
<action name="NextWindow"/>
</keybind>
<keybind key="A-S-Tab">
<action name="PreviousWindow"/>
</keybind>
<keybind key="C-A-Tab">
<action name="NextWindow">
<panels>yes</panels>
<desktop>yes</desktop>
</action>
</keybind>
<!-- Keybindings for running applications -->
<keybind key="C-A-t">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Terminal</name>
</startupnotify>
<command>gnome-terminal</command>
</action>
</keybind>
<keybind key="C-A-m">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Firefox</name>
</startupnotify>
<command>firefox</command>
</action>
</keybind>
<keybind key="C-A-g">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Geditl</name>
</startupnotify>
<command>gedit</command>
</action>
</keybind>
</keyboard>
<mouse>
<dragThreshold>8</dragThreshold>
<!-- number of pixels the mouse must move before a drag begins -->
<doubleClickTime>200</doubleClickTime>
<!-- in milliseconds (1000 = 1 second) -->
<screenEdgeWarpTime>400</screenEdgeWarpTime>
<!-- Time before changing desktops when the pointer touches the edge of the
screen while moving a window, in milliseconds (1000 = 1 second).
Set this to 0 to disable warping -->
<context name="Frame">
<mousebind button="A-Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="A-Left" action="Click">
<action name="Unshade"/>
</mousebind>
<mousebind button="A-Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="A-Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="A-Right" action="Drag">
<action name="Resize"/>
</mousebind>
<mousebind button="A-Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="C-A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="C-A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="A-S-Up" action="Click">
<action name="SendToDesktopPrevious"/>
</mousebind>
<mousebind button="A-S-Down" action="Click">
<action name="SendToDesktopNext"/>
</mousebind>
</context>
<context name="Titlebar">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximizeFull"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="Up" action="Click">
<action name="Shade"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
<action name="Lower"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="Unshade"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="Top">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>top</edge>
</action>
</mousebind>
</context>
<context name="Left">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>left</edge>
</action>
</mousebind>
</context>
<context name="Right">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>right</edge>
</action>
</mousebind>
</context>
<context name="Bottom">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>bottom</edge>
</action>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="BLCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="BRCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="TLCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="TRCorner">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="Client">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<context name="Icon">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="AllDesktops">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleOmnipresent"/>
</mousebind>
</context>
<context name="Shade">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleShade"/>
</mousebind>
</context>
<context name="Iconify">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Iconify"/>
</mousebind>
</context>
<context name="Maximize">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleMaximizeFull"/>
</mousebind>
<mousebind button="Middle" action="Click">
<action name="ToggleMaximizeVert"/>
</mousebind>
<mousebind button="Right" action="Click">
<action name="ToggleMaximizeHorz"/>
</mousebind>
</context>
<context name="Close">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Close"/>
</mousebind>
</context>
<context name="Desktop">
<mousebind button="Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="C-A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="C-A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<context name="Root">
<!-- Menus -->
<mousebind button="Middle" action="Press">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</mousebind>
<mousebind button="Right" action="Press">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</mousebind>
</context>
<context name="MoveResize">
<mousebind button="Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
</context>
</mouse>
<menu><!-- You can specify more than one menu file in here and they are all loaded,
just don't make menu ids clash or, well, it'll be kind of pointless --><!-- default menu file (or custom one in $HOME/.config/openbox/) --><file>menu.xml</file><hideDelay>200</hideDelay><!-- if a press-release lasts longer than this setting (in milliseconds), the
menu is hidden again --><middle>no</middle><!-- center submenus vertically about the parent entry --><submenuShowDelay>200</submenuShowDelay><!-- time to delay before showing a submenu after hovering over the parent
entry.
if this is a negative value, then the delay is infinite and the
submenu will not be shown until it is clicked on --><submenuHideDelay>400</submenuHideDelay><!-- time to delay before hiding a submenu when selecting another
entry in parent menu -->
if this is a negative value, then the delay is infinite and the
submenu will not be hidden until a different submenu is opened -->
<applicationIcons>yes</applicationIcons>
<!-- controls if icons appear in the client-list-(combined-)menu -->
<manageDesktops>yes</manageDesktops>
<!-- show the manage desktops section in the client-list-(combined-)menu -->
</menu>
<application name="Conky">
<decor>no</decor>
<desktop>all</desktop>
<layer>above</layer>
<skip_taskbar>yes</skip_taskbar>
</application>
</openbox_config>
Last edited by dudko (2010-03-05 17:05:37)
Offline
You've a mistake in your rc.xml.
It has to be like this:
<applications>
<application name="Conky">
<decor>no</decor>
<desktop>all</desktop>
<layer>above</layer>
<skip_taskbar>yes</skip_taskbar>
</application>
</applications>
Website: andrwe.org
Repository: repo.andrwe.org/<archtiecture>
Offline
anonymous_user wrote:Heres how I have mine. I set Openbox's dock at the bottom (change it to the top if you want conky there) and heres my Conky settings:
own_window yes own_window_transparent no own_window_type panel own_window_hints undecorated,sticky,skip_taskbar,skip_pager
If i try this scripts, conky shows in the middle of my screen. Could you send full code?
You have to change your Openbox dock to be at the bottom or top.
Offline
You've a mistake in your rc.xml.
It has to be like this:<applications> <application name="Conky"> <decor>no</decor> <desktop>all</desktop> <layer>above</layer> <skip_taskbar>yes</skip_taskbar> </application> </applications>
Fixed, but this still not what I'd like to have. Here is the screenshot.
dudko wrote:anonymous_user wrote:Heres how I have mine. I set Openbox's dock at the bottom (change it to the top if you want conky there) and heres my Conky settings:
own_window yes own_window_transparent no own_window_type panel own_window_hints undecorated,sticky,skip_taskbar,skip_pager
If i try this scripts, conky shows in the middle of my screen. Could you send full code?
You have to change your Openbox dock to be at the bottom or top.
I found it in rc.xml, but don't know how should it be setuped. Could you explain me it, please?
Last edited by dudko (2010-03-05 19:08:25)
Offline
I just use obconf to change Openbox settings but anyways:
<dock>
<position>Bottom</position>
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
<floatingX>0</floatingX>
<floatingY>0</floatingY>
<noStrut>no</noStrut>
<stacking>Above</stacking>
<!-- 'Above', 'Normal', or 'Below' -->
<direction>Horizontal</direction>
<!-- 'Vertical' or 'Horizontal' -->
<autoHide>no</autoHide>
<hideDelay>300</hideDelay>
<!-- in milliseconds (1000 = 1 second) -->
<showDelay>300</showDelay>
<!-- in milliseconds (1000 = 1 second) -->
<moveButton>Middle</moveButton>
<!-- 'Left', 'Middle', 'Right' -->
</dock>
Offline
Maybe I'm not getting it right, but this solutions works for me:
in conkyrc:
own_window no
alignment top_left
and in rc.xml
<margins>
<top>25</top>
<bottom>0</bottom>
<left>0</left>
<right>0</right>
</margins>
you'll just have to adjust the "25" to a value matching your needs...
"The saddest aspect of life right now is that science gathers knowledge faster than society gathers wisdom."
Isaac Asimov
Offline
I just use obconf to change Openbox settings but anyways:
<dock> <position>Bottom</position> <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> <floatingX>0</floatingX> <floatingY>0</floatingY> <noStrut>no</noStrut> <stacking>Above</stacking> <!-- 'Above', 'Normal', or 'Below' --> <direction>Horizontal</direction> <!-- 'Vertical' or 'Horizontal' --> <autoHide>no</autoHide> <hideDelay>300</hideDelay> <!-- in milliseconds (1000 = 1 second) --> <showDelay>300</showDelay> <!-- in milliseconds (1000 = 1 second) --> <moveButton>Middle</moveButton> <!-- 'Left', 'Middle', 'Right' --> </dock>
I installed obconf /* thank's very usefull */, seted up to be on top and windows should be above, but still the same probleme as in my last screenshot. I found this article.
Offline
Make sure you set conky to be a panel type and when you go to obconf > dock. Uncheck the box for "Allow windows to be places within the dock's area".
Offline
Make sure you set conky to be a panel type and when you go to obconf > dock. Uncheck the box for "Allow windows to be places within the dock's area".
Great. This works as I wished.
Maybe I'm not getting it right, but this solutions works for me:
in conkyrc:
own_window no alignment top_left
and in rc.xml
<margins> <top>25</top> <bottom>0</bottom> <left>0</left> <right>0</right> </margins>
you'll just have to adjust the "25" to a value matching your needs...
I tried this too and it works. Simple a practical.
Thanks to everybody. It was a nightmare for me.
Andrwe, if you still have a apetite to solve your solution, please post it to me. Unless, thank you very much.
Last edited by dudko (2010-03-05 19:57:25)
Offline
[
Andrwe, if you still have a apetite to solve your solution, please post it to me. Unless, thank you very much.
Sorry, I misunderstood you my solution doesn't do what you want.
I thought you wanted conky to be in front of all other applications and not to work as panel.
Was my fault.
Website: andrwe.org
Repository: repo.andrwe.org/<archtiecture>
Offline
Pages: 1