You are not logged in.

#826 2011-10-21 14:35:45

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

Zom wrote:

It's written with python2 syntax, and "python" in arch is python3. You need to specify it to use /usr/bin/python2.

I was just going to say it works fine here when I saw your reply.
Hmmmmmmmmmmm

93e29b155037382.jpg

Thinking out loud: I wonder why they wouldn't make python backwards comparable?

EDIT:  I Forgot - Thanks for the script ichase!

Last edited by Sector11 (2011-10-21 14:37:02)

Offline

#827 2011-10-21 17:41:11

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 430

Re: conky configs and screenshots!

Sector11 wrote:

Thinking out loud: I wonder why they wouldn't make python backwards comparable?

EDIT:  I Forgot - Thanks for the script ichase!

Well, to be honest, you do have tools like 2to3 which I suppose is to help you convert python2 to python3 syntax. I have no idea if it actually works though.

There were some new things, like making print a function, which would raise problems with compatibility I suppose. I guess you could solve it by declaring which version of the language should be used in the head of the file or something, but that'd just open another ugly door imo (I might be way out of my league here though).

If I were to guess, I think most of the changes are to make the language more uniform, so the same structure can be applied pretty much everywhere.

Basically:

a = "There are many people"
print a.split()

Becomes:

a = "There are many people"
print(a.split())

Personally, I think the latter example is easier to grasp, while the former might be easier to read. I'm just an amateur though, so other people might think different.

Further reading about the changes can be found here I think, and that might address more issues between python2 and 3: http://docs.python.org/release/3.0.1/whatsnew/3.0.html

Offline

#828 2011-10-21 18:29:02

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

^^ @ zom

I understand what you are saying and to a programmer the difference may or may not be liked/welcome.  I'm NOT a programmer and really don't understand.

But I can't help think of all the python2 apps/scripts out there that now will not work in ARCH.

A shame.

Offline

#829 2011-10-21 19:26:36

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 430

Re: conky configs and screenshots!

I suppose it'll go the same way as GTK/GTK2 and Qt3/Qt4. The applications will either be ported or declared deprecated after a while.

Just like with GTK, applications can still exist and use the old toolkit without trouble (GTK is still in extra, for example). Python2 is still under active development, if I understand things correctly, and probably will be for a while. Things will move on though, and sooner or later things will have to be ported or rewritten as things phase out and become unsupported.

It's a shame that good software runs the risk of dying out because a change like this, but at the same time, it forces active maintenance. It's not just a bad thing, and it's not just a good thing.

And for something more on topic, the python2 scripts will still work just fine if you install the relevant python2 packages and remember to change python to python2 in $exec in the conkyrc, and I'm sure they will continue to work for quite a while. smile

Offline

#830 2011-10-22 08:23:39

anirudh215
Member
Registered: 2011-03-07
Posts: 78

Re: conky configs and screenshots!

tawan wrote:

for the guy who asked in the July thread.. (even though it has changed since then)

http://omploader.org/tNTNzcQ

http://omploader.org/tNTNzbg

I know this is an old post, but how do I get the green border in tint2 for the workspaces? Which specific line does that?

Offline

#831 2011-10-26 23:11:45

wattafunnyname
Member
Registered: 2011-01-29
Posts: 12

Re: conky configs and screenshots!

desk

Offline

#832 2011-10-27 00:20:55

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: conky configs and screenshots!

Sector11 wrote:

^^ @ zom

I understand what you are saying and to a programmer the difference may or may not be liked/welcome.  I'm NOT a programmer and really don't understand.

But I can't help think of all the python2 apps/scripts out there that now will not work in ARCH.

A shame.


There is a tool that "should" convert python2 to python3.

http://docs.python.org/library/2to3.html


I have yet to try it out but worth a look.

Edit: Saw it was posted above me. Sorry for the double post.

Last edited by doug piston (2011-10-27 00:22:24)

Offline

#833 2011-10-27 18:35:02

ichase
Member
Registered: 2011-02-10
Posts: 113

Re: conky configs and screenshots!

Question about lua,  Which package in the AUR is most compatible with conky-all?  From what I am hearing on the #! conky forum is that conky-all is required to run lau scripts in conky.  I also heard that installing lau is not enough for conky to recognize the lua script once called to it with-in the .conkyrc.

I looked in the AUR list and there is a lot of different conky files, one inparticular the conky-lau 1.8.1-3.  Would this one enable the use of lau where is just installing regular conky will not?

Hope that was not confusing.  wink

Thanks,

Ian

Offline

#834 2011-10-27 18:48:47

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: conky configs and screenshots!

ichase wrote:

Question about lua,  Which package in the AUR is most compatible with conky-all?  From what I am hearing on the #! conky forum is that conky-all is required to run lau scripts in conky.  I also heard that installing lau is not enough for conky to recognize the lua script once called to it with-in the .conkyrc.

I looked in the AUR list and there is a lot of different conky files, one inparticular the conky-lau 1.8.1-3.  Would this one enable the use of lau where is just installing regular conky will not?

Hope that was not confusing.  wink

Thanks,

Ian

I am not 100% about this but I would assume that is the case as the description of the conky-lua package says:

An advanced, highly configurable system monitor for X based on torsmo, with lua bindings enabled.

http://aur.archlinux.org/packages.php?ID=31589

Last edited by securitybreach (2011-10-27 18:50:31)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#835 2011-10-27 19:09:34

ichase
Member
Registered: 2011-02-10
Posts: 113

Re: conky configs and screenshots!

Thanks for the response SB, with that being said, should I "Uninstall" conky then "Install" conky-lua from the AUR?

Thanks,

Ian

Offline

#836 2011-10-27 19:32:12

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: conky configs and screenshots!

I think you will have to as they will conflict with each other.

Last edited by securitybreach (2011-10-27 19:32:28)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#837 2011-10-28 18:09:05

Keta
Member
From: /home/lb
Registered: 2011-10-06
Posts: 15

Re: conky configs and screenshots!

alignment top_right
double_buffer yes
gap_x 5
gap_y 5
update_interval 2.0
background yes
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
minimum_size 230 5
maximum_width 230
use_xft yes
xftalpha 0.5
xftfont Sans:size=7

TEXT
${font openlogos:size=20}${font Arial:size=15}${color #0088cc}ARCH ${color Ivory}${font openlogos:size=15}STATS${font }
${font size=7}${color slate grey}Infos $hr${color }${font }

Kernel: ${alignr}$kernel ($machine)
Uptime: ${alignr}$uptime
Time: ${alignr}${time %H:%M:%S}
Date: ${alignr}${time %d.%m.%y}
User: ${alignr}$alignc${exec whoami} @ $nodename
Filesystem: $alignr${fs_type}

${font size=7}${color slate grey}CPU Usage $hr${color }${font }

CPU1 ${alignr}${cpu cpu1}%
${cpugraph cpu1 16, 200}

CPU2 ${alignr}${cpu cpu2}%
${cpugraph cpu2 16, 200}

CPU3 ${alignr}${cpu cpu3}%
${cpugraph cpu3 16, 200}

CPU4 ${alignr}${cpu cpu4}%
${cpugraph cpu4 16, 200}
CPU-Temp.${alignr}${hwmon temp 1}°C

${font size=7}${color slate grey}Ram Usage $hr${color }${font }

RAM ${alignr}$mem/$memmax
${membar 6, 200}

Swap ${alignr}$swap/$swapmax
${swapbar 6, 200}

${font size=7}${color slate grey}Filesystem $hr${color }${font }

/ ${alignr}${fs_free /}
${fs_bar 6, 200 /}

/home ${alignr}${fs_free /home}
${fs_bar 6, 200 /home}

/UndergroundSound ${alignr}${fs_free /media/UndergroundSound}
${fs_bar 6, 200 /media/UndergroundSound}

${font size=7}${color slate grey}Top CPU Tasks $hr${color }${font }

${color #ddaa00}${top name 1}${alignr}${top cpu 1}%${color }
${top name 2}${alignr}${top cpu 2}%
${top name 3}${alignr}${top cpu 3}%
${top name 4}${alignr}${top cpu 4}%
${top name 5}${alignr}${top cpu 5}%

${font size=7}${color slate grey}Top RAM Tasks  $hr${color }${font }

${color #ddaa00}${top_mem name 1}${alignr}${top_mem mem 1}%${color }
${top_mem name 2}${alignr}${top_mem mem 2}%
${top_mem name 3}${alignr}${top_mem mem 3}%
${top_mem name 4}${alignr}${top_mem mem 4}%
${top_mem name 5}${alignr}${top_mem mem 5}%

${font size=7}${color slate grey}Network $hr${color }${font }
IP (Lan): $alignr${addr eth0}
IP (Public): $alignr${execi 600 wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
Total Down $alignr${totaldown eth0}
Total Up   $alignr${totalup eth0}

Download ${alignr}${downspeed eth0}
${downspeedgraph eth0}

Upload ${alignr}${upspeed eth0}
${upspeedgraph eth0}

Outbound Connections:
${tcp_portmon 1 65535 rhost 0}:${tcp_portmon 1 65535 rport 0}
${tcp_portmon 1 65535 rhost 1}:${tcp_portmon 1 65535 rport 1}
${tcp_portmon 1 65535 rhost 2}:${tcp_portmon 1 65535 rport 2}
${tcp_portmon 1 65535 rhost 3}:${tcp_portmon 1 65535 rport 3}
${tcp_portmon 1 65535 rhost 4}:${tcp_portmon 1 65535 rport 4}
${tcp_portmon 1 65535 rhost 5}:${tcp_portmon 1 65535 rport 5}
${tcp_portmon 1 65535 rhost 6}:${tcp_portmon 1 65535 rport 6}
${tcp_portmon 1 65535 rhost 7}:${tcp_portmon 1 65535 rport 7}

201110282005071920x1080.th.png

Offline

#838 2011-11-01 19:49:19

null
Member
Registered: 2009-05-06
Posts: 398

Re: conky configs and screenshots!

Just procrastinated (native English speaker: can I use this word in this context?) university homework and this is the result (i quite like it):
tYjZiaA

imlib_cache_size 0
alignment bl
background yes
border_width 0
cpu_avg_samples 2
default_color grey
default_outline_color darkgrey 
default_shade_color darkgrey
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Terminus:size=8
gap_x 5
gap_y 5
maximum_width 0
minimum_size 500 100
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
own_window no
own_window_class Conky
own_window_type desktop
own_window_transparent true
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
mpd_host /home/jonas/.config/mpd/socket

#              ${mpd_status} $alignr ${mpd_percent}%
#              ${mpd_bar}
# #005E9F
TEXT



${goto 110}${color #90A658}Now Playing:			    ${goto 340}CPU Workload:              ${goto 590}Main Memory:		    ${goto 840}File System:                        ${goto 1100}System:${color #7B9FBA}
${goto 110} $if_mpd_playing${mpd_artist 30}$endif   ${goto 340} CPU0 ${cpubar cpu1 8,150} ${goto 590} RAM  ${membar 8,150}  ${goto 840} root  ${fs_bar 8,150 /} 		   ${goto 1100} OS:    Arch Linux x86_64
${goto 110} $if_mpd_playing${mpd_album 30}$endif    ${goto 340} CPU1 ${cpubar cpu2 8,150} ${goto 590} swap ${swapbar 8,150} ${goto 840} boot  ${fs_bar 8,150 /boot}		   ${goto 1100} Hostname:           arch
${goto 110} $if_mpd_playing${mpd_title 30}$endif	${goto 340} CPU2 ${cpubar cpu3 8,150}               ${goto 590}${color #90A658}Dropbox Status:${color #7B9FBA} 	    ${goto 840} home  ${fs_bar 8,150 /home}   ${goto 1100} Kernel Release: ${exec uname -r}
${goto 110} ${mpd_bar 8,150}${image /tmp/cover -p 0x0 -s 100x100} ${goto 340} CPU3 ${cpubar cpu4 8,150} ${goto 590} ${exec dropbox status | sed -n 1p} 		${goto 840} music ${fs_bar 8,150 /media/music} ${goto 1100} Uptime: ${alignr}${uptime} 

Last edited by null (2011-11-07 22:14:45)

Offline

#839 2011-11-01 20:11:44

milso
Member
Registered: 2010-11-16
Posts: 112
Website

Re: conky configs and screenshots!

null wrote:

Just procrastinated (native English speaker: can I use this word in this context?) university homework and this is the result (i quite like it):

Yes, that is the correct usage of the word.

Also, nice conky setup.

Offline

#840 2011-11-02 00:48:14

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

null wrote:

Just procrastinated (native English speaker: can I use this word in this context?) university homework and this is the result (i quite like it):

I would say: Just procrastinated on my university homework ...

I like the way you procrastinate!!  That's well done

Offline

#841 2011-11-07 22:18:00

null
Member
Registered: 2009-05-06
Posts: 398

Re: conky configs and screenshots!

Thanks big_smile

And I just updated the config for showing my Dropbox status below the "Main Memory" section. I don't know how I lived the last half year without conky...

Offline

#842 2011-11-09 07:50:54

NOOBZILLATRON
Member
Registered: 2011-10-05
Posts: 7

Re: conky configs and screenshots!

VWG5Y.png

background yes
font ubuntu:size=8
xftfont ubuntu:size=8
use_xft yes
xftalpha 0.6
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades yes
draw_outline yes
draw_borders no
draw_graph_borders no
minimum_size 200
maximum_width 270
default_color ffffff
default_shade_color 000000
draw_outline no
alignment top_left
gap_x 2
gap_y 20
no_buffers yes
cpu_avg_samples 2
override_utf8_locale yes
uppercase no
use_spacer none

TEXT
${image ~/downloads/blue.png -p 8,0 -s 42x42} ${voffset 5}${goto 50}Host:$alignr$nodename
${goto 50}Kernel:$alignr$kernel $machine
${goto 50}Uptime:$alignr$uptime_short

${image /usr/share/icons/Faenza/apps/32/jockey.png -p 10,49 -s 32x32} ${goto 50}CPU 1:$alignr${cpubar cpu0 5,65} ${cpu cpu0}%
${goto 50}CPU 2:$alignr${cpubar cpu1 5,65} ${cpu cpu1}%

${image /usr/share/icons/Faenza/mimetypes/32/application-x-rpm.png -p 10,98 -s 32x32}#${goto 50}RAM
${goto 50}RAM:$alignr${membar 5,65} $memperc%
${goto 50}Swap:$alignr${swapbar 5,65} $swapperc%

${image /usr/share/icons/Faenza/apps/32/gparted.png -p 10,144 -s 32x32}
${goto 50}Root:$alignr${fs_used /} / ${fs_size /}
${goto 50}Home:$alignr${fs_used /home} / ${fs_size /home}

...a work in progress

Offline

#843 2011-11-09 08:02:01

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: conky configs and screenshots!

@ NOOBZILLATRON

Looks nice, but the rpm logo beside the ram/swap should be used for fan speeds instead.

Offline

#844 2011-11-09 08:53:43

NOOBZILLATRON
Member
Registered: 2011-10-05
Posts: 7

Re: conky configs and screenshots!

x33a wrote:

@ NOOBZILLATRON

Looks nice, but the rpm logo beside the ram/swap should be used for fan speeds instead.

|should be

I prefer the way I have it, _not_ in the beer sense.

Offline

#845 2011-11-10 09:26:59

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: conky configs and screenshots!

There is a nice script for conky slideshow here:
https://bbs.archlinux.org/viewtopic.php?id=76964 (I haven't tried this tho)
The same script was posted also on the ubuntu forum, and I found an interesting variation there:
http://ubuntuforums.org/showthread.php? … ost7831786
I like the second approach better, but be aware that there will be spikes in your CPU utilization at every refresh. Nicing the process helps a bit.

Last edited by SanskritFritz (2011-11-10 09:28:34)


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#846 2011-11-12 18:46:37

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

For conky users who use gedit or medit.

I have updated the "conkyrc.lang" file that gedit and medit uses to colour code the conky syntax according to what the variables and settings were as of 11/11/11.  Almost 100 lines added to the file!

f5a21d158929621.jpg

Tested with:

  • medit v1.0.3

  • medit v1.0.5

  • gedit v2.30.4

  • gedit v3.0.6-2

You can grab the file here: (the same for both)
gedit and conky and medit and conky

Things to note:

  • medit does NOT "remember" files like gedit, other than "conkyrc" or what you set it to - yet,

  • medit has one option as to where to place the conkyrc.lang file

  • as shown on the medit page, you can change the automatic selection of what files get colour coded

  • gedit has various locations for the conkyrc.lang file, it depends in which version of gedit you use as well.

Special thanks for VastOne's help with medit.

Last edited by Sector11 (2011-11-12 18:47:00)

Offline

#847 2011-11-16 15:37:38

ichase
Member
Registered: 2011-02-10
Posts: 113

Re: conky configs and screenshots!

Still playing with tint2 to get it exactly the way I want it plus I am going to add an additional day to the weather.

a9b709158777374.jpg

And here are the config files.  These should work.

info_conky

weather_conky

Arch_conky

date_conky

tint2rc

date_conky script - Compliments to the great work of Sector11 smile

Offline

#848 2011-11-16 17:56:33

dodo3773
Member
Registered: 2011-03-17
Posts: 814

Re: conky configs and screenshots!

ichase wrote:

Still playing with tint2 to get it exactly the way I want it plus I am going to add an additional day to the weather.

- Compliments to the great work of Sector11 smile

Nice conky. Pretty slick. Looks like you have a little overlapping though on the top_mem stuff. Maybe an alignr for the middle one too would fix it.

Offline

#849 2011-11-16 18:27:43

freieschaf
Member
Registered: 2010-11-30
Posts: 18

Re: conky configs and screenshots!

Sharing my desktop as a user from another thread emailed me asking for it. I thought this would be a nice place to share it as I got some of the ideas from this one thread. Hope someone likes it:

23068d159661159.jpg

Config files:

conky_main
conky_rings (Not so an accurate filename, sorry. It's the conky on right-bottom corner - time, calendar...)
draw_bg.lua
rings.lua

Wallpaper:

be9277159663160.jpg

Cheers:)

Offline

#850 2011-11-16 19:03:47

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

ichase wrote:

Still playing with tint2 to get it exactly the way I want it plus I am going to add an additional day to the weather.

http://thumbnails60.imagebam.com/15878/a9b709158777374.jpg

And here are the config files.  These should work.

info_conky
weather_conky
Arch_conky
date_conky
tint2rc
date_conky script - Compliments to the great work of Sector11 smile

I don't take credit for that little Calendar script, that was written by "mobildiesel" who recently moved from the "orange side" to the "dark side" of #!

Lookin' good there ichase lookin' real good.

My entry: 691ce4159670727.jpg

Last edited by Sector11 (2011-11-16 19:09:44)

Offline

Board footer

Powered by FluxBB