Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

Duall Monitor and Unity

Older versions of Ultimate Edition


Duall Monitor and Unity

Postby ronbrijo » Wed Aug 29, 2012 7:21 am

Hi all,

I run a duall monitor setup and use Gnome Classic desktop. I recently wanted to return to Unity. I logged in to unity and find that i cannot stretch my desktop over the two monitors like in Gnome Classic?

When I change the settings in Catylist Control Centre, the only setting that works is, mirror my desktop on both displays? Yet in Gnome I have a desktop area of 3840X1080.

Any ideas?

Thank you
System:
Mb - Asus M4A89GTD USB3
CPU - AMD Phenom II X6 1090T
RAM - 8gb Kingston Hyper X1600
Video - Sapphire Radeon HD6950
Display - Asus VE247 Primary & Samsung SA300 Secondary
HDD - Western Digital 1TB & Western Digital 500GB
OS - Win 7(1TB) & Ultimate 3.4(Default 500GB)
:-)
User avatar
ronbrijo
U.E. Newbie
U.E. Newbie
 
Posts: 21
Joined: Sun Jul 01, 2012 1:14 am
Location: Johannesburg, South Africa
Age: 54
Operating System: Other Linux



Re: Duall Monitor and Unity

Postby Bnjamin_Breeg » Wed Aug 29, 2012 8:33 am

ultimate-edition-multi-monitor_1.7.1-5_all.deb
(4.28 KiB) Downloaded 308 times
First you will need to install this script. Then open a terminal and type in multi-monitor -s then hit enter.. After successfully installing. Type in multi-monitor -b on and hit enter and all should be golden. You might need to add this one also. I know I did.
ultimate-edition-nas-tools_1.7.1-5_all.deb
(10.51 KiB) Downloaded 257 times
Main O/S: Ultimate Edition 3.5 with a custom Iron Maiden theme
Mainboard: Gigabyte MA785GM-US2H
CPU: AMD Phenom II X6 1055T
Ram:6Gb:Kingston DDR2
Video: ATI Radeon HD 4200
Hard Disk:2-250 gig WD Sata II
Writemaster DVD Burner,and a LG DVD Burner
32" Panasonic TV/monitor, SAMSUNG 2243BWX BLACK 22" LCD
Pioneer Amp and receiver with 110 watts per channel x4
User avatar
Bnjamin_Breeg
Site Admin
 
Posts: 59
Joined: Mon Mar 30, 2009 10:04 am
Location: B-town O-h? I-O!
Age: 55
Operating System: Ultimate Edition 3.5 64 BIT



Re: Duall Monitor and Unity

Postby ronbrijo » Wed Aug 29, 2012 10:28 pm

8-)

Thank you Bnjamin...

Works great!!!
System:
Mb - Asus M4A89GTD USB3
CPU - AMD Phenom II X6 1090T
RAM - 8gb Kingston Hyper X1600
Video - Sapphire Radeon HD6950
Display - Asus VE247 Primary & Samsung SA300 Secondary
HDD - Western Digital 1TB & Western Digital 500GB
OS - Win 7(1TB) & Ultimate 3.4(Default 500GB)
:-)
User avatar
ronbrijo
U.E. Newbie
U.E. Newbie
 
Posts: 21
Joined: Sun Jul 01, 2012 1:14 am
Location: Johannesburg, South Africa
Age: 54
Operating System: Other Linux



Re: Duall Monitor and Unity

Postby TheeMahn » Thu Aug 30, 2012 12:45 pm

Love to see software I wrote in use and working. Makes it all worth while. Thanks for testing it gentlemen.

I love that version # ;) will eventually bring all tools into a metapackage:
Code: Select all
TheeMahn@JackHammer:~$ repomaster


RepoMaster 1.7.1-5
==================

Usage: repomaster -<-COMMAND> [FOLDER|DEBNAME|DISTNAME|USERNAME@URL/DISTNAME]

   possible commands...      

   -v   --version      dump version info
   -e   --extract      extract debian archive
   -b   --build         builds deb(s)
   -r   --relax         relax permissions
   -c   --clean         removes folder(s)
   -f   --fixit         Attempts to fix error(s)
   -V   --verbose      Reports all errors verbosly and instructs how to fix them.
   -p   --prepare      Prepare good .debs/ for publishing.
   -P   --publish      Publishes them to address specified.
   -s   --service      Installs or removes repomaster as a service
   -h   --help         this help message

   Usage building deb;
   repomaster -b [FOLDERNAME]

   Specifying no folder name will build all folders in current directory.
   prompting first.  All error free debs are copied to a hidden folder
   called .debs/ in the current folder.  The .debs/ folder will be created
   for you.

   Usage Extraction;
   repomaster -e [DEBIANFILENAME]

   Specifying no deb file name will extract all debs in current directory.
   prompting first. 
   
   Usage Relaxsation;
   repomaster -r [FOLDERNAME]

   Will relax the permissions on a given folder allowing you to edit or
   delete files within the folder.  The proper permissions will automatically
   be reset when you goto build.  Not specifying a folder will reset permissions
   on all subfolders.  Please be careful where you execute this tool. It will
   display the folders to be effected and prompt you.

   Usage Clean;
   repomaster -c [FOLDER]

   Will erase specified folder ignoring permissions. Specifying no folder name will erase all
   subfolders in the curent folder. It will display the folders to be effected and prompt you.
   Please use with care.

   Usage Fix;
   repomaster -f [FOLDER]

   Will attempt to fix all errors in the specified folder to be lintian / debian complient.
   Specifying no folder name will process all folders with a [FOLDER].deb.errors.  This will
   take a long time to be fully implemented.

   Usage Verbose;
   repomaster -V [FOLDER]
   Specifying no folder name will build all folders in current directory.
   prompting first.  Verbosly displaying how to fix errors in given deb.
   All error free debs are copied to a hidden folder called .debs/ in
   the current folder.  The .debs/ folder will be created for you.

   Usage Prepare;
   repomaster -p <DISTNAME>
   Prepares known good .debs/ for publishing. Builds the directory structure in a folder
   called <DISTNAME>. Repomaster then GPG key signs the debs as well as the release key
   for distribution. This command switch also auto generates packages.gz for repository
   management. Knowledge of how a repository works is highly recommended when using
   this command switch.

   Usage Publish;
   repomaster -P <USERNAME@URL/DISTNAME>

   Will scan good debs from .debs/ folder automatically creating structure for repository
   management and rsync the files to address ie repomaster -P USER@http://themelinux.com/themes/ themes
   it will prompt for the password for your server.

   Usage Service;
   repomaster -S ADD

   Installs or removes based on second option to set repomaster as a service.
   This feature is currently not implemented, however when complete will install repomaster
   as a service. Once set as a service repomaster will monitor  any package being installed
   and scan for errors and warnings optionally fixing them via end users discretion.
   This powerful feature will allow the end user to make the decision if or not errors and warnings
   enter their system prior to the package even being installed.
   Similar to what anti-virus software does.

   Usage Scan;
   repomaster -s

   Version scans all debs to be processed. This should be the first step you take when
   dealing with large amounts of debs. When processing a single deb this switch is useless.
   There is no sense in building 2 seperate versions of debs. On the large scale this is
   not a required , but recommended base of first action.

   Useage Help;
   repomaster -h

   Displays this message. For futher information please refer to the manpages. 

   man repomaster
   

Example: repomaster -b ultamatix-1.9.1_all
Will build ultamatix-1.9.1_all.deb

GNU repomaster home page: <http://www.ultimateedition.info/>.
E-mail bug reports to: <[email protected]>.
Be sure to include the word repomaster somewhere in the Subject: field.
TheeMahn@JackHammer:~$


What is your resolution with dual monitors? Why I ask:
Code: Select all
TheeMahn@JackHammer:~$ ./conky-builder.sh
Ultimate Edition Conky builder version 1.14
Please report errors / issues to TheeMahn <[email protected]>
=========================================================================
Codebase detected: precise
Kubuntu base: detected - odd number release
Distro detected: Ultimate Edition 3.5
Detected current resolution: 3840x1200
Dual monitors detected. Taking advantage of extra screen resources.
Setting Font size to 16 and graph width to 520


Pretty heavy hardware BTW. I see you did post it: 3840X1080, conky builder just got re-wrote because of you ;)
Code: Select all
3840x1200)
   AHW=75
   AARTY=101
   GRAPHWIDTH=640
   FONTSIZE=16
   echo "Dual monitors detected. Taking advantage of extra screen resources."
   echo "Setting Font size to 16 and graph width to 520" ;;
3840x1080)
   AHW=75
   AARTY=101
   GRAPHWIDTH=640
   FONTSIZE=16
   echo "Dual monitors detected. Taking advantage of extra screen resources."
   echo "Setting Font size to 16 and graph width to 520" ;;
1920x1200)


Ppl typically get a woody when they see my system sporting compiz on dual monitors. Those that do not run nix, ask can you make my computer do that? Do not feel bad about having windows. I have windows installed on my computer. I was recently plauged by a black screen of death. Yes, Linux does have one. Immenent hardware failure. Was going to use windows to flash my BIOS, completely unecessary clogged fan on my vid card. Goliath cleaned it and fixed it while I was at work. I have a aftermarket GPU cooler, he unseated it cleaned it and applied artic silver. Amazing how computer savvy that man is now. A guy that did not want anything to do with computers a year or so back. I do want to put it out there he has the most tempermental mainboard I have ever seen. When it works do not touch it. He is most likely going to send it back, 0 reviews on newegg when he bought it. Perhaps now revised.

I am currently living with him in his mancave, the ol lady is now on 2nd unable to take me to work, was once again in my best intrest to move in with him. He is my Landlord now. Yes, I pay him rent ;) He is getting the big bonus education. I have been teaching him programming. Look for work from him in the future.
Home of Ultimate Edition. Got a question? Please review the F.A.Q. Browse the How to section.

Main O/S: Builder of O/S Guess.
Mainboard: ASUS Hero VI (AM4)
CPU: AMD 1700X water cooled (Deepcool Captain Genome Cooling tower)
Ram: 16 GB GSkill Trident RGB Series Dual Channel DDR4 3200
Video: MSI RX470 8GB Gaming card.
Hard Disks: MASSIVE on the network.(10 Gigabit, 48 port, multiple servers)
Monitors: Dual 4K 43" LG, 4K Samsung 28"
750 Watt modular PSU (Rosswell)
1100 Watt Amp & 4 X 600 Watt speakers

Servers in the basement.
User avatar
TheeMahn
Site Admin
 
Posts: 4201
Joined: Fri Oct 12, 2007 10:02 am
Location: U.S.A.
Age: 53
Operating System: Ultimate Edition Developer



Re: Duall Monitor and Unity

Postby ronbrijo » Thu Aug 30, 2012 3:16 pm

Hi TheeMahn,

Gotta say thanx... Really awesome distro, Getting more and more of my friends to join...Also thanx for all the little scripts and fixes... <BREW>

:mrgreen: Yes I am green with envy!!! But at the same time grateful.

Oh, thanx. I love the hardware side of PC's more than the software side and would rather build a pc than code. Windows for me is a necessity for gaming... Just as much as i'd love to give it the boot, I still need it. I did not know that the black screen of death meant that? Cool another new thing about Linux. I recently also experienced it. I needed to fit a new HDD on the weekend, and stripped my PC to find a cable was obstructing the fan on my graphics card... :vil2_malade2 A near-miss... Phew...

As Im typing this I am also mailing a buddy the link... Yes he too has a dual monitor with Ultimate....

Anyways... Keep up the good work!!
System:
Mb - Asus M4A89GTD USB3
CPU - AMD Phenom II X6 1090T
RAM - 8gb Kingston Hyper X1600
Video - Sapphire Radeon HD6950
Display - Asus VE247 Primary & Samsung SA300 Secondary
HDD - Western Digital 1TB & Western Digital 500GB
OS - Win 7(1TB) & Ultimate 3.4(Default 500GB)
:-)
User avatar
ronbrijo
U.E. Newbie
U.E. Newbie
 
Posts: 21
Joined: Sun Jul 01, 2012 1:14 am
Location: Johannesburg, South Africa
Age: 54
Operating System: Other Linux



Re: Duall Monitor and Unity

Postby TheeMahn » Sat Sep 08, 2012 3:57 am

Lets drop you some code to try a complete re-write of hard disk detection among other things:
theemahn@JackHammer:~$ ./conky-builder.sh
Ultimate Edition Conky builder version 1.14
Please report errors / issues to TheeMahn <[email protected]>
=========================================================================
Codebase detected: precise
Kubuntu base: detected - odd number release
Distro detected: Ultimate Edition 3.5
Detected current resolution: 3840x1200
Dual monitors detected. Taking advantage of extra screen resources.
Setting Font size to 16 and graph width to 520
Detected Processor: AMD Phenom(TheeMahn) II X6 1055T Processor
64 Bit O/S detected.
6 Cpu core(s) Detected.
Update interval: 2
MemTotal: 16434440 kB
Network interfaces detected:
============================
eth0
lo
============================
Scanning for active...
Interface eth0: up
Active Network: eth0
Interface lo: unknown
Active Monitoring Connection: eth0
============================
Radio Tray Running: Yes
Artist - Song: Icehouse - Electric Blue
CPU Temp detected as: 100.4°F
GPU Temp detected as: 135.5°F
MB Temp detected as: 93.2°F
=====================================
Internal / External storage detected:
=====================================
Hard Drive / USB / Partition: /dev/sda1 set as 3TB_Backup. Will set temp readings if acculabel.
Hard Drive / USB / Partition: /dev/sdb1 set as Root. Will set temp readings if acculabel.
Hard Drive / USB / Partition: /dev/sdc1 set as Speed. Will set temp readings if acculabel.
Hard Drive / USB / Partition: /dev/sdd set as Storage. Will set temp readings if acculabel.
Hard Drive / USB / Partition: /dev/sde1 set as Tuneage. Will set temp readings if acculabel.
Hard Drive / USB / Partition: /dev/sdf1 set as SSDRocket. Will set temp readings if acculabel.
Hard Drive / USB / Partition: /dev/sdg1 set as FlexUP. Will set temp readings if acculabel.
theemahn@JackHammer:~$ nasup -s
Nasup 1.7.1-5
=============
GNU nasup home page: <http://www.ultimateedition.info/>.
E-mail bug reports to: <[email protected]>.
Be sure to include the word nasup somewhere in the Subject: field.

Scanning for Goflex IP..
========================
1 NAS Drive(s) detected.
========================
Host exists at 192.168.0.101, attempting mount.
/media/NAS/ exists.
Mounting NAS from 192.168.0.101 to /media/NAS/
Username: theemahn
Password:
[sudo] password for theemahn:

theemahn@JackHammer:~$ ./conky-builder.sh
Ultimate Edition Conky builder version 1.14
Please report errors / issues to TheeMahn <[email protected]>
=========================================================================
Codebase detected: precise
Kubuntu base: detected - odd number release
Distro detected: Ultimate Edition 3.5
Detected current resolution: 3840x1200
Dual monitors detected. Taking advantage of extra screen resources.
Setting Font size to 16 and graph width to 520
Detected Processor: AMD Phenom(TheeMahn) II X6 1055T Processor
64 Bit O/S detected.
6 Cpu core(s) Detected.
Update interval: 2
MemTotal: 16434440 kB
Network interfaces detected:
============================
eth0
lo
============================
Scanning for active...
Interface eth0: up
Active Network: eth0
Interface lo: unknown
Active Monitoring Connection: eth0
============================
Radio Tray Running: Yes
Artist - Song: Poison - Nothin' But A Good Time
CPU Temp detected as: 100.4°F
GPU Temp detected as: 135.5°F
MB Temp detected as: 93.2°F
=====================================
Internal / External storage detected:
=====================================
Hard Drive / USB / Partition: /dev/sda1 set as 3TB_Backup. Will set temp readings if acculabel.
Hard Drive / USB / Partition: /dev/sdb1 set as Root. Will set temp readings if acculabel.
Hard Drive / USB / Partition: /dev/sdc1 set as Speed. Will set temp readings if acculabel.
Hard Drive / USB / Partition: /dev/sdd set as Storage. Will set temp readings if acculabel.
Hard Drive / USB / Partition: /dev/sde1 set as Tuneage. Will set temp readings if acculabel.
Hard Drive / USB / Partition: /dev/sdf1 set as SSDRocket. Will set temp readings if acculabel.
Hard Drive / USB / Partition: /dev/sdg1 set as FlexUP. Will set temp readings if acculabel.
NAS Detected: /media/NAS set as NAS.
theemahn@JackHammer:~$

conky.png

See code for changelog:
Code: Select all
#!/bin/bash
VERSION='1.14'
#title          :conky-builder.sh
#description    :Builds a conky skelaton based on hardware detected.
#author         :TheeMahn <[email protected]>
#date           :20120908
#version        :1.14   
#usage          :./conky-builder.sh
#notes          :See changelog below for futher information.       
#bash_version   :4.2.8(1)-release
#============================================================================
# Changelog:
# 1.0 - initial public release
# 1.1 - internal release
# 1.2 - internal release
# 1.3 - internal release
# 1.4 - Added distro detection, added resolution detection to set fonts and sizes.
# 1.05- Added version compliance for deb based releases
#       Added better networking detection / wireless support.
#       Added memory output to compare against pae based kernels.
#       Added 800 X 600 support, how did I miss this res?
#       Added initial support for Ultimate Player (dynamically)
#       Added support for all network interface detection / Active.
#   Never have I seen this implementation, I try to think outside of
#   the box please report issues.
#       Added support for Ultimate Edition 2.6.4 and 3.1 detection
#       Added dynamic Wireless support.
#   Added CPU Temp / Fan speeds also dynamic.
# 1.06- Added Radio tray to the mix
#   Initiated the anti-cron job mode of thinking, execi can be executed
#   w/o the need for a cron job.  Let's base this on the end users CPU.
#   Added no inet means do not propigate - includes wireless.
#   The same across the board when I am done and hopefully will not
#   require a cron job.
# 1.07   Initiated realtime information, across issues I have set forth.
#   Set CPU Temp to display info realtime based on end users processor. A
#   single core cpu will not be updated as fast as a quad for example
#   please see timeslices in my code.
#   Set fan speed accordingly as above.
# 1.08   Split the conky builder for Ultimate Player info
#   May integrate the info as a funtion later.
#   Added progress bar for current playing track.
#   All info for Ultimate Player is now realtime.
# 1.09   First inital deb

# 1.10   Internal release for Ultimate Edition 3.01

#   Fixed improper spacing when closing Ultimate Player.

# 1.11  Fixed improper cpu detection on some Intel based processors.
#
#      Began writing weather location / detection via users IP address."
#   the above will be a faily difficult procedure... A querry to a API driven
#      Geo-positioning map to obtain location based on zip code, once obtained
#      a querry to another API   driven site noaa.gov.  Will require no user
#      interaction.

# 1.12   Added support for 12.04 precise (Ultimate Edition 3.4 & 3.5) based releases.

# 1.13   Corrected colors to be only 1 color for now, easier reading on most wallpapers.
#   Will eventually write it to detect theme and set colors appropriately.

# 1.14   Added GPU and Mainboard temp detection routines.
#   Added initial dual monitor detection / setup routine.
#   Added ppp0 network detection to the mix, thanks Seedo Eldho Paul
#   Added Harddisk tempreture detection, this was a rough one to sift
#   though so much information to obtain and match with the drives.

UPSCRIPT='~.config/Ultimate-Player/UP.sh'
echo "Ultimate Edition Conky builder version "$VERSION
echo "Please report errors / issues to TheeMahn <[email protected]>"
echo "========================================================================="
OS='Ultimate Edition'

#Detect codebase
CODEBASE=`cat /etc/lsb-release | grep 'DISTRIB_CODENAME=' | sed 's/DISTRIB_CODENAME=//g'`

echo "Codebase detected: "$CODEBASE

# detect if release is odd or even.
EVENODD=`dpkg -l | grep kubuntu-desktop`

   if [[ $EVENODD != "" ]]; then
  echo "Kubuntu base: detected - odd number release"
   else
  echo "Kubuntu base not detected - even number release"
   fi


echo -n "Distro detected: "
case "$CODEBASE" in
precise)
   if [[ $EVENODD != "" ]]; then
  OS=$OS" 3.5"
   else
  OS=$OS" 3.4"
   fi
   echo $OS ;;
oneiric)
   if [[ $EVENODD != "" ]]; then
  OS=$OS" 3.3"
   else
  OS=$OS" 3.2"
   fi
   echo $OS ;;
natty)
   if [[ $EVENODD != "" ]]; then
  OS=$OS" 3.1"
   else
  OS=$OS" 3.01"
   fi
   echo $OS ;;
maverick)
   if [[ $EVENODD != "" ]]; then
  OS=$OS" 2.9"
   else
  OS=$OS" 2.8"
   fi
   echo $OS ;;
lucid)
   if [[ $EVENODD != "" ]]; then
  OS=$OS" 2.7"
   else
  OS=$OS" 2.6.6"
   fi
   echo $OS ;;

*)  echo "Unknown O/S using $CODEBASE"
esac


# Attempt to advance the script.  No sense having the user edit this script if we can obtain the information.

res=`xrandr -q | grep 'current' | cut -d"," -f2 | sed 's/current//g' | sed 's/ //g'`

# set default in case user has an unknown resolution.
GRAPHWIDTH=320 #size of box in pixels
FONTSIZE=12

echo "Detected current resolution:" $res

case "$res" in
3840x1200)
   AHW=75
   AARTY=101
   GRAPHWIDTH=640
   FONTSIZE=16
   echo "Dual monitors detected. Taking advantage of extra screen resources."
   echo "Setting Font size to 16 and graph width to 520" ;;
3840x1080)
   AHW=75
   AARTY=101
   GRAPHWIDTH=640
   FONTSIZE=16
   echo "Dual monitors detected. Taking advantage of extra screen resources."
   echo "Setting Font size to 16 and graph width to 520" ;;
1920x1200)
   AHW=75
   AARTY=101
   GRAPHWIDTH=400
   FONTSIZE=14
   echo "Setting Font size to 14 and graph width to 480" ;;
1920X1080)
   AHW=75
   AARTY=101
   GRAPHWIDTH=400
   FONTSIZE=14
   echo "Setting Font size to 14 and graph width to 480" ;;
1680x1050)
   AHW=75
   AARTY=101
   GRAPHWIDTH=400
   FONTSIZE=14
   echo "Setting Font size to 14 and graph width to 480" ;;
1440x900)
   GRAPHWIDTH=310
   FONTSIZE=12
   echo "Setting Font size to 12 and graph width to 310" ;;
1400x1050)
   AHW=75
   AARTY=102
   GRAPHWIDTH=310
   FONTSIZE=14
   echo "Setting Font size to 12 and graph width to 280" ;;
1280x1024)
   AHW=75
   AARTY=104
   GRAPHWIDTH=310
   FONTSIZE=13
   echo "Setting Font size to 13 and graph width to 310" ;;
1280x960)
   GRAPHWIDTH=300
   FONTSIZE=12
   echo "Setting Font size to 12 and graph width to 300" ;;
1152x864)
   GRAPHWIDTH=240
   FONTSIZE=9
   echo "Setting Font size to 9 and graph width to 240" ;;
1024x768)
   AARTY=81
   AHW=65
   GRAPHWIDTH=240
   FONTSIZE=9
   echo "Setting Font size to 9 and graph width to 240" ;;
800x600)
   GRAPHWIDTH=220
   FONTSIZE=8
   echo "Setting Font size to 8 and graph width to 220" ;;
832x624)
   GRAPHWIDTH=220
   FONTSIZE=8
   echo "Setting Font size to 8 and graph width to 220" ;;
720x400)
   GRAPHWIDTH=180
   FONTSIZE=6
   echo "Setting Font size to 6 and graph width to 180" ;;
640x480)
   GRAPHWIDTH=180
   FONTSIZE=6
   echo "Setting Font size to 6 and graph width to 180" ;;
*)
   GRAPHWIDTH=320
   FONTSIZE=12
   echo "Resolution unprogramed defaulting, please report detected resolution above to <[email protected]>" ;;
esac

#set Base, hilight color & header please adjust colors in hex and font to your liking
BASE='${color #00ff00}${font Liberation:style=normal:pixelsize='$FONTSIZE'}'
HILIGHT='${color #00ff00}${font Liberation:style=normal:pixelsize='$FONTSIZE'}'
HEADER='${color #00ff00}${font Liberation:style=Bold:pixelsize='$FONTSIZE'}'
BAR='${color #00ff00}'

############### You Should not have to edit anything below #############

#Calculate v offset based on Fonts / pixelsize
VOFF=$((FONTSIZE+6))
ALEFT=$((FONTSIZE/4))
INDENT=$((FONTSIZE/2))
BARZ=$((GRAPHWIDTH/2))
BOFFSET=$((FONTSIZE/3))
TICON=$((FONTSIZE/5))
BPER=$((GRAPHWIDTH/100*75))
SBAR=$((GRAPHWIDTH/100*20))
LOGO=$((FONTSIZE*4))
BPER=`expr $BPER - 10`
AARTX=`expr $GRAPHWIDTH - $AHW`

#Get CPU model
PROC=`cat /proc/cpuinfo | grep 'model name' | sed -e 's/.*: //' | uniq`
echo "Detected Processor:" $PROC

#check Architecture set 32 bit default
ARCHITECTURE='32 Bit'

#
# Check for x86_64 (Test 1) - some O/S's use the -i switch
#
if [ "`uname -i|grep x86_64`" == "x86_64" ]; then
   ARCHITECTURE='64 Bit'
fi

#
# Check for x86_64 (Test 2) - some OSs (ie. Gentoo) return Processor manufacturer
#rather than architecture with "uname -i"
#
if [ "`uname -a|grep x86_64`" != "" ]; then
   ARCHITECTURE='64 Bit'
fi


echo $ARCHITECTURE 'O/S detected.'

#Count number of processor cores
CORES=1
CORES=`cat /proc/cpuinfo | grep "processor" | sed '/model/d' | wc -l`
#Lets's not choke the end users cpu if they have limited resources.
TIMESLICES=`expr 12 / $CORES`
echo $CORES "Cpu core(s) Detected."
echo 'Update interval: '$TIMESLICES
cat /proc/meminfo | grep 'MemTotal'
#Advance network detection to perfection scan all interfaces:
ls /sys/class/net/ > /tmp/ifaces.txt
if test -f /tmp/ifaces.txt
then
echo 'Network interfaces detected:'
echo '============================'
cat /tmp/ifaces.txt
echo '============================'
echo 'Scanning for active...'
cat /tmp/ifaces.txt | while read FILE
do
  target=$(echo "$FILE" | sed -e "s/ /_/")
  echo -n "Interface $FILE: "
  ACT=$(cat /sys/class/net/$FILE/operstate)
  echo $ACT
  if [[ $ACT == 'up' ]]; then
   ACTIVE=$FILE
   echo $FILE > /tmp/tmpo.txt
   echo 'Active Network: '$ACTIVE
  fi
done
#Current Seedo work...  If the folder exists most likely it is the
#active connection set it as such.  Point to Point Protocol evidently
#does not do states. up / down etc.
if [[ -d "/sys/class/net/ppp0/" && $ACTIVE == "" ]]; then
ACTIVE="ppp0"
fi
else
echo 'No Active network.'
fi
if test -f /tmp/tmpo.txt
then
ACTIVE=$(cat /tmp/tmpo.txt)
else
ACTIVE='No Inet'
fi
echo -n 'Active Monitoring Connection: '
echo $ACTIVE
echo '============================'
if test -f /tmp/tmpo.txt
then
WIRELESS=$(cat /tmp/tmpo.txt|grep 'wlan')
fi
if [[ $WIRELESS != '' ]]
then
wlan='up'
fi

#Clean up.
if test -f /tmp/ifaces.txt
then
rm /tmp/ifaces.txt
fi
if test -f /tmp/tmpo.txt
then
rm /tmp/tmpo.txt
fi
#Detect "Active" network and propigate Network Xfer bar
#ACTIVE=`ifconfig | grep -B 1 inet | head -1 | awk '{print $1}'`
#Wireless?
#wlan=$(cat /sys/class/net/wlan0/operstate)
#enet=$(cat /sys/class/net/eth0/operstate)

#Hardline?
#if [[ $enet == 'up' ]]; then
#$ACTIVE='eth0'
#fi

#Wireless
#if [[ $wlan == 'up' ]]; then
#ACTIVE='wlan0'
#fi

#Create conky skelaton
echo '#Use XFT?
use_xft yes
xftfont Liberation:style=normal:pixelsize='$FONTSIZE'
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area -adjust if you would like to user smaller fonts etc.
minimum_size '$GRAPHWIDTH' 0
maximum_width '$GRAPHWIDTH'
max_specials 1024
max_user_text 16384
default_bar_size '$BPER' 5

# Draw shades?
draw_shades no
default_color 00ff00 #000000
# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border width
border_width 1

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 15
gap_y 45

#Default weather to fahrenheit, please change the below if you prefer celcius.
temperature_unit fahrenheit

# -- Lua Load -- #
lua_load ~/.draw_bg.lua
lua_draw_hook_pre draw_bg

' > ~/.conkyrc

echo 'TEXT
${goto '$INDENT'}${image /usr/share/ultimate_edition/logo.png -p '$BARZ','$LOGO' -s 32x32}'$HEADER'SYSTEM ${hr 2 }
'$HILIGHT'${alignr}'$OS' - ${alignr}$kernel '$ARCHITECTURE'
'$HILIGHT'${alignr}'$USER'@$nodename
${goto '$INDENT'}${voffset '$TICON'}${font StyleBats:pixelsize='$FONTSIZE'}k${font}${voffset -'$ALEFT'}${goto '$VOFF'}${font}Processes: ${alignr}'$HILIGHT'$processes ($running_processes running)
${goto '$INDENT'}${voffset '$TICON'}${font StyleBats:pixelsize='$FONTSIZE'}q${font}${voffset -'$ALEFT'}${goto '$VOFF'}${font}Uptime: '$HILIGHT'${alignr}${uptime}' >> ~/.conkyrc
#Jamming?
echo '${if_running ultimate-player}'$HEADER'ULTIMATE PLAYER ${hr 2 }' >> ~/.conkyrc
echo '${voffset 2}${font Poky:pixelsize='$FONTSIZE'}k${font}${goto '$VOFF'}${voffset -'$ALEFT'}${font}Artist: '$HILIGHT'${execi '$TIMESLICES' .config/Ultimate-Player/UP.sh artist}' >> ~/.conkyrc
echo '${font}${voffset 2}${font Poky:pixelsize='$FONTSIZE'}k${font}${goto '$VOFF'}${voffset -'$ALEFT'}${font}Title: '$HILIGHT'${execi '$TIMESLICES' .config/Ultimate-Player/UP.sh title}' >> ~/.conkyrc
echo '${font}${voffset 2}${font Poky:pixelsize='$FONTSIZE'}k${font}${goto '$VOFF'}${voffset -'$ALEFT'}${font}Album: '$HILIGHT'${execi '$TIMESLICES' .config/Ultimate-Player/UP.sh album}' >> ~/.conkyrc
#echo '${if_running ultimate-player}'
echo '${execibar '$TIMESLICES' .config/Ultimate-Player/UP.sh progress}${else}${endif}' >> ~/.conkyrc
#echo '${if_running ultimate-player}${goto 7}${execi$ '$TIMESLICES' .config/Ultimate-Player/UP.sh art}

