Page 96 of 2348 FirstFirst ... 468694959697981061461965961096 ... LastLast
Results 951 to 960 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #951
    Join Date
    Aug 2006
    Location
    Plattsburgh, NY
    Beans
    20

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Cammy View Post
    Ok, so how do you get the dual config files to work? I mean, you can't have two files named .conkyrc, so do you call one file from the other?

    (I haven't tried either file yet - just getting ideas)

    Another problem I have is that when I do a clock on my conky, it lags way behind my actual clock, by like 15 minutes. Maybe it's getting the time from somewhere else? I have my conky to update every 5 sec I think, so that shouldn't be it.


    To get multiple files running i created a bash script to launch two conky configs. I put the file in my home folder and named it ".startconky"

    Code:
    $ gedit ~/.startconky
    Add the following:
    Code:
    #!/bin/bash
    conky -c ~/.conkyscripts/conkyscript1;
    conky -c ~/.conkyscripts/conkyscript2;
    This will launch both files at the specified locations.
    Don't forget to change permissions to allow execution.

    Code:
    $ chmod u+x ~/.startconky
    Create a folder in your home directory called ".conkyscripts"
    Code:
    $ mkdir ~/.conkyscripts
    Rename your "conky.rc" files and place them in ~/.conkyscripts folder.

    Mine are named "conkyscript1" and "conkyscript2"

    Now we can execute conky with
    Code:
    $ ./.startconky
    To execute on startup add the following to Session:
    Code:
    Name: Conky
    Command: /home/phil/.startconky
    as far as the clock is concerned i am not sure.
    my update interval is set to 1.0 sec.

    Check your Time & Date settings in ubuntu and make sure all is correct.
    Last edited by thebinz; November 15th, 2007 at 07:07 PM.

  2. #952
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Post your .conkyrc files w/ screenshots

    Thanks thebinz!

    Maybe this will cure my conky start-up problem too (conky is in sessions once, but when I boot up, it's invisible, and I find two of them running in System Monitor).

    Now I just need to decide how I want my desktop to look, then I can start fiddling with my conky layout.

  3. #953
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Post your .conkyrc files w/ screenshots

    Ok, got a bit of a problem here.

    I have my two conky config files, as well as my bash script that launches my conky. The problem is, only the first one shows up, until I kill it out of System monitor, after which the second one will show.

    It's like the bash script hangs after the first conky is launched.

    Any way to make it launch both?

    EDIT: Got it! Needed to change "background no" to "background yes" in the config files.
    Last edited by Cammy; November 16th, 2007 at 05:01 PM.

  4. #954
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Post your .conkyrc files w/ screenshots

    Ok, so far so good. Here's a screenie.



    A few questions now...

    First, my username is hard-coded into the config file. Any way to make conky get it from the system in the rare event someone else is logged on?

    Second, "Ubuntu" is hard-coded too. Any way to get that from conky?

  5. #955
    Join Date
    May 2007
    Location
    Colorado
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by thebinz View Post
    Thanks guys.

    yeah you need the OpenLogos font.

    As far as the weather goes... its a screenlet from the updated old 3rd party screenlets pack.

    Found Here

    Hey Walkerk, what do you mean by "on line displays"?
    Typo... I meant to type "one" line displays... like my screenshot below
    Attached Images Attached Images

  6. #956
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by walkerk View Post
    Typo... I meant to type "one" line displays... like my screenshot below
    I never really thought much about having it on a single line, but I really like how yours looks.

  7. #957
    Join Date
    Nov 2007
    Location
    Florida
    Beans
    37
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Post your .conkyrc files w/ screenshots

    Newbie Here- I have Ubuntu 7.10 (Edgy) and was wonder if I have this mentioned .conkyrc file and if so where do I find it and if not what would I need to get it in order make my desktop look as good as some of the posts I have seen. If I am unable to and even if I am is there a web site somewheres that has some tutorials on the panels and such for making them look fantastik - Thanks for input!
    Last edited by wolfprintAG; November 17th, 2007 at 12:26 AM. Reason: Left out Edgy

  8. #958
    Join Date
    Mar 2006
    Location
    Netherlands
    Beans
    73
    Distro
    Lubuntu 13.04 Raring Ringtail

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by wolfprintAG View Post
    wonder if I have this mentioned .conkyrc file and if so where do I find it
    probably not / install conky (search in Synaptic Package Manager).
    .conkyrc will be in your home folder.

    Mine:
    Code:
    # conky config
    
    # set to yes if you want Conky to be forked in the background
    background yes
    
    # Use Xft?
    use_xft yes
    
    # Xft font when Xft is enabled
    xftfont Terminus:size=8
    
    # Text alpha when using Xft
    xftalpha 0.8
    
    # Print everything to console?
    # out_to_console no
    
    # Update interval in seconds
    update_interval 2.0
    
    # 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
    
    # If own_window is yes, you may use type normal, desktop or override
    own_window_type override
    
    # Use pseudo transparency with own_window?
    own_window_transparent yes
    
    # If own_winlour hotpink
    
    # If own_window is yes, these window manager hints may be used
    #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
    minimum_size 130 5
    
    # Draw shades?
    draw_shades yes
    
    # Draw outlines?
    draw_outline no
    
    # Draw borders around text
    draw_borders no
    
    # Stippled borders?
    stippled_borders 5
    
    # border margins
    border_margin 5
    
    # border width
    border_width 1
    
    # Default colors and also border colors
    default_color white
    default_shade_color black
    default_outline_color white
    
    # 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 12
    gap_y 40
    
    # Subtract file system buffers from used memory?
    no_buffers yes
    
    # set to yes if you want all text to be in uppercase
    uppercase no
    
    # number of cpu samples to average
    # set to 1 to disable averaging
    cpu_avg_samples 2
    
    # number of net samples to average
    # set to 1 to disable averaging
    net_avg_samples 2
    
    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale no
    
    # Add spaces to keep things from moving about?  This only affects certain objects.
    use_spacer yes
    #Note: doesn't work in conky 1.2 =(
    
    
    # stuff after 'TEXT' will be formatted on screen
    
    TEXT
    ${color white}[${color red}$nodename${color white}]:
    ${color #888888}$sysname $kernel ${color #CCCCCC}on ${color #888888}$machine
    ${color #888888}Uptime: $uptime
    ${color #ffccaa}System ${color white}${hr 1}
    ${color #888888}cpu:
    ${color white}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color #CCCCCC}${freq} MHz
    ${color #888888}load: ${color #CCCCCC}${cpu}%
    ${color #888888}${cpugraph 25 ff0000 ff00ff}
    ${color #888888}ram: ${color #CCCCCC}$mem${color #888888}/${color #CCCCCC}$memmax ${color #888888}, ${color #CCCCCC}$memperc%
    ${color #888888}swap: ${color #CCCCCC}$swap${color #888888}/${color #CCCCCC}$swapmax ${color #888888}, ${color #CCCCCC}$swapperc%
    ${color #888888}processes: ${color #CCCCCC}$processes	${color #888888}running: ${color #CCCCCC}$running_processes
    ${color #ffccaa}Health ${color white}${hr 1}
    ${color #888888}cpu  temp: ${color #CCCCCC}${execi 8 sensors | grep -A 0 'temp2' | cut -c12-16 | sed '/^$/d'} C
    ${color #888888}mobo temp: ${color #CCCCCC}${execi 8 sensors | grep -A 0 'temp3' | cut -c12-16 | sed '/^$/d'} C
    ${color #888888}case temp: ${color #CCCCCC}${execi 8 sensors | grep -A 0 'temp1' | cut -c12-16 | sed '/^$/d'} C
    ${color #ffccaa}Networking ${color white}${hr 1}
    ${color #888888}ip address: ${color #CCCCCC}${addr eth0}
    ${color #888888}total download: ${color #CCCCCC}${totaldown eth0}	 
    ${color #888888}download speed: ${color #CCCCCC}${downspeed eth0} k/s	
    ${color #888888}${downspeedgraph eth0 25,100 ff0000 0000ff}
    ${color #888888}total upload: ${color #CCCCCC}${totalup eth0}
    ${color #888888}upload speed: ${color #CCCCCC}${upspeed eth0} k/s
    ${color #888888}${upspeedgraph eth0 25,100 0000ff ff0000}     		   	      
    ${color #ffccaa}File Systems ${color white}${hr 1}
    ${color #888888}root: ${color #CCCCCC}${fs_free /} (${fs_free_perc /}%) ${color #888888}free
           ${fs_bar /}
    ${color #888888}hda5: ${color #CCCCCC}${fs_free /media/hda5} (${fs_free_perc /media/hda5}%) ${color #888888}free
           ${fs_bar /media/hda5}
    ${color #888888}usbdisk: ${color #CCCCCC}${fs_free /media/usbdisk} (${fs_free_perc /media/usbdisk}%) ${color #888888}free
           ${fs_bar /media/usbdisk}
    ${color #888888}Disk IO Rate: ${color #CCCCCC} $diskio
    ${color #888888}${diskiograph #FF0000 #0000FF}
    ${color #FFCCAA}Syslog ${color white}${hr 1}
    ${execi 30 cat /var/log/syslog |grep -v Inbound |grep -v MARK |tail -n1 |fold -w35}
    ${color #FFCCAA}Shared Files ${color white}${hr 1}
    ${execi 30 smbstatus |grep media |cut -c100- |fold -w35}
    Attached Images Attached Images

  9. #959
    Join Date
    Aug 2006
    Location
    Plattsburgh, NY
    Beans
    20

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Cammy View Post
    Ok, so far so good. Here's a screenie.



    A few questions now...

    First, my username is hard-coded into the config file. Any way to make conky get it from the system in the rare event someone else is logged on?

    Second, "Ubuntu" is hard-coded too. Any way to get that from conky?
    Hey Cammy i think i found a solution to what you're trying to do.

    try this in the terminal
    Code:
    $  who | tail -n1 | cut -c1-9
    should produce just the username.

    Upon further search i have found:
    Code:
    $ whoami
    Which does the same thing. The only prob is that it is not capitalized.
    I will do more searching to see if i can find a solution to this.

    For now you should mess around with using cut and tail in the terminal.
    I am sure there is a way of out putting "ubuntu" using cut and tail. You just have to find the right command.

    try: $ man tail
    and $ man cut
    for more info on them.

    also take a look at http://learnlinux.tsf.org.za/courses...g/ch03s04.html


    So to have conky output the username, which will update every 60 seconds, add something like:
    Code:
    ${font}${execi 60 whoami}

  10. #960
    Join Date
    Aug 2006
    Location
    Plattsburgh, NY
    Beans
    20

    Re: Post your .conkyrc files w/ screenshots

    Upon searching further i have discovered a way to get the users "Realname"
    Code:
    finger -m | tail -n1 | cut -c11-21
    "-c11-21" is going to cut the 10 characters out and paste them to the output. so you can modify the numbers to fit the length of your user(s).

    mine would be: finger -m | tail -n1 | cut -c11-14
    Which would output: Phil
    but if your users change then you may want to keep all 10 characters.

    add the following to your conky script
    Code:
    ${execi 60 finger -m | tail -n1 | cut -c11-21}

    i believe "$ uname' will output "Linux"... which is prob the closest you will get to "Ubuntu Linux"

    but check out this link for more linux commands.
    Last edited by thebinz; November 17th, 2007 at 04:13 AM.

Page 96 of 2348 FirstFirst ... 468694959697981061461965961096 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •