Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 Artwork & Screenshots » CB 3D wallpapers » 2012-03-02 16:36:49

Replies: 5

Hi !

Some wallpapers with a modified CrunchBang logo :







They are available from my dA page

I wanted them simple and clear smile Enjoy !

#2 Re: WM/DE Talk » livarp, debian with six window managers » 2011-12-08 16:05:35

Hi arp ! For the 64 bit, just ask on the french forum, I think I can do it smile

#3 Re: WM/DE Talk » Living without a panel » 2011-11-29 23:20:48

@ EnochRoot
There is also a "client-list-combined-menu", better than Meta Tab imho !

  <keybind key="C-S-a">
      <action name="ShowMenu">

#4 Re: WM/DE Talk » Living without a panel » 2011-11-29 22:41:06

machinebacon wrote:

Oh, of course you can assign a shortcut which calls notify-osd to display the time...

notify-send "Time:" "$(date)"

I choosed osd_cat instead of notify-send because when running vlc in full screen mode, and with the "above" layer option in openbox, notify-send stayed below vlc, but notify-send is more easy to use of course !

#5 Re: WM/DE Talk » Living without a panel » 2011-11-29 20:26:18


I had exactly the same problem as you ! I found this method to display the hour and it works all the time! Even with applications running in fullscreen mode and with the "above" setup in rc.xml

Here is the script, you have to bind it to a shortcut :

#requires xosd-bin
echo -e "$(date +%H:%M)" | osd_cat -p top -o 20 -i 20 -c yellow -d 3 -f -*-lucida-bold-r-*-*-34-*-*-*-*-*-*-*
exit  0

HTH smile

#6 Re: WM/DE Talk » Big Ol' Awesome Config Thread! » 2011-11-14 22:20:17

SuNjACk wrote:

Holy Sh*t!

Hmm, thank you ;-)

The main features of theses scripts is that the awesome icon and the layout icons are drawn when awesome starts with colours defined in the theme.lua file, so the panel is always homogeneous and ... nice ;-)

I added two widgets last week : a vertical bar and a (single) horizontal bar :


and made some improvments  (autosize for the mpd widget and for the text widget, autoscale for the y axis for the graph, alarms ... ).

The script is here :

I post the README, if someone is interested to give this script a try ;-)

README wrote:

Some widgets for awesome wm v1.1
wlourf 14.11.2011

Two scripts : icons.lua and cairowidgets.lua.

The main feature of theses scripts is that the awesome icon and the layout icons are drawn
when awesome starts with colours defined in the theme.lua file

IMPORTANT : the file icons.lua creates icons in the theme directory.
Use with care because it writes icons files without warning.
Icons created are :
    - theme.awesome_icon
    - theme.menu_submenu_icon
    - theme.layout_tileleft
    - theme.layout_tile
    - theme.layout_tiletop
    - theme.layout_tilebottom
    - theme.layout_fairv
    - theme.layout_fairh
    - theme.layout_floating
    - theme.layout_magnifier
    - theme.layout_max
    - theme.layout_fullscreen
    - theme.layout_spiral
    - theme.layout_dwindle
How to use it :

1 . Define default colors and other stuff in your theme.lua, for example
theme.colour_bg={{0,0xC6C9CD,0.5}, {0.5,0xE1E4E8,1} , {1,0xC6C9CD,0.5}}
theme.colour_fg={{0,0x000000,0.5}, {0.5,0x000000,1} , {1,0x000000,0.5}}




theme.panel_thickness = 2 --line thickness in fact

If thoses parameters are missing, default values are used.

2. in the rc.lua, load the two files with

require ("icons")
local cw = require ("cairowidgets")

3. In the rc.lua, create the widgets you need with one of theses :
- cairo_battery
- cairo_circle
- cairo_double_hbar
- cairo_gradient (I use it to end the bar)
- cairo_graph  --Needs a table
- cairo_hbar
- cairo_mpd        --requires vicious
- cairo_space
- cairo_text

To know all the available parameters, look in the cairowidgets.lua file

For example, to display the temperature of the cpu in a circle, I use :
local function set_cpu_temp_image()
    local name="/sys/class/hwmon/hwmon1/device/temp1_input"
    return cw.cairo_circle({text="Tcpu", font_weight="bold", value=cw.active_cpu_temp(name)})
tcpu_widget = widget({ type = "imagebox", name = "tcpu_widget" })
tcpu_widget.image = set_cpu_temp_image()
tcpu_widget_timer = timer({timeout = 10})
tcpu_widget_timer:add_signal("timeout", function() tcpu_widget.image = set_cpu_temp_image()  end)
-- }}}

And don't forget to add the widgets to the wibox

Any feedback is welcome ! 14.11.2011

#7 Re: Tips, Tricks & Scripts » November 2011 Conky Thread » 2011-11-14 15:53:08

+1, really nice output Mr Peachy !  Thanks for sharing smile

#8 Re: Tips, Tricks & Scripts » November 2011 Conky Thread » 2011-11-07 19:45:58

ElderV.LaCoste wrote:

  As for issuing a challenge to the Conky Masters, I think Cr1g321 did that with this screenshot:

I hesitate to post that here...S11 please don't hurt yourself with that lol.

wow, at the beginning I thought it was a conky ... but in fact, it's just a wallpaper, big deception for me smile

#9 Re: Help & Support (Crunchbang 11 "Waldorf") » Multiple instances of X? » 2011-11-06 21:43:10

Don't know if you will find that useful but you can have X session inside client window of another X session with Xephyr  : more on awesome doc

#10 Re: WM/DE Talk » Big Ol' Awesome Config Thread! » 2011-10-31 16:03:50


A little script for people addicted to this forum big_smile It displays in a pop-up the last messages in the forum :

--script for awesome showing the last messages on crunchbang forums 
--in a popup window (naughty.notify)
--by wlourf 30 octobre 2011

--path to the scrunchbang icon
local crunch_icon="/home/wlourf/.config/awesome/crunch-white.png"
--interval =  check every X seconds
local interval=600
--time_out = time to display the popup
local time_out=30

local t_msg_old={}