#echo -n '${image ${execi '$TIMESLICES' .config/Ultimate-Player/UP.sh art} -p '$AARTX','$AARTY' -s '$AHW'x'$AHW}'${else}${endif}' >> ~/.conkyrc
JCHK=''
JCHK=`qdbus | grep 'net.sourceforge.radiotray'`
if [[ $JCHK != '' ]]
then
RPLAYER=`qdbus net.sourceforge.radiotray /net/sourceforge/radiotray getCurrentMetaData`
STATION=`qdbus net.sourceforge.radiotray /net/sourceforge/radiotray net.sourceforge.radiotray.getCurrentRadio`
fi
if [[ $RPLAYER == '' || $STATION == '' ]]; then
echo '${if_running radiotray}'$HEADER'RADIO TRAY ${hr 2 }' >> ~/.conkyrc
echo '${voffset 2}${font Poky:pixelsize='$FONTSIZE'}k${goto '$VOFF'}${voffset -'$ALEFT'}${font}Playing: '$HILIGHT '${execi '$TIMESLICES' .config/Ultimate-Player/UP.sh rplay}' >> ~/.conkyrc
echo '${font StyleBats:pixelsize='$FONTSIZE'}q${font}${voffset -'$ALEFT'}${goto '$VOFF'}${voffset -'$ALEFT'}${font}Station: '$HILIGHT '${execi '$TIMESLICES' .config/Ultimate-Player/UP.sh rstation}${else}${voffset -23}${endif}' >> ~/.conkyrc
else
echo 'Radio Tray Running: Yes'
echo 'Artist - Song: '$RPLAYER
echo '${if_running radiotray}'$HEADER'RADIO TRAY ${hr 2 }' >> ~/.conkyrc
echo '${voffset 2}${font Poky:pixelsize='$FONTSIZE'}k${goto '$VOFF'}${voffset -'$ALEFT'}${font}Playing: '$HILIGHT '${execi '$TIMESLICES' .config/Ultimate-Player/UP.sh rplay}' >> ~/.conkyrc
echo '${font StyleBats:pixelsize='$FONTSIZE'}q${voffset -'$ALEFT'}${goto '$VOFF'}${voffset -'$ALEFT'}${font}Station: '$HILIGHT '${execi '$TIMESLICES' .config/Ultimate-Player/UP.sh rstation}${else}${voffset -23}${endif}' >> ~/.conkyrc
fi


#Core(s) info
echo $HEADER'CPU${hr 1 }${font}
${goto '$INDENT'}${voffset '$TICON'}${font Stylebats:pixelsize='$FONTSIZE'}A${font}${voffset -'$ALEFT'}${goto '$VOFF'}${font}${goto '$VOFF'}'$PROC'
${goto '$INDENT'}${font StyleBats:pixelsize='$FONTSIZE'}A${voffset -'$ALEFT'}${goto '$VOFF'}${font}CPU Usage: '$HILIGHT' ${freq}MHz X '$CORES'${alignr}${cpu cpu0}% '$BAR' ${cpubar cpu0 '$INDENT','$SBAR'}' >> ~/.conkyrc
CPUTEMP=$(sensors -f|grep "CPU Temperature"|cut -d: -f2|sed "s/ //g"|sed "s/+//g" | cut -d"(" -f1)
GPUTEMP=$(sensors -f|grep -m 1 "temp1" | cut -d: -f2| sed "s/ //g" | sed "s/+//g")
MBTEMP=$(sensors -f|grep -m 1 "MB Temp" | cut -d: -f2| sed "s/ //g" | sed "s/+//g" | cut -d"(" -f1)
if [[ $CPUTEMP != '' ]]
then
echo -n '${goto '$INDENT'}${font StyleBats:pixelsize='$FONTSIZE'}A${voffset -'$ALEFT'}${goto '$VOFF'}${font}CPU Temp: '$HILIGHT >> ~/.conkyrc
echo -n '${execi '$TIMESLICES' sensors -f|grep "CPU Temperature"|cut -d: -f2|sed "s/ //g"|sed "s/+//g" | cut -d"(" -f1}' >> ~/.conkyrc

#echo -n '${goto '$INDENT'}${font StyleBats:pixelsize='$FONTSIZE'}A${voffset -'$ALEFT'}${goto '$VOFF'}${font}CPU Fan Speed: '$HILIGHT >> ~/.conkyrc
#echo '${execi '$TIMESLICES' sensors -f |grep "CPU Fan Speed" |awk '{print $4}'RPM' >> ~/.conkyrc
echo -n '${font}${alignr}Fan Speed: '$HILIGHT >> ~/.conkyrc
echo '${execi '$TIMESLICES' sensors -f|grep "CPU Fan Speed"|cut -d: -f2|sed "s/ //g"|sed "s/+//g" | cut -d"(" -f1}' >> ~/.conkyrc
#echo '${execi '$TIMESLICES' sensors -f |grep "CPU Fan Speed" |awk "'"{print '$4'}"'"RPM' >> ~/.conkyrc
echo 'CPU Temp detected as: '$CPUTEMP
else
echo 'CPU Temp not detected / reported.'
fi
#GPU TEMP?
if [[ $GPUTEMP != '' ]]
then
echo -n '${goto '$INDENT'}${font StyleBats:pixelsize='$FONTSIZE'}A${voffset -'$ALEFT'}${goto '$VOFF'}${font}GPU Temp: '$HILIGHT >> ~/.conkyrc
echo -n '${execi '$TIMESLICES' sensors -f|grep -m 1 "temp1" | cut -d: -f2| sed "s/ //g" | sed "s/+//g"}' >> ~/.conkyrc
echo 'GPU Temp detected as: '$GPUTEMP
else
echo 'GPU Temp not detected / reported.'
fi
#Mainboard Temp?
if [[ $MBTEMP != '' ]]
then
echo -n '${font}${alignr}MB Temp: '$HILIGHT >> ~/.conkyrc
echo '${execi '$TIMESLICES' sensors -f|grep -m 1 "MB Temp" | cut -d: -f2| sed "s/ //g" | sed "s/+//g" | cut -d"(" -f1}' >> ~/.conkyrc
echo 'MB Temp detected as: '$MBTEMP
else
echo 'MB Temp not detected / reported.'
fi
#Create a cpubar for each core
COUNTER=0
while [  $COUNTER != $CORES ]; do
  let COUNTER=COUNTER+1
  echo '${goto '$INDENT'}${voffset '$TICON'}${font StyleBats:pixelsize='$FONTSIZE'}A${font}${voffset -'$ALEFT'}${goto '$VOFF'}${font}Core '$COUNTER':' $HILIGHT'${cpu cpu'$COUNTER'}% '$BAR'${alignr}${cpubar cpu'$COUNTER' '$INDENT','$BPER'}${font}' >> ~/.conkyrc
done

