Page 1771 of 2300 FirstFirst ... 7711271167117211761176917701771177217731781182118712271 ... LastLast
Results 17,701 to 17,710 of 22993

Thread: Post your .conkyrc files w/ screenshots

  1. #17701
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    2,868
    Distro
    Ubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 42dorian View Post
    Any luck with what?
    Oops! My bad.

    What OS are you using?
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  2. #17702
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by VinDSL View Post
    Oops! My bad.

    What OS are you using?
    Xubuntu Narwhal. I don't suffer from the Unity Plague, and the memory usage is piddly. Plus, it runs it's own native compositor.

    Eventually I gotta find the command in the OS where it spits out the OS install name. Not just the Kernel, the whole name. I've seen the Byobu command terminal use it, I'd like to find out how to make any command line spit it out on call.

  3. #17703
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    2,868
    Distro
    Ubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 42dorian View Post
    Eventually I gotta find the command in the OS where it spits out the OS install name. Not just the Kernel, the whole name. I've seen the Byobu command terminal use it, I'd like to find out how to make any command line spit it out on call.
    Does this work for you?

    Code:
    vindsl@Zuul:~$ lsb_release -sd || cat /etc/*release
    Ubuntu oneiric (development branch)
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  4. #17704
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by VinDSL View Post
    Does this work for you?

    Code:
    vindsl@Zuul:~$ lsb_release -sd || cat /etc/*release
    Ubuntu oneiric (development branch)
    Nope. Shows Ubuntu and not a lot else. Nice try though Vin. It's a "One Day" thing. As in, I'll figure it out "One Day"...

    *EDIT* Though, that has led me to do some quasi-hacking of how it does that so I can do some changes of my own...

    *EDIT2* Okay. Easy enough to put into Conky. Simple line to always get the release right no matter what upgrades you use.

    Code:
    ${exec lsb_release -si} ${exec lsb_release -sr} (${exec lsb_release -sc})
    Results in:

    Code:
    Xubuntu 11.04 (Natty Narwhal)
    On slower machines using an execi 3600 or so might help, but for the most part it works the way it is. You just need to remember to edit the /etc/lsb-release file to change your distributor and codename from time to time when you're using a Ubuntu derivative.

    Thanks Vin!
    Last edited by 42dorian; May 21st, 2011 at 07:09 AM.

  5. #17705
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    2,868
    Distro
    Ubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 42dorian View Post
    Thanks Vin!
    OMG!!!

    I helped YOU for once? LoL!
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  6. #17706
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    2,868
    Distro
    Ubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    I'm gonna rock this for a while...

    Code:
    ##################################
    ##            SYSTEM            ##
    ##################################
    ${voffset 20}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -4}${font DroidSans:size=8.65}${color3}${offset 5}${pre_exec lsb_release -sd || cat /etc/*release}${font}
    ${voffset 1}${offset -2}${font OpenLogos:size=12}${color2}Z${voffset -4}${font DroidSans:size=8.65}${color3}${offset 4}${sysname}${offset 5}${kernel}${alignr}${font DroidSans:size=8.45}${machine}${font}
    ${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}Intel${offset 3}P4${offset 3}Extreme${offset 3}Edition${alignr}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font}
    ${voffset 2}${font StyleBats:size=10}${color2}q${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}System${offset 3}Uptime${alignr}${font DroidSans:size=8.4}${uptime_short}${font}

    Here's how it looks...


    (Click to expand)



    Who get dah cred?!?!?
    Last edited by VinDSL; May 21st, 2011 at 11:01 PM.
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  7. #17707
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    I dunno Vin. Truthfully, I think you're wasting your time putting the || cat /etc/*release part in. It works without it.

    Just... if you're using Xubuntu, Kubuntu, or Edubuntu... really anything that is a derivative of Ubuntu... doing it this way will probably result in it reporting Ubuntu as the system name instead of what it really is. If you want it accurate, you have to keep on your toes and edit the /etc/lsb_release file manually to update the Distributor and Code Name variables it contains. Then there's no need for the || cat section.

  8. #17708
    Join Date
    Nov 2008
    Location
    Here, There, Everywhere
    Beans
    1,168
    Distro
    Xubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 42dorian View Post
    I dunno Vin. Truthfully, I think you're wasting your time putting the || cat /etc/*release part in. It works without it.
    Only with distros with lsb_release

  9. #17709
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Tibuda View Post
    Only with distros with lsb_release
    Very true! But, at the same time, this code won't work at all unless you've got it. You need another method if you don't have lsb_release. If you've got an idea on how to make that method work, I'm happy to test it! Finding a way that's universal would be very helpful.

    Kind of like the weather code we use not working without kaivalagi's weather script installed. This is just the lsb_release method of getting the system distributor,version, and codename as a variable object instead of hard-coding it every time.

    Got any ideas on other ways to do it, by chance?

  10. #17710
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    2,868
    Distro
    Ubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 42dorian View Post
    Got any ideas on other ways to do it, by chance?
    You could always hard-code it.

    That's how I handle the version number, in the header -- makes spacing easier.

    But, that's cheating. We're supposed to do everything the hard way...
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

Page 1771 of 2300 FirstFirst ... 7711271167117211761176917701771177217731781182118712271 ... 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
  •