function check_crunch_forum_en()
    local f = io.popen("curl -s")
    local return_text=""
    --put all messages in table t_msg_new
    local t_msg_new={}
    for line in f:lines() do 
        if line:find("h3 class=\"hn") ~= nil then 
            title = line:match("/\">(.-)</a") 
        if line:find("lastpost") ~= nil then 
    if title ~=nil and url ~= nil and user ~= nil and dt ~=nil then
        table.insert(t_msg_new, {url,title,user,dt})
    --first call, copy table t_msg_new in t_msg_old
    --is there a better way to copy the table ? 
    if #t_msg_old == 0 then
        for i=1,#t_msg_new do 
            t_msg_old[i] = {t_msg_new[i][1],t_msg_new[i][2],t_msg_new[i][3],t_msg_new[i][4]}
        --compare the two tables to find new elements
        if t_msg_old[1][1] ~= t_msg_new[1][1] then
            for i=1,#t_msg_new do
                for j=1,#t_msg_old do
                    if t_msg_old[j][1] == t_msg_new[i][1] then
                --text to display
                if t_msg_new[i][5] then
                    return_text = return_text .. t_msg_new[i][2] .. " (" .. t_msg_new[i][3] .. " " .. t_msg_new[i][4] .. ")\n"                        
            --copy new table into old table
            for i=1,#t_msg_new do
                t_msg_old[i] = {t_msg_new[i][1],t_msg_new[i][2],t_msg_new[i][3],t_msg_new[i][4]}

    if return_text ~="" then
        runcrunch = naughty.notify({title = "crunchbang " .."%H:%M:%S"), text = return_text , timeout = time_out, icon=crunch_icon, 
            run = function () 

--init at awesome's start
crunch2_timer = timer({timeout = interval})
crunch2_timer:add_signal("timeout", function() check_crunch_forum_en() end)

And the output :


I would like to open a browser when I click on the pop-up, is it possible ---> ok fixed

Edit : little bug on the capture above (same date and poster for the 2 first posts) corrected

#11 Re: Tips, Tricks & Scripts » October 2011 Conky Thread » 2011-10-27 17:35:48

@ichase, Lua is not enough, you need to the Lua support in Conky and if you want to draw things, you need theses bindings :

  Lua bindings:
   * Cairo
   * Imlib2

#12 Re: Tips, Tricks & Scripts » October 2011 Conky Thread » 2011-10-27 17:10:26

you don't have Lua support, look at mine :

Conky 1.8.0 compiled Fri Jul 29 20:16:26 UTC 2011 for Linux 2.6.39-2-amd64 (x86_64)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky

  * Xdamage extension
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual

 Music detection:
  * MPD
  * MOC

  * math
  * hddtemp
  * portmon
  * Curl
  * RSS
  * Weather (METAR)
  * Weather (XOAP)
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * eve-online
  * config-output
  * Imlib2
  * ALSA mixer support
  * apcupsd
  * iostats
  * ncurses
  * Lua

  Lua bindings:
   * Cairo
   * Imlib2

You have to install conky-all (a debian package) or compile conky with needed options !

Edit : I've seen you are runing Arch, I don't know if you have a conky-all package

#13 Re: Tips, Tricks & Scripts » October 2011 Conky Thread » 2011-10-27 15:38:48

@ichase, please post the output  for

conky -v

#14 Re: WM/DE Talk » Big Ol' Awesome Config Thread! » 2011-10-26 15:14:30

Maybe you've change something in your mpd; Vicious reads this adress to retrieve the informations : telnet://localhost:6600 with no password. I don't know how to change the defaults settings.

With this script, if everything works fine, the output should be the informations of mpd ;


local echo = "echo 'password \"\"\nstatus\ncurrentsong\nclose'"
local mpdh = "telnet://localhost:6600"
local f = io.popen(echo.." | curl --connect-timeout 1 -fsm 3 "..mpdh)
print (f)
for line in f:lines() do
        print (line)

(it's a part of the mpd.lua widget)

#15 Re: WM/DE Talk » Big Ol' Awesome Config Thread! » 2011-10-25 14:52:01

@ganja, strange behaviour, I've copied the widget below and it works fine (with awesome 3.4.6-1) :

-- Initialize widget
mpdwidget = widget({ type = "textbox" })
-- Register Widget
vicious.register(mpdwidget, vicious.widgets.mpd, "<span color='#BF5C5C'> ♪</span> ${Title}, ${Artist}", 13)

#16 Re: Tips, Tricks & Scripts » October 2011 Conky Thread » 2011-10-23 16:38:58

a simple conky displaying  a modern clock and/or a coverart for your player and/or a photo-album


Everything is written in Lua :

#17 Re: WM/DE Talk » Big Ol' Awesome Config Thread! » 2011-10-23 16:20:13

Hello !

Some widgets made with cairo for this wonderful WM :


The script is on deviantArt  :

#18 Re: Tips, Tricks & Scripts » October 2011 Conky Thread » 2011-10-21 14:47:29

@ichase : in your python script, try to remove all caracters (even invisibles caracters) after print newCal.

#19 Re: Tips, Tricks & Scripts » How To - Conky/Lua, Music and Cover Art - 2 Methods for 18 Apps » 2011-10-20 11:28:41

@DrakarNoir : I had sometimes cpu peaks, only with a tilling WM (awesomewm in my case) when the WM try to set the size of the conky window. Do you use a tiling WM ?

#20 Re: Artwork & Screenshots » October 2011 Screenshot thread » 2011-10-15 09:39:34


awesome (top+bottom) + conky (left : photoalbum + mpd cover + clock) :


in big

#22 Re: Help & Support (Crunchbang 11 "Waldorf") » lua » 2011-10-09 07:30:35


Post the conky and the scripts here and run your conky in a terminal, then post the errors messages. It will be more easy to help you !

#23 Re: Tips, Tricks & Scripts » October 2011 Conky Thread » 2011-10-08 06:47:31

Hello !

A non-obstructive conky made in Lua, 2 examples made with the same script here :


It's just a background with differents shapes : circles/ bars/ graphs or text but the main feature is the colours wth the gradients.
(the script is on deviantArt)

Happy Conkying !

#24 Re: Tips, Tricks & Scripts » How To - Conky/Lua, Music and Cover Art - 2 Methods for 18 Apps » 2011-10-07 07:32:59

VastOne wrote:

Thanks wlourf!  Is there a link that talks about the changing the colors in the rings and text?  I will also change to urls in the how to to reflect your deviantart site

This conky is in fact a mix of 2 widgets (text.lua & rings & sectors). Theses two files had bugs and memory leaks roll, I've corrected them at the beginning of the year. And today I've updated the conky-music.tar on deviantArt.
I didn't add your players (because your HowTo is very descriptive) but linked to this post in the README.

Now for the colors : I wrote two HowTo when I was very enthusiastic about Lua !!!
Text Part1 :
Text Part2 : … art-2.html
Rings+Sectors  : … dgets.html


Edit : I had to run this too (debian squeeze) :

sudo ln -s /usr/bin/python2.6 /usr/bin/python2

#25 Re: Tips, Tricks & Scripts » How To - Conky/Lua, Music and Cover Art - 2 Methods for 18 Apps » 2011-10-05 17:16:23

Very nice HowTo VastOne ! Thank you. Concerning the Lua part, maybe you can mention that colours can be changed in the files rings.lua and text.lua.
And I linked to this HowTo from the original script page : … -177579441

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo