1

(1 replies, posted in Feedback & Suggestions)

lol

To expand on this.
xbacklight is a small program, about 65k installed, that will allow you to control the backlight using the randr BACKLIGHT command. Instead of fussing with randr for it, you can simply type: xbacklight =[1-100].

A user came on IRC last night with a backlight issue, kook suggested xbacklight and it worked well. I suggested that he maybe put it in here as a suggestion for an app in future build.

simple answer, i copied and pasted the wrong thing. tis all. so i kicked myself for spaming, the proper protocol.

Sorry I didnt see this before.

as for the windows. If you stick around the channel. you would know that if someone bashes windows, i defend it and ask them to stop. sure it is a linux channel, but I use windows actively and linux actively. There is absolutely nothing wrong with that, each has many features that the doesn't have. Also, in general, bashing something/someone else isn't proper etiquette and it is against the rules in our chan. Also, if you limit yourself to only liking/using one OS, you are severely limiting your computing experience. Even if it becomes your job you will be expected to have at least some knowledge of multiple OSes. You cannot tell your boss, oh, windows sucks, i never bothered to learn about it, and expect him to take you seriously.

In conclusion, I do talk about windows in there, usually features i like, like the windows 7 taskbar, that are missing in linux. I will especially speak up if someone begins to bash it. It doesn't make me a windows fanboy, and it isn't something you should be appalled about, and something that would cause you to leave the channel. To give some equality to this, I also defend and talk about linux when people bash it in windows channels.
</rant>

3

(8 replies, posted in Artwork & Screenshots)

Just some things i fooled around with:

http://i.imgur.com/QscMn.jpg
http://i.imgur.com/cAL03.jpg
http://i.imgur.com/q5UqZ.jpg

sudo nano /etc/apt/sources.list

just fixing the typo, someone will do it wrong and complain

not the right thread for this, but look in /etc/skel/.config/openbox/menu.xml

6

(71 replies, posted in News & Announcements)

Let us all relax, what's happened has happened, Corenominal is figuring all the details out, creating a flame fest here is really just degrading the forums.

I would like to give some feedback.

Corenominal, i want to say thanks on your quick response to this issue and having it fixed so quickly.

HIGH-FIVE!

8

(3 replies, posted in Help & Support (Stable))

make sure you have: sun-java6-plugin

you can install it in synaptic

Here is to 2009, my first real wallpaper change in months!

http://img163.imageshack.us/img163/373/1262367623scrot.th.png

It normally is not a transparent window, only the menu I keep transparent. I did this for the purpose of showing off tawan's wallpaper big_smile

10

(58 replies, posted in Off Topic / General Chat)

happy new years to all my crunchbang lovelies. muwah to quu, nwadawg, omns, core, hanna, jony, bluejeans, icarus, ivenkys, jrabbit, sircrayz, reactor and everyone else from irc!!. i love you all. to another fabulous year of crunchbang, come have some fun on the irc everyone@!

Happy New Year from Spring Hill, Florida

11

(1,839 replies, posted in Tips, Tricks & Scripts)

rjd2k3 wrote:

How do I go about putting weather info & battery % remaining into tint2? own_window_type panel maybe?

see here: http://rjd2k3.deviantart.com/art/WIP-147964908


From reading the Artists description, we learn

Running Tint2 & Widescape weather screenlet...

meaning that he uses a separate widget for weather

12

(2,564 replies, posted in Tips, Tricks & Scripts)

what about just simple ole

${scroll 20 3}${time %I:%M %p}

where the 20 is how big of a space to scroll in and the 3 is the amount of characters it moves with each update. you can match up the update so that you get continuously moving effect.




mrpeachy wrote:

this code produces a scrolling date and time message, from right to left
i'm using the width of the conky window to hide the text to the right.  the text moves to the left and stops for a few seconds then resets.
this gives me a "ticker tape" effect, but is relatively light on processor power

##############################################
#  Settings
##############################################
max_specials 10000
max_user_text 200000
background yes
use_xft yes
xftfont Mono:size=14
xftalpha 1
update_interval 0.5
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 20 320
maximum_width 320
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_middle
gap_x 50
gap_y 20
no_buffers yes
uppercase yes
cpu_avg_samples 2
override_utf8_locale yes
default_color FFFFFF

##############################################
#  Output
##############################################
TEXT
${if_updatenr 01}${goto 320}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 02}${goto 310}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 03}${goto 300}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 04}${goto 290}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 05}${goto 280}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 06}${goto 270}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 07}${goto 260}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 08}${goto 250}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 09}${goto 240}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 10}${goto 230}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 11}${goto 220}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 12}${goto 210}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 13}${goto 200}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 14}${goto 190}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 15}${goto 180}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 16}${goto 170}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 17}${goto 160}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 18}${goto 150}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 19}${goto 140}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 20}${goto 130}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 21}${goto 120}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 22}${goto 110}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 23}${goto 100}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 24}${goto 90}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 25}${goto 80}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 26}${goto 70}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 27}${goto 60}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 28}${goto 50}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 29}${goto 40}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 30}${goto 30}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 31}${goto 20}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 32}${goto 10}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 33}${goto 0}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 34}${goto 0}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 35}${goto 0}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 36}${goto 0}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 37}${goto 0}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 38}${goto 0}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 39}${goto 0}${time %A %B %d} ${time %I:%M %p}${endif}
${voffset -22}${if_updatenr 40}${goto 0}${time %A %B %d} ${time %I:%M %p}${endif}

what i would really like to do is have the text be continually moving, like it was going around in a circle... but because i can't get a negative goto, i cant get the text to travel past the left edge of the conky window.

heres the text moving... http://blip.tv/file/3026524

i need a way to "hide" the text as it goes to the left so that i can create the illusion of a cycle

Thank you, yes I am new to this video and audio stuff. And yes, People think I am 16 as I look it too. I hear looking young comes in handy when you are 40 and only look 30 :-p.

Do you have any tips on what audio and video codecs to use to create better quality without huge files.

This is a video aimed at beginners and newcomers to crunchbang and openbox.

please leave any comments here or on youtube.

Enjoy!

link: http://www.youtube.com/watch?v=hEuxVXtsHew

Here is the link to my first video on editing obmenu:
http://crunchbanglinux.org/forums/topic … roduction/

15

(30 replies, posted in Off Topic / General Chat)

I had a nice christmas, I don't think about the quantity of things that i received but rather the quality. For instance, I have grown closer to my sister this year, we are 10 years apart in age, she is 11. She got me a small chip that says, "Good for 1 million hugs". Amazing.

I also got some other things, Tim McGraw Southern Style Cologne, a few dress shirts and nice ties, a new jump rope and mp3 player for jogging and working out.

Glad to hear how well many of our christmas' went. Congrats daddy on the news!

The title says it all.

I made this video as a first in a series of videos in dealing with some aspects of Openbox and crunchbang that newcomers may be unaware of. Most of these tasks will be considered simple knowledge by most, but should not be overlooked as they are key to creating a custom look for your desktop.

The first video does not have the best quality. I am still learning how to render videos with good quality. PM if you have some pointers.

And to the video:

http://www.youtube.com/watch?v=uPw-eaKdEs8


If there are any other videos you would be interested in seeing, please send me a PM, I will not promise any, but ideas are always helpful.

Thank you,
SirCrazy

17

(8 replies, posted in WM/DE Talk)

no, because the menu.xml and rc.xml are saved seperatly, so you need to change them in the menu config for them to be used with the program u want.

make sure you have completely killed conky and restart it. don't rely on it refreshing itself after you save the config. for many display changes, they wont take effect until conky is off, then turned back on.

19

(2,564 replies, posted in Tips, Tricks & Scripts)

my latest

http://img19.imageshack.us/img19/7201/1260573110scrot.th.png

here is the config:

alignment top_right
background yes
border_width 0
color1 9AB7DC
color2 dedede
color3 668ABF
cpu_avg_samples 2
default_color 303030
double_buffer yes
draw_borders yes
draw_outline no
draw_shades yes
gap_x 30
gap_y 45
minimum_size 160
maximum_width 160
net_avg_samples 2
no_buffers yes
override_utf8_locale yes
own_window  yes
own_window_colour 000000
own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager 
own_window_transparent yes
own_window_type normal
stippled_borders 0
total_run_times 0
update_interval .7
uppercase no
use_spacer right
use_xft yes
xftfont sans:size=6

TEXT
${font Fontin SmallCaps:size=12}${color2}System Info ${color3}${hr}${font}
${color1}Kernel:${color2}${alignr}${kernel}
${color1}CPU:${alignr}${color2}${pre_exec cat /proc/cpuinfo | grep 'model name' | sort -u | cut -c22-26,44-50,54-60}
${color1}Core1:   ${color3}${cpubar cpu1 6,95}${alignr}${color2}${cpu cpu1}%
${color1}Core2:   ${color3}${cpubar cpu2 6,95}${alignr}${color2}${cpu cpu2}%
${color1}CPU Temp:${color2}  ${if_match ${acpitemp}<=49}${color2}${acpitemp}°C${else}${color red}${acpitemp}°C${endif}${alignr}${color1}Fans:${color2}  ${acpifan}
${color1}Ram:   ${color2}    ${mem} / ${memmax}${color2}${alignr}${memperc}%
${color1}Swap:  ${color2}    ${swap} / ${swapmax}${color2}${alignr}${swapperc}%
${color1}UpTime:${color2}${alignr}${uptime}
${color1}Battery:${color2}${alignr}${battery}
${color1}Processes:${color2}${alignr}${processes} Sleeping
${color2}${alignr}${running_processes} Running

#LAST.FM
${font Fontin SmallCaps:size=12}${color2}Last.FM ${color3}${hr}${font}
${execi 60 ~/.scripts/conky/lastfm.sh mromblad 2}${color1}Now Playing:
${color2}${execi 60 cat ~/.scripts/conky/last.fm/1.txt}
${color1}Last Played:
${color2}1: ${execi 60 cat ~/.scripts/conky/last.fm/2.txt}
${color2}2: ${execi 60 cat ~/.scripts/conky/last.fm/3.txt}
${color2}3: ${execi 60 cat ~/.scripts/conky/last.fm/4.txt}

#NETWORK
${font Fontin SmallCaps:size=12}${color2}Network ${color3}${hr}${font}
${color1}Hostname:${color2}${alignr}${nodename}
${color1}Connected To:${color2}${alignr}${wireless_essid wlan0} 
${color1}Internal IP:${color2}${alignr}${addr wlan0}
${color1}External IP:${color2}${alignr}${execi 3600 wget -O - [url]http://ip.tupeux.com[/url] | tail}
${color1}Bitrate:${color2}${alignr}${wireless_bitrate wlan0}
${color1}Link Quality:${alignr}${if_match ${wireless_link_qual wlan0}<=30}${color red}${wireless_link_qual wlan0}%${else}${color2}${wireless_link_qual wlan0}%${endif}
${if_match ${wireless_link_qual wlan0}<=30}${color red}${wireless_link_bar wlan0}${else}${color3}${wireless_link_bar wlan0}${endif}
${color1}Up:${color2}   ${upspeed wlan0}${alignr}${color1}Total Up:${color2}   ${totalup wlan0}
${color3}${upspeedgraph wlan0 15,159 668ABF 9AB7DC}
${color1}Down:${color2}   ${downspeed wlan0}${alignr}${color1}Total Down:${color2}   ${totaldown wlan0}
${color3}${downspeedgraph wlan0 15,159 668ABF 9AB7DC}

#DISKS
${font Fontin SmallCaps:size=12}${color2}Disks ${color3}${hr}${font}
${color1}Root:${color2}${alignr}${fs_used /}/${fs_size /} - ${fs_used_perc /}%
${color3}${fs_bar /}
${if_mounted /media/disk}${color1}Disk:${color2}${alignr}${fs_used /media/disk}/${fs_size /media/disk} - ${fs_used_perc /media/disk}%
${color3}${fs_bar /media/disk}${endif}
${if_mounted /media/disk-1}${color1}Disk:${color2}${alignr}${fs_used /media/disk-1}/${fs_size /media/disk-1} - ${fs_used_perc /media/disk-1}%
${color3}${fs_bar /media/disk-1}${endif}
${if_mounted /media/disk-2}${color1}Disk:${color2}${alignr}${fs_used /media/disk-2}/${fs_size /media/disk-2} - ${fs_used_perc /media/disk-2}%
${color3}${fs_bar /media/disk-2}${endif}

Here is the last.fm script:

I commented out the end of the script where it pings first to make sure you have an internet connection. This will cause odd output if you have no connection, so I removed it. It will simply be blank or show old data if you have no connection.

#!/bin/bash
cd $(dirname $0)
#
# ag.fm -- a trivial script echoing recently listened Last.fm tracks.
# ------------------------------------------------------------------------
#
# Written by Tomasz 'odder' Kozłowski <odder.wiki@gmail.com>.
# Released into the public domain. Modified by mobilediesel
#
# The script requires curl to run.
#
# Defining the variables, supplied command line arguments. Username required.
if [ -z "$1" ]
then
echo "Supply username"
exit 1
else
login="$1"
fi
# version of recent tracks, 1 or 2, default is 1 if not specified, 1 shows last completed songs, 2 also shows current playing track.
case "$2" in
[1-2]) v=$2;;
*) v=1;;
esac
ad=http://ws.audioscrobbler.com/$v.0/user/$login/recenttracks.rss
# file curl will download the RSS into.
f=last.fm/tmp.txt
# checks to see if tmp.txt exists, creates if not.
tmpfile () {
touch $f || mkdir $(dirname $f) && touch $f
for i in $(seq 1 10)
do echo $i >> $f
echo $i > $(dirname $f)/$i.txt
done
}
[ -s $f ] || tmpfile

# Check the Internet connection & get the rss
#if ping -qc1 195.24.233.53
#    then
        curl -s $ad | grep title | sed '1d' | sed "s/^.*<title>//;s/<\/title>//;s/\'\;/'/;s/\&amp\;/\&/;s/\&quot\;/\"/g" > $f
# write individual recent tracks to their own files.
for i in $(seq 1 10)
do
sed -n "${i}p" $f > $(dirname $f)/$i.txt
done
#    fi
exit

And here is a simple conky switcher i made with zenity. This allows me to switch between which last.fm profile i use. I simply have a duplicate conkyrc file with the other last.fm name.

#!/bin/bash

##---------------------------//
##       Conky Switcher      //
##  By Michael Romblad 2009  //
##---------------------------//

userName=`zenity --title "Last.fm Username" --list --radiolist --column "Pick" --column "Username" TRUE mromblad FALSE sircrazy`
    if [[ $userName = "mromblad" ]]
        then
        conky -c ~/.scripts/conky/conkyrc &
    elif [[ $userName = "sircrazy" ]]
        then
        conky -c ~/.scripts/conky/conkyrc2 &
    fi

Enjoy.

20

(2,564 replies, posted in Tips, Tricks & Scripts)

tawan wrote:
sircrazy wrote:

nice script jackinthebox *cough*

looks similar to the one you stole off me sircrazy

stole off you? preposterous. I reworked mine to look original, and I changed the way the options are shown (in alphabetical order as opposed to the jumbled up way most have it) tongue

although you did help me learn a bit about conky.

21

(2,564 replies, posted in Tips, Tricks & Scripts)

nice script jackinthebox *cough*

22

(264 replies, posted in Artwork & Screenshots)

running on arch base, but #! inspired look.

http://img443.imageshack.us/img443/879/ssarch.th.png

it can be anything. the ${sle} just means if it meets conditions, do that, otherwise (else) do this

i wonder if instead of a script you just do:

${if_match ${execi 5 expr length "` mocp -Q %artist | head -n 1`"} >= 25}${scroll 25 3 ${execi 5 mocp -Q %artist}${else}${execi 5 mocp -Q %artist}${endif}
#Artist
${if_match ${execi 5 expr length "` mocp -Q %artist | head -n 1`"} >= 25}${scroll 25 3 ${moc_artist}}${else}${moc_artist}${endif}
#Title
${if_match ${execi 5 expr length "`mocp -Q %song | head -n 1`"} >= 25}${scroll 25 3 ${moc_title}}${else}${moc_title}${endif}
#Album
${if_match ${execi 5 expr length "`mocp -Q %album | head -n 1`"} >= 25}${scroll 25 3 ${moc_album}}${else}${moc_album}${endif}

I don't know about a script to have it display better, but this is the proper if_match block, or at least should be.

what are the ways to call for title, artist, and album in MOC?

in mpd it is : mpc -f %title%, mpc -f %artist%, mpc -f %album%

If i had these commands for moc, i could finish it better.