Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - PackRat

#2041
General Support / Re: translate in italian
January 10, 2014, 02:04:24 PM
I think that is an option during the install. One of the questions will be along the lines of "what language do you want", but the installer will continue in English. Is Italian not an option?
#2042
General Support / Re: adjust clock
January 10, 2014, 02:22:54 AM
Oday -

are you trying to reset your timezone (date/clock)?

these may be useful

https://wiki.debian.org/DateTime -- this particular page is also available in Italian.

http://go.kblog.us/2012/10/to-correct-system-time-with-hwclock-and.html
#2043
General Support / Re: translate in italian
January 09, 2014, 02:55:30 PM
distro is an abbreviation for distribution (distribuzione on google translate); there are several Italian distros (Sabyon, Semplice); might want to just see what they're calling it.

or are you wanting VSIDO translated into Italian?
#2044
Media Room / Re: Just listened to
January 09, 2014, 03:23:05 AM
^ haven't listened to that in years.

Have you seen the movie (that album was the soundtrack)?
#2045
Quote from: ozitraveller on January 07, 2014, 03:17:34 AM

Where to next FreeBSD, Haiku, .....???


Where to next? I'll stick my neck out here - so bookmark this post  :D - if upstart is adopted, the purists devs will leave and fork (probably not the correct word here) debian into a new distro with systemd. More power to them if they do.
#2046
Conky / Re: Conky Support, Codes and Screenshots
January 07, 2014, 02:27:42 AM
A minimal conky with just some "essential" info (used in my Xfce setup; January screenshot):

conkyrc

background yes
use_xft yes
xftfont Sans:pixelsize=11
# font Dina-9
xftalpha 0.1
update_interval 1
total_run_times 0
own_window yes
own_window_class conkytile
own_window_title ConkyTile
own_window_type desktop
own_window_colour 0F0F0F
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 620 0
maximum_width 620
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_shade_color 3e0e1e
default_outline_color 0E3E16
alignment tm
gap_x 0
gap_y 8
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer none
default_color DAC79C
color0 ffffff
color1 000000
color2 red
color3 yellow
color4 blue
color5 green
color6 orange
color7 00BFFF
color8 FFFF00
color9 F40E0E

lua_load ~/conky/transbg.lua
lua_draw_hook_pre draw_bg 8 0 0 0 0 0x000000 0.66
# ${goto 24}${time %b %e}${offset 8}${time %k:%M}${offset 16}:${offset 16}\

TEXT
${goto 12}Uptime${offset 2}:${offset 8}${uptime_short}${offset 16}:${offset 16}\
CPU0${offset 2}:${offset 8}${if_match ${execpi 60 /home/doug/conky/TCore0.sh}<=50}${color7}${else}${if_match ${execpi 60 /home/doug/conky/TCore0.sh}<=70}${color8}${else}${if_match ${execpi 60 /home/doug/conky/TCore0.sh}>70}${color9}${endif}${endif}${endif}${execpi 60 /home/doug/conky/TCore0.sh}${offset 2}°C${color}${offset 16}:${offset 16}\
CPU1${offset 2}:${offset 8}${if_match ${execpi 60 /home/doug/conky/TCore1.sh}<=50}${color7}${else}${if_match ${execpi 60 /home/doug/conky/TCore1.sh}<=70}${color8}${else}${if_match ${execpi 60 /home/doug/conky/TCore1.sh}>70}${color9}${endif}${endif}${endif}${execpi 60 /home/doug/conky/TCore1.sh}${offset 2}°C${color}${offset 16}:${offset 16}\
CPU${offset 2}:${offset 8}${if_match ${cpu}<=50}${color7}${else}${if_match ${cpu}<=70}${color8}${else}${if_match ${cpu}>70}${color9}${endif}${endif}${endif}${cpu cpu0}%${color}${offset 10}\
${loadavg 1}${offset 4}${loadavg 2}${offset 4}${loadavg 3}${offset 16}:${offset 16}\
Mem${offset 2}:${offset 8}${if_match ${memperc}<=50}${color7}${else}${if_match ${memperc}<=70}${color8}${else}${if_match ${memperc}>70}${color9}${endif}${endif}${endif}${memperc}%${color}${offset 12}


transbg.lua

--[[Background originally by londonali1010 (2009)
    ability to set any size for background mrpeachy 2011
    ability to set variables for bg in conkyrc dk75

the change is that if you set width and/or height to 0
then it assumes the width and/or height of the conky window

so:

Above and After TEXT  (requires a composite manager or it blinks!)

lua_load ~/wea_conky/draw_bg.lua
TEXT
${lua conky_draw_bg 10 0 0 0 0 0x000000 0.4}

OR Both above TEXT (no composite manager required - no blinking!)

lua_load ~/wea_conky/draw_bg.lua
lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.5
TEXT

Note
${lua conky_draw_bg 20 0 0 0 0 0x000000 0.4}
  See below:        1  2 3 4 5 6        7

${lua conky_draw_bg corner_radius x_position y_position width height color alpha}

covers the whole window and will change if you change the minimum_size setting

1 = 20             corner_radius
2 = 0             x_position
3 = 0             y_position
3 = 0             width
5 = 0             height
6 = 0x000000      color
7 = 0.4           alpha

]]