#Output disk I/O bar top processes memory useage etc.
echo $HILIGHT'${goto '$INDENT'}${voffset '$TICON'}${font Stylebats:pixelsize='$FONTSIZE'}g${font}${voffset -'$ALEFT'}${goto '$VOFF'}'$HEADER'${goto '$VOFF'}RAM${hr 1 }'$BASE'
'$BASE'${voffset 2}${font VariShapes Solid:pixelsize='$FONTSIZE'}N'$BASE'Useage: '$HILIGHT'$mem / $memmax ${alignr}'$HILIGHT'$memperc% '$BAR'${membar '$INDENT','$SBAR'}'$BASE'
'$BASE'${goto '$INDENT'}${voffset '$TICON'}${font Stylebats:pixelsize='$FONTSIZE'}j${font}${voffset -'$ALEFT'}${goto '$VOFF'}'$BASE'Swap: '$HILIGHT'$swap/$swapmax${alignr}$swapperc% '$BAR'${swapbar '$INDENT','$SBAR'}
'$BASE'${goto '$INDENT'}${voffset '$TICON'}${font Poky:pixelsize='$FONTSIZE'}a${font}${voffset -'$ALEFT'}${goto '$VOFF'}'$BASE'${goto '$VOFF'}Highest: ${alignr}CPU     RAM
${goto '$VOFF'}${voffset -5.5}${hr 1}
'$HILIGHT'${voffset -1}${goto '$VOFF'}${top name 1}${alignr}${top cpu 1}  ${top mem 1}
${goto '$VOFF'}${top name 2}${alignr}${top cpu 2}  ${top mem 2}
${goto '$VOFF'}${top name 3}${alignr}${top cpu 3}  ${top mem 3}
${goto '$VOFF'}${top name 4}${alignr}${top cpu 4}  ${top mem 4}
'$HILIGHT'${goto '$INDENT'}${voffset '$TICON'}${font Poky:pixelsize='$FONTSIZE'}H${font}${voffset -'$ALEFT'}${goto '$VOFF'}'$HEADER'${goto '$VOFF'}FILESYSTEM${hr 1 }'$BASE'
'$BASE'${goto '$INDENT'}${voffset '$TICON'}${font Poky:pixelsize='$FONTSIZE'}Y${font}${voffset -'$ALEFT'}${goto '$VOFF'}'$BASE'Disk I/O: '$HILIGHT'${diskio}${alignr}'$BAR'${diskiograph 20,'$BARZ'}
'>> ~/.conkyrc

#Detect hard disks & create a bar for each mount point provide info to end user
#Step one mount points
echo "====================================="
echo "Internal / External storage detected:"
echo "====================================="



awk '/dev\/sd/ {print $1}' /etc/mtab | sort | while read line ; do
MOUNTPOINT=$(df $line | awk '{print $6}' | sed '1d')
STRIPPED=$(echo $MOUNTPOINT | sed 's/\/media\///g')
if [ $STRIPPED = "/" ]; then
STRIPPED="Root"
fi
echo "Hard Drive / USB / Partition: $line set as $STRIPPED. Will set temp readings if acculabel."
HDDTMP=$(echo $line | sed 's/[0-9]*//g')
#if [ `nc localhost 7634 | grep '$HDDTMP'` ]; then
#echo $BASE'${goto '$INDENT'}${voffset '$TICON'}${font Poky:pixelsize='$FONTSIZE'}H${font}${voffset -'$ALEFT'}${goto '$VOFF'}'$BASE$STRIPPED' ('$line'): '$HILIGHT'${fs_free '$MOUNTPOINT'} / ${fs_size '$MOUNTPOINT'}${alignr} | ${hddtemp '$HDDTMP'}°F | ${fs_used_perc '$MOUNTPOINT'}% '$BAR'${fs_bar '$INDENT','$SBAR' '$MOUNTPOINT'}'$BASE >> ~/.conkyrc
#else
#echo "No temp settings for this drive"
echo $BASE'${goto '$INDENT'}${voffset '$TICON'}${font Poky:pixelsize='$FONTSIZE'}H${font}${voffset -'$ALEFT'}${goto '$VOFF'}'$BASE$STRIPPED' ('$line'): '$HILIGHT'${fs_free '$MOUNTPOINT'} / ${fs_size '$MOUNTPOINT'}${alignr} | ${hddtemp '$HDDTMP'}°F | ${fs_used_perc '$MOUNTPOINT'}% '$BAR'${fs_bar '$INDENT','$SBAR' '$MOUNTPOINT'}'$BASE >> ~/.conkyrc
#fi
done;

#Step 2 Devices -reapproach this step later code above is reusable

#Step 3 Burners
awk '/dev\/sr/ {print $1}' /etc/mtab | sort | while read line ; do
MOUNTPOINT=$(df $line | awk '{print $6}' | sed '1d')
STRIPPED=$(echo $MOUNTPOINT | sed 's/\/media\///g')
if [ $STRIPPED = "/" ]; then
STRIPPED="Root"
fi
echo "Burners: $line set as $STRIPPED."
HDDTMP=$(echo $line | sed 's/[0-9]*//g')
echo $BASE'${goto '$INDENT'}${voffset '$TICON'}${font Poky:pixelsize='$FONTSIZE'}H${font}${voffset -'$ALEFT'}${goto '$VOFF'}'$BASE$STRIPPED' ('$line'): '$HILIGHT'${fs_free '$MOUNTPOINT'} / ${fs_size '$MOUNTPOINT'}${alignr}${fs_used_perc '$MOUNTPOINT'}% '$BAR'${fs_bar '$INDENT','$SBAR' '$MOUNTPOINT'}'$BASE >> ~/.conkyrc
done;
#Step 4 - Why stop there snatch up NAS(s) drives.
awk '/\/\// {print $2}' /etc/mtab | sort | while read line ; do
MOUNTPOINT=$(df $line | awk '{print $8}' | sed '1d')
STRIPPED=$(echo $MOUNTPOINT | sed 's/\/media\///g')
if [ $STRIPPED = "/" ]; then
STRIPPED="Root"
fi
echo "NAS Detected: $line set as $STRIPPED."
#No temp detection via network do not populate TEMP.
echo $BASE'${goto '$INDENT'}${voffset '$TICON'}${font Poky:pixelsize='$FONTSIZE'}H${font}${voffset -'$ALEFT'}${goto '$VOFF'}'$BASE$STRIPPED' ('$line'): '$HILIGHT'${fs_free '$MOUNTPOINT'} / ${fs_size '$MOUNTPOINT'}${alignr}${fs_used_perc '$MOUNTPOINT'}% '$BAR'${fs_bar '$INDENT','$SBAR' '$MOUNTPOINT'}'$BASE >> ~/.conkyrc
done;

#Network re-visit...
if [[ $ACTIVE != 'No Inet' ]]
then
echo $HILIGHT'${goto '$INDENT'}${voffset '$TICON'}${font Stylebats:pixelsize='$FONTSIZE'}5${voffset -'$ALEFT'}${goto '$VOFF'}'$HEADER'${goto '$VOFF'}ACTIVE NETWORK: '$ACTIVE'${hr 1}' >> ~/.conkyrc


#Propigate networking information based on active connection
echo '${font}${voffset 2}${font VariShapes Solid:pixelsize='$FONTSIZE'}q${goto '$VOFF'}${voffset -'$ALEFT'}${font}Up: ${upspeed '$ACTIVE'} '$BAR'${alignr}${upspeedgraph '$ACTIVE' 20,'$BARZ' ${font} '$BAR' }
${font}${voffset -24}${goto '$VOFF'}Total: ${totalup '$ACTIVE'}
${voffset -'$ALEFT'}${font VariShapes Solid:pixelsize='$FONTSIZE'}Q${goto '$VOFF'}${voffset -'$ALEFT'}${font}Down: ${downspeed '$ACTIVE'} '$BAR'${alignr}${downspeedgraph '$ACTIVE' 20,'$BARZ' ${font} '$BAR'}
${font}${voffset -24}${goto '$VOFF'}Total: ${totaldown '$ACTIVE'}' >> ~/.conkyrc

#Provide wireless info if user is using wireless actively.
if [[ $wlan == 'up' ]]; then
#Wireless header
echo '${font}Wireless: ${hr 1 }' >> ~/.conkyrc
#ACCESS POINT
echo '${font}${voffset 2}${font VariShapes Solid:pixelsize='$FONTSIZE'}-${goto '$VOFF'}${voffset -'$ALEFT'}${font}Wireless Access Point: '$HILIGHT'${alignr}${wireless_essid '$ACTIVE'}' >> ~/.conkyrc
#Connection strength / signal
echo '${font}${voffset 2}${font Stylebats:pixelsize='$FONTSIZE'}Z${goto '$VOFF'}${voffset -'$ALEFT'}${font}Connection strength: '$HILIGHT'${alignr}${wireless_link_qual_perc '$ACTIVE'}%' >> ~/.conkyrc
#Connection speed
echo '${font}${voffset 2}${font Stylebats:pixelsize='$FONTSIZE'}C${goto '$VOFF'}${voffset -'$ALEFT'}${font}Connection max throughput: '$HILIGHT'${alignr}${wireless_bitrate '$ACTIVE'}' >> ~/.conkyrc
fi

echo $HEADER'${voffset -'$ALEFT'}${hr 2}' >> ~/.conkyrc

# Provide general connection info
echo '${font}${voffset -'$ALEFT'}${font Poky:pixelsize='$FONTSIZE'}w${goto '$VOFF'}${voffset -'$ALEFT'}${font}Local IP: '$HILIGHT'${alignr}${addr '$ACTIVE'}' >> ~/.conkyrc
echo '${font}${voffset 2}${font Stylebats:pixelsize='$FONTSIZE'}M${font}TCP Connections: '$HILIGHT'${tcp_portmon 1 65535 count}' >> ~/.conkyrc
fi
#close out with a thin line at the bottom
echo $HEADER'${voffset -'$ALEFT'}${hr 2}
'$HILIGHT'${goto '$INDENT'}${voffset '$TICON'}${font Poky:pixelsize='$FONTSIZE'}d${voffset -'$ALEFT'}${goto '$VOFF'}'$HEADER'${goto '$VOFF'}${alignc}${time %H:%M}, ${time %A %d %B}' >> ~/.conkyrc
echo $HEADER'${voffset -'$ALEFT'}${hr 2}' >> ~/.conkyrc
echo $HEADER'${voffset -'$ALEFT'}${hr 2}' >> ~/.conkyrc


A deb please oh please ;)
theemahn@JackHammer:~/Music$ repomaster -b conky-builder-1.14_all/
Repomaster 1.7.1-5 is begining initial build.
First build or no previous errors.

===========================================
Beginning build of conky-builder-1.14_all/
===========================================

Relaxing permissions of conky-builder-1.14_all/
[sudo] password for theemahn:
Cleaning up any tmp or backup files.
Setting individual file permissions to 644.
Scanning /etc to build conffiles.
Scanning for executables in conky-builder-1.14_all/ Stage 1.
conky-builder-1.14_all/usr/share/ultimate_edition/UP.sh
conky-builder-1.14_all/usr/share/ultimate_edition/conkybuilder.sh
conky-builder-1.14_all/usr/share/ultimate_edition/conky-builder.sh
Scanning for executables in conky-builder-1.14_all/ Stage 2.
Calculating Installed size & inserting into control file if necessary.
conky-builder-1.14_all/ is 92. Control file reporting: 92
Size indicated in control file is correct.
Calculating MD5SUMS in conky-builder-1.14_all/
Setting ownership to root in conky-builder-1.14_all/
Setting individual folder permissions to 755.
Setting permissions rights for control etc.
Building of conky-builder-1.14_all/
dpkg-deb: building package `conky-builder' in `conky-builder-1.14_all.deb'.
Lintian resulting package conky-builder-1.14_all.deb.

We have built a totally perfect deb.
Recursively removing conky-builder-1.14_all/ since we have a perfect deb.
Moving conky-builder-1.14_all.deb to .debs/
We have had 100% error warning free deb(s) built this session.
theemahn@JackHammer:~/Music$

conky-builder-1.14_all.deb
NP, feedback is appriciated.
(13.66 KiB) Downloaded 273 times

if your hard disk tempretures do not show up:
Code: Select all
sudo apt-get install hddtemp
sudo dpkg-reconfigure hddtemp

answer yes to all or as default just hit enter until it goes away.

As far as NAS drives, will rework the cifs to also detect NFS. I do intend to buy multiple NAS adapters and eventually detect them all. We will be a onestop place for any NAS drive. Now if I could only get Seagate and every other vendor to send me one of every NAS drive they make. I will call it for testing my code of nasup ;) The overtime will pay for them otherwise. One day off how does one spend thier day? I should be glad I am not doing 7 days a week anymore, knock on wood.

Nasup is not done, the code it will inject to the NAS drive is unseen to the public as of current. Once that code hits the drive it is straight NASty ;) I can plug my nas drive into the network with a bluray player attached and watch 1000 different movies simotaniously snatching torrents as I do so among other things. Let it do my work for me ;)
Home of Ultimate Edition. Got a question? Please review the F.A.Q. Browse the How to section.

Main O/S: Builder of O/S Guess.
Mainboard: ASUS Hero VI (AM4)
CPU: AMD 1700X water cooled (Deepcool Captain Genome Cooling tower)
Ram: 16 GB GSkill Trident RGB Series Dual Channel DDR4 3200
Video: MSI RX470 8GB Gaming card.
Hard Disks: MASSIVE on the network.(10 Gigabit, 48 port, multiple servers)
Monitors: Dual 4K 43" LG, 4K Samsung 28"
750 Watt modular PSU (Rosswell)
1100 Watt Amp & 4 X 600 Watt speakers

Servers in the basement.
User avatar
TheeMahn
Site Admin
 
Posts: 4201
Joined: Fri Oct 12, 2007 10:02 am
Location: U.S.A.
Age: 53
Operating System: Ultimate Edition Developer


Return to Archive

Who is online

Users browsing this forum: No registered users and 56 guests