Mint Serena 64 bit using the Mate desktop environment. Most of the following scripts will run on this machine, although some have only been tested with the Gnome desktop. Extra software requirements can be met by the Ubuntu and safe PPA repositories. Scripts may be re-written or added to from time to time, the date serves as the version number. Syntax highlighting on these pages is provided by GVim's "Convert to HTML" option.

Conky - .conkyrc

Conky
Not bash script I know, but, a lot of people running a Linux distro will already know about the lightweight OSD system monitor Conky, I'm currently using version 1.8.0. which is available from the repositories. Here's my .conkyrc file.

Works well with a predominantly black or at least dark background or wallpaper ------ err - that's if it works at all on a different machine.

I use modified versions of the pogodynka weather script and Ubuntu logo, they're all at this link, just modify the .conkyrc script to point at the directories you use for pictures and scripts.

I think of conkyrc files more as a starting point to harvest some nifty configuration idea, as they rarely work straight off as a whole without tinkering; well, not if they're like mine :)

Loads more info on setting up Conky on the Ubuntu forums or at the Conky Hardcore site.




#!/bin/bash
# Filename: Conky_T
# Author: robz
# Vesion: 041110
# Boot start Conky by doing System > Preferences > Startup Applications
# and adding this: conky -p 10 -d -c ~/.conkyfiles/conkyrc
# the p switch is seconds to delay to allow window managers & compiz etc. to
# start, d is daemonize it to the background and c is where you keep your
# configuration file. The c switch is not nessesary if you use the default
# config file location in your home directory /home/<user>/.conkyrc, in

# which case just conky -d will do to start it.
# This is a nautilus-script to start/restart Conky if it fails for any reason.

if pidof conky > /dev/null; then
    killall conky && conky -d -c /home/<user>/.conkyfiles/conkyrc &
else conky -d -c /home/<user>/.conkyfiles/conkyrc &
fi
exit


Powered by ScribeFire.

No comments: