Showing posts with label conky. Show all posts
Showing posts with label conky. Show all posts

Tuesday, June 23, 2015

My "new" rig

It's been a long time since my last post here, sorry for that. A few things lead to this, mainly my problems in dual booting Windows 8.1 with Peppermint 6 and also because I donated my trusty Lenovo S10e netbook to my mother.

So I was stuck without Linux...

Two months in, my Lenovo i3 laptop started to slow down - as Windows 8.1 is horrible. I started longing back to the days when I had a fast computer.

Yesterday I found someone trying to throw away a computer, it had an interesting case and I asked him if he would mind if I "salvaged" it. He said, "be my guest" Turns out it is a pretty sweet computer:

It has an antec case!

For a list of specs:

Mobo:
Foxconn
CPU: Dual core Pentium CPU E5300 2.6 GHZ
RAM: 2 GB
Graphics Card:
AMD RV730 PRO [Radeon HD 4650]

I still can't believe he was throwing this away.

So here is a screenshot, I've installed Conky, but have not changed the default wallpaper (Peppermint 6 is out, I need to do a review at some point).

Linux truly is amazing at repurposing hardware that would have been considered obsolete.

Long live Peppermint Linux!

Saturday, August 16, 2014

Conky for my desktop

Normally Conky is one of the first things that I install after installing my operating system. I have been using the same script that I used on my netbook for my desktop, although this was not perfect. The netbook only has a 10" monitor, while I am now working on a 17" monitor. Lots more screen space, and with that comes more space to display stuff.

My desktop also does not run on a battery, so I needed to remove that stat. I played around with colours and font sizes, as well I had more space now.

Here is my new conky ====>>>>>>>

And yes, my wifi reception really is 100%, at the present moment my desktop is only 1 meter away from the router, but once my log cabin is finished I will have about 10 meters or so.

Things I added:


  • Date & Time
  • More spaces between sections
  • Made Conky wider than on netbook
  • Connection quality for wifi

And, as always (as I do like to share) here is my Conky script:

background yes
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 840
maximum_width 400
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color green
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
text_buffer_size 1024
uppercase no
cpu_avg_samples 2
override_utf8_locale no

own_window_argb_value 0
own_window_argb_visual no
own_window_colour 000000
TEXT
${font sans-serif:bold:size=11}${color white}SYSTEM ${hr 2}

${font sans-serif:normal:size=9}${color green}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime

${font sans-serif:bold:size=11}${color white}TIME ${hr 2}

${color green} ${font :size=30}$alignc${time %H:%M:%S}
${voffset -30}${font :bold:size=10}$alignc${time %d %b. %Y}
${font :bold:size=10}$alignc${time %A}

${font sans-serif:bold:size=11}${color white}PROCESSORS ${hr 2}

${font sans-serif:normal:size=9}${color green}${cpugraph cpu1}
CPU1: ${cpu cpu1}% ${cpubar cpu1}
TEMP: ${font sans-serif:bold:size=9}${color red}$alignr $acpitemp


${font sans-serif:bold:size=11}${color white}MEMORY ${hr 2}

${font sans-serif:normal:size=8}${color green}RAM $alignc $mem / $memmax $alignr $memperc%
$membar


${font sans-serif:bold:size=11}DISKS ${hr 2}

${font sans-serif:normal:size=9}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
${font sans-serif:normal:size=8}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar}


${font sans-serif:bold:size=11}${color white}TOP PROCESSES ${hr 2}

${font sans-serif:normal:size=9}${color green}${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %


${font sans-serif:bold:size=11}${color white}NETWORK ${hr 2}

${font sans-serif:normal:size=9}${color green}IP address: $alignr ${addr wlan0}
ESSID: $alignr ${wireless_essid wlan0}
${downspeedgraph wlan0}
DLS:${downspeed wlan0} kb/s $alignr total: ${totaldown wlan0}
${upspeedgraph wlan0}
ULS:${upspeed wlan0} kb/s $alignr total: ${totalup wlan0}
Connection quality: $alignr ${wireless_link_qual_perc wlan0}%

Wednesday, August 6, 2014

Updating Conky for multiple partitions

Of course now that /home is on it's own partition, Conky will no longer display the disk usage correctly.

I did some reading, copied and pasted - then edited a line or two. Here is my updated Conky script:

background yes
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 700
maximum_width 400
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color green
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
text_buffer_size 1024
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${font sans-serif:bold:size=8}SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime
Battery Status: $alignr$battery

${font sans-serif:bold:size=8}PROCESSORS ${hr 2}
${font sans-serif:normal:size=8}${cpugraph cpu1}
CPU1: ${cpu cpu1}% ${cpubar cpu1}

${font sans-serif:bold:size=8}MEMORY ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar

${font sans-serif:bold:size=8}DISKS ${hr 2}
${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
${font sans-serif:normal:size=8}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar}

${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}
${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %

${font sans-serif:bold:size=8}NETWORK ${hr 2}
${font sans-serif:normal:size=8}IP address: $alignr ${addr wlan0}
ESSID: $alignr ${wireless_essid wlan0}
${downspeedgraph wlan0}
DLS:${downspeed wlan0} kb/s $alignr total: ${totaldown wlan0}
${upspeedgraph wlan0}
ULS:${upspeed wlan0} kb/s $alignr total: ${totalup wlan0}


Tuesday, July 29, 2014

More Conky goodness

To make dealing with Conky easier, open a Terminal window, then copy and paste the following into it (one at a time):

sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install conky-manager


You now have Conky Manager listed under Accessories in the Menu :) run the program. In the top row of icons, click Open theme folder. Create a text file and paste your conky script of choice in it. This is mine:

background yes
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 700
maximum_width 400
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color green
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
text_buffer_size 1024
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT

${font sans-serif:bold:size=8}SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime
Battery Status: $alignr$battery

${font sans-serif:bold:size=8}PROCESSORS ${hr 2}

${font sans-serif:normal:size=8}${cpugraph cpu1}
CPU1: ${cpu cpu1}% ${cpubar cpu1}

${font sans-serif:bold:size=8}MEMORY ${hr 2}

${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar

${font sans-serif:bold:size=8}DISKS ${hr 2}

${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar}

${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}

${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %

${font sans-serif:bold:size=8}NETWORK ${hr 2}

${font sans-serif:normal:size=8}IP address: $alignr ${addr wlan0}
ESSID: $alignr ${wireless_essid wlan0}
${downspeedgraph wlan0}
DLS:${downspeed wlan0} kb/s $alignr total: ${totaldown wlan0}
${upspeedgraph wlan0}

ULS:${upspeed wlan0} kb/s $alignr total: ${totalup wlan0}

Save your text file, then restart the program. There are settings to make Conky autorun and more. A very useful program.

Monday, July 28, 2014

Peppermint 5 here we go!

So today I finally got around to installing Peppermint 5. I formatted my entire hard drive, so I am no longer dual booting Windows XP (which means that at this point I need to fire up my desktop if I need Coreldraw or my Canon Lide 90 scanner).

I am currently downloading LibreOffice and I still need to set everything up. At least Conky is installed already :)

So, unetbootin helped me (once again) to create a live flash drive, after downloading the Peppermint 5 ISO from www.peppermintos.com This truly is a wonderful little program.

Installation was uneventful, as expected. My Broadcom wifi card still needs proprietary drivers. This means I need to plug into the router when installing, afterwards click on Menu -> Preferences -> Additional drivers. Here you need to enable the wifi driver. Wifi works again, whoop whoop.

While Googling, I found http://www.binarytides.com/better-linux-mint-17-cinnamon/ and I started working my way through the list. Pepperflash is installed by default, which is great. When installing ms-tt-corefonts I had a strange blue window with white text in it. I could not get past this window, so I Googled some more. Finally found a page that said "press TAB, then ENTER", which worked and  was able to complete that installation and load more software.

Conky is back on, (Audacity, Deluge, UGet, VLC and a few others too), I need to install Dropbox next. I have a new approach to Dropbox: I move stuff that I am not actively working on into my OneDrive or Google Drive, this means when I reinstall it does not take as long to sync.

Will post an update as soon as I am ready.

Saturday, June 15, 2013

Conky guide for Peppermint 4

I've done bits and pieces on conky before, here I would like to combine everything from start to finish. I love programs like conky, because I want to be able to see how fast something is downloading, or how hard my CPU is working or even what process is is using the most memory at a glance.


There is a lot more that can be done with conky, you can use different fonts, for example. But I'm using it on a 10" netbook monitor, so that's why mine looks the way it does.

Installing Conky


Fire up a Terminal window, type: sudo apt-get install conky

Type root user password and press <ENTER>, the thing is that I keep forgetting how to make Conky autostart.

Making Conky autostart


Open File Manager
Go to /etc/xdg/lxsession/Peppermint
Click on Tools >> Open current folder as Root
Enter your Root password, press <ENTER>
Right click on autostart, left click on Text Editor
Add @conky at the bottom of the file
Save & exit

This should work for making other programs run at startup as well.

The thing about doing stuff like this is if you don't reinstall often, you can forget this - I did at least, so adding it to this blog helps me next time I need to do it.

Customizing Conky:


The config file is located in: etc/conky
Click on Tools >> Open current folder as Root
Enter your Root password, press <ENTER>
Right click on conky.conf , left click on Text editor

Be careful what you change here. Make a backup of your current script before you change anything.

A screenshot of my conky


Here's my conky script


You can copy and paste this over yours if you like:


background yes
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 700
maximum_width 400
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
text_buffer_size 1024
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${font sans-serif:bold:size=8}SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime
Battery Status: $alignr$battery

${font sans-serif:bold:size=8}PROCESSORS ${hr 2}
${font sans-serif:normal:size=8}${cpugraph cpu1}
CPU1: ${cpu cpu1}% ${cpubar cpu1}

${font sans-serif:bold:size=8}MEMORY ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar

${font sans-serif:bold:size=8}DISKS ${hr 2}
${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar}

${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}
${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %

${font sans-serif:bold:size=8}NETWORK ${hr 2}
${font sans-serif:normal:size=8}IP address: $alignr ${addr eth1}
ESSID: $alignr ${wireless_essid eth1}
${downspeedgraph eth1}
DLS:${downspeed eth1} kb/s $alignr total: ${totaldown eth1}
${upspeedgraph eth1}
ULS:${upspeed eth1} kb/s $alignr total: ${totalup eth1}



Enjoy the goodness that is conky!

Wednesday, May 29, 2013

My current Conky script

Because I love system monitors, I always go back to using Conky.

Here is my current Conky Script:


background yes
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 700
maximum_width 400
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
text_buffer_size 1024
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${font sans-serif:bold:size=8}SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime
File System: $alignr${fs_type}

${font sans-serif:bold:size=8}PROCESSORS ${hr 2}
${font sans-serif:normal:size=8}${cpugraph cpu1}
CPU1: ${cpu cpu1}% ${cpubar cpu1}

${font sans-serif:bold:size=8}MEMORY ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar

${font sans-serif:bold:size=8}DISKS ${hr 2}
${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar}

${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}
${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %

${font sans-serif:bold:size=8}NETWORK ${hr 2}
${font sans-serif:normal:size=8}IP address: $alignr ${addr eth1}
ESSID: $alignr ${wireless_essid eth1}
${downspeedgraph eth1}
DLS:${downspeed eth1} kb/s $alignr total: ${totaldown eth1}
${upspeedgraph eth1}
ULS:${upspeed eth1} kb/s $alignr total: ${totalup eth1}

And here is a screenshot:


Friday, October 7, 2011

Day Two with Peppermint Two

So far so good with Peppermint Two. I have installed and configured Conky as well as Gnumeric (it runs faster on the small CPU).

What's different about Conky?
Setting up Conky was very different as the hidden config file is not in your home folder, it is located in:
etc/conky/conky.conf

It took me a while to find it (I'm still a linux newb), but having catfish (a search program) installed helped a lot.

What I like about Peppermint Two:

  • The default theme is nice, however there are only 2 wallpapers installed.
  • It uses half the amount of RAM in idle mode that Ice did.
  • Galculator (Ice did not have a GUI calculator installed by default)
  • Character Map (I had to install a font viewer with Ice)
  • Leafpad has been replaced with Gedit
  • PCManFM 0.9.9 (you can now copy & paste files with spaces in the file names without getting an error message)
  • Dropbox, on Peppermint Ice I was unable to configure Dropbox. Click on the menu item and a window appears and tells you to download it from the website. Click on OK, the program downloads and seems to work well. I am very glad that it works now :) 
  • Avi files and mp3 files play well, although I do not like the default mp3 player. I installed Audacious instead (it's a personal preference).
Changing default apps:
right click on the file you want to play, left click on properties. Adjust the settings listed at open with and click ok. Then double click on the file and enjoy.


Till next time.

Thursday, October 6, 2011

Peppermint Linux: Take 2

Peppermint Ice is no more. One and Ice have been combined into Peppermint Two, (which has been out for a while) which I downloaded last night and installed on my Eeepc 704G before going to work today.

I now have a 1 megabit ADSL connection at home, so the 455 MB ISO was not difficult to download. Using UnetBootin and an old Transcend 2 GB flash drive I made an install disk.

Differences between ICE and Two:
I am really not sure yet, I have not used ICE for a while and it will take a while for me to compile this list, but this is on my To Do list!

First impressions:
Two installed quickly, after a bit of initial trouble where it could not decide what size the / partition and swap partition should be. At 1,5 GB for the swap partition there was insufficient disk space to install Peppermint Two. I changed the sizes and installation went quickly and smoothly.

Installed programs:
I have installed GNUmeric (a program that I have come to like as it is small, fast and so fat does everything I need it to).

I now want to relearn how to use Conky, get some new desktop wallpapers, and generally test drive what Peppermint Two can do.

It is my favourite Linux distribution as it is small (so it fits well on the 4GB hard drive of my eeepc) and is fast.

Friday, February 25, 2011

Conky


I love system monitors (I use Statbar in Windows XP) and I really enjoy looking at all the numbers and stuff go by.


Type sudo apt-get install conky in a terminal window and you will have conky installed. It is small, text based and works well without draining the resources on my eeepc.

Here is my .conkyrc script (it is a hidden file in the home folder)

background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.5
update_interval 2.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_color black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 170 5
maximum_width 195
draw_shades no
draw_outline yes
draw_borders no
draw_graph_borders yes
default_color green
default_shade_color white
default_outline_color black
alignment top_right
gap_x 5
gap_y 5
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
format_human_readable yes

TEXT

SYSTEM ${hr 2}
PC Name: ${alignr} ${nodename}
User Name: ${alignr} ${user_names}
CPU: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
${cpugraph F57900 FCAF3E}
CPU Frequency: ${alignr} $freq MHZ
CPU Temp: ${alignr} $acpitemp degrees
RAM: $memperc% ${alignr}${membar 8,60}
SWAP: $swapperc% ${alignr}${swapbar 8,60}
Uptime: ${alignr}${uptime}
Battery: ${alignr}$battery_short

PROCESSES ${hr 2}
Running Processes: $alignr $running_processes
Running Threads: $alignr $running_threads
$alignr PID CPU
${top name 1} $alignr ${top pid 1} ${top cpu 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3}
HDD ${hr 2}
Root: ${alignr}${fs_bar 8,60}
Partition Size: ${alignr}$fs_size
Free Space: ${alignr}$fs_free

NETWORK ${hr 2}
Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
Upload: ${alignr}${totalup eth0}
Download: ${alignr}${totaldown eth0}
Local Ip: ${alignr}${addr eth0}

This script is a mix of things I found from another person's conky file (a great coder borrows code, not steals it) and stuff that I added later. It is not perfect, more like a work in progress. The eeepc has a very small screen and it's not always possible to do what you want to with it.

Do you use conky? Or a similar / different program?