require 'cairo'
local    cs, cr = nil
function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function conky_draw_bg(r,x,y,w,h,color,alpha)
if conky_window == nil then return end
if cs == nil then cairo_surface_destroy(cs) end
if cr == nil then cairo_destroy(cr) end
local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
local cr = cairo_create(cs)
w=w
h=h
if w=="0" then w=tonumber(conky_window.width) end
if h=="0" then h=tonumber(conky_window.height) end
cairo_set_source_rgba (cr,rgb_to_r_g_b(color,alpha))
--top left mid circle
local xtl=x+r
local ytl=y+r
--top right mid circle
local xtr=(x+r)+((w)-(2*r))
local ytr=y+r
--bottom right mid circle
local xbr=(x+r)+((w)-(2*r))
local ybr=(y+r)+((h)-(2*r))
--bottom right mid circle
local xbl=(x+r)
local ybl=(y+r)+((h)-(2*r))
-----------------------------
cairo_move_to (cr,xtl,ytl-r)
cairo_line_to (cr,xtr,ytr-r)
cairo_arc(cr,xtr,ytr,r,((2*math.pi/4)*3),((2*math.pi/4)*4))
cairo_line_to (cr,xbr+r,ybr)
cairo_arc(cr,xbr,ybr,r,((2*math.pi/4)*4),((2*math.pi/4)*1))
cairo_line_to (cr,xbl,ybl+r)
cairo_arc(cr,xbl,ybl,r,((2*math.pi/4)*1),((2*math.pi/4)*2))
cairo_line_to (cr,xtl-r,ytl)
cairo_arc(cr,xtl,ytl,r,((2*math.pi/4)*2),((2*math.pi/4)*3))
cairo_close_path(cr)
cairo_fill (cr)
------------------------------------------------------------
cairo_surface_destroy(cs)
cairo_destroy(cr)
return ""
end


TCore0.sh - the "Core 0" section will need to be changes to match your sensors output; use for as many cores you want displayed:

#!/bin/sh
# exec sensors -f | awk '/Core0 Temp/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}'
sensors | awk '/Core 0/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}'
#2047
Artwork & Screenshots / Re: January 2014 Screenshots
January 07, 2014, 02:14:44 AM
^ I put it there a bit later; I'm on my Slackware desktop at the moment.

Done - conkyrc, lua and Core thermal scripts posted in conky thread.

Back on topic - minor change; switched from "raised" to "sunken" in the theme:



I liked this theme ( http://capn-damo.deviantart.com/art/Openbox-theme-Winter-425491163 ) so I'm porting it to fluxbox - work in progress:

#2048
Quote from: VastOne on January 07, 2014, 12:24:47 AM
Like you statmonkey, if upstart is chosen I am walking away from Debian and in doing that, VSIDO would most likely come to it's end

You could base it on Slackware current and use Gslapt/spalt-get for the package management - need to change the name, though.
#2049
I'll add my vote to roxterm - an excellent under the radar app. I think it's what Parted Magic and Puppy distros use. Good drop-in replacement for both urxvt and xfce4-terminal.

ntpdate is a good companion app for ntp.

I noticed you now have tea installed by default; I recommend you do a comparison of tea with scite - scite is another under the radar app; text editor for power users/programers. I think it has some python dependencies - but most are installed by default. Doesn't tea have some QT dependencies? It may be a trade off as far as file size is concerned, but in the long run, I think python has more value for VSIDO. Scite can be a bit tricky tom set up, but it's rather powerful.
#2050
Media Room / Re: Just listened to
January 05, 2014, 07:37:38 PM
^ so true

followed it up with Symphony #5 then Dark Side of the Moon.
#2051
Quote from: statmonkey on January 05, 2014, 06:08:23 PM

I really do think Debian will go the Canonical Way and posted my reasons earlier.  (shudder) The hanging chad in this situation remains the political implications not the technical side of systemd.  I can't find anything that I can't make work or doesn't just work.  But the philosophical issues:


be interesting if some of the Debian dev's split off and start a new project/fork should upstart get adopted.
#2052
Media Room / Re: Just listened to
January 05, 2014, 05:06:10 PM
Beethoven Symphony No. 9 in D Minor.
#2053
^ That's funny in an ironic sort of way. Most any other situation, the 3 that are also employees of Caononical would have to recuse themselves from voting because of conflict of interest.

@vastone - should you decide to go forward with systemd, are all the system admin apps installed by default (bum comes to mind) systemd compatible?
#2054
Artwork & Screenshots / Re: January 2014 Screenshots
January 04, 2014, 12:02:44 AM
^ that's excellent -.

some i3 -



and fluxbox; using the borderWidth variables to get some padding in the icon bar (work in progress):



xfce - cut the system conky back to the essentials:

#2055
@vastone -

So far so good.

for anyone else that runs into this issue, Post #61 in this thread usually works -

http://crunchbang.org/forums/viewtopic.php?pid=307991#p307991

and this page is useful - Edit 7/19/14 - link appears to be dead now

http://go.kblog.us/2012/10/to-correct-system-time-with-hwclock-and.html