Ubuntu :: Getting A Conky Variable That Display The Version (ex 10.04)
Sep 26, 2010Is there a conky variable that displays the Ubuntu version (ex 10.04)?
View 9 RepliesIs there a conky variable that displays the Ubuntu version (ex 10.04)?
View 9 RepliesWhen i ssh to server using -X, i always confuse about which display number i should export. It seems to me sometimes the display number has been used by something, so what i can do is only
export DISPLAY=localhost:0 && xclock
export DISPLAY=localhost:1 && xclock
export DISPLAY=localhost:2 && xclock
[code]....
I would like to display my battery into conky for my laptop, do you have /proc/acpi/battery/BAT0 ? - I cant find it
View 1 Replies View RelatedI'm trying to display my todo.txt file in my Conky, but it won't align correctly. Only the first line of the list is where I want it, the rest is in the default location.Quote:
background yes
update_interval 1
cpu_avg_samples 2
[code]....
i have the following text in a file located in /home/anoopm101/.task [description:"this is the text" entry:"1306682734" status:"pending" uuid:"25c54e1b-824f-52bc-4933-dfe7cda34bc7"]
i have to display on my desktop "this is the text" using conky.
So I'm running Fluxbox as my window manager in Xubuntu. I use ivman to automatically mount any usb devices.Now I was wondering if it's possible to have conky display all mounted drives and some information about them.I saw you can do {$ifmounted /media/blah} but this would assume I have a set number of devices preconfigured in fstab. It doesn't account for some random guy's flash drive, or a buddy's smartphone.
I know mount | grep sd outputs a list of mounted drives. So then could I somehow format that output and pass it to conky? Or do you guys have any more clever ideas on how I could accomplish this?
i have the following text in a file located in /home/anoopm101/.task
[description:"this is the text" entry:"1306682734" status:"pending" uuid:"25c54e1b-824f-52bc-4933-dfe7cda34bc7"]
i have to display on my desktop "this is the text" using conky
I am having a hard time getting conky execp/execpi to correctly parse output of the scroll variable generated from shell or PHP scripts.
Code: Select allDebian 8.0
Xfce 4.10
Conky 1.9.0-6
This is a simplified minimal conky configuration file used to show the same problem:
Code: Select allalignment bottom_middle
background no
border_width 1
default_color white
default_outline_color white
default_shade_color white
double_buffer yes
[Code] ....
Here is the output I'm getting:
Code: Select all ABC /*doesn't scroll, UNEXPECTED, shows 10 spaces before ABC*/
ABC --||--
abcdefghijklmnopABC /*doesn't scroll, WORKS AS EXPECTED as scroll length is 25 which is longer than text "abcdefghijklmnop" */
abcdefghijklmnopABC --||--
abcdefghijklmnopABC /*WORKS, everything before ABC scrolls 5 characters at a time*/
Is there a way to tell conky on which display to start. I have dual twin monitor setup and its starting on my secondary monitor.
View 10 Replies View RelatedI think someone has been in my apartment when I'm at work and attempted to login to my computer.
Rather than searching through all the logs, is there any way for Conky to display the last 2 or 3 login attempts?
Recently I succesfully installed conky. I managed to get a lot of things work with more or less effort but I can't make conky to display any image.Images path and permissions had been checked. Imlib2 support too but conky won't display a thing.
View 4 Replies View RelatedI am putting together a Conky config file by a sort of 'smash and grab' approach borrowing things from various configs I've seen around the web that do stuff I like. I have reached a stumbling block as I want to display my external IP, I have used
Code:
${addrs eth0}
to display the IP on my LAN and guessed I would just need to substitute 'eth0' with something else to get the external IP?? I have tried the mac address of my primary router to no avail, this just displays '0.0.0.0' My current config looks like:-
Code:
# set to yes if you want Conky to be forked in the background
background yes
#font
use_xft yes
[code]....
I run my conky as one bar at the top of the screen (Ratpoison). It is frustrating when % values jump between 0->10% for example and then the entire bar shifts. How can I make it display 000% 010% 100%?
View 7 Replies View RelatedI'd like to tweak my Conky so it automatically displays the days of the week correctly. So for example, if TODAY were Tuesday, it would look like this:
Tuesday
Wednesday
Thursday
Friday
[etc.]
And then tomorrow, *automatically*, it would look like this:
Wednesday
Thursday
Friday
[etc.]
I know I can get it to display *today's* date like this:
${time %A}
But how do I get it to display tomorrow's date?
I have an K10 AMD CPU and unfortunately it has a borked temp sensor. I have figured out that if I subtract 8 from value stored in /proc/acpi/thermal_zone/temperature that the result is very close to being spot on. The problem is I have no idea to do this and conky has no built in way to do this.
The data stored in /proc/acpi/thermal_zone/temperature looks like this:
Code:
temperature: 52 C
Is there some sort of script that can do this?
I want conky to display holidays on their respective days. I would be using a Catholic calendar. Do I make an .xml file of the dates and feasts? How can that be accomplished?
View 3 Replies View RelatedI am connected to work via a VPN. I am logging into a Solaris box at work from OpenSuse 11, using ssh -X. I would like to start a GUI on the solaris box. The problem is that I don't know what value to give the DISPLAY variable. Is it the local internal LAN ip address, for my machine? I did try that, and I tested it using, xterm on the solaris machine. It says it can't open the display. I have enabled remote connections on my machine using xhost +.I have to run a performance test on the Solaris box at 7am in the morning... so need to find out how to start the GUI
View 6 Replies View RelatedI have a problem to use echo to display the content of a variable.
This is what I do:
Code:
#!/bin/bash
USAGE="Usage: name [OPTIONS] [DIRECTORIES]"
echo $USAGE
When I run this little script I get the following output:
Usage: name [OPTIONS] R
So I think that [DI might be some sort of escape sequence. But I do not know how to unescape it. Does anyone have a hint for me?
my java version is this
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
And when i am trying to run my gameserver scripts i get this error.
root:~# /home/l2jserver/login # ./L2JConfig.sh Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:431)
at java.awt.Frame.<init>(Frame.java:403)
[code]....
This is not my desktop computer but my remote server.
i am trying to declare an environmental variable in the /etc/profile' (as per the tutorial i'm following) but when i declare it and do an echo i get nothing.Here's what i've done so far..nside /etc/profile:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ -d /etc/profile.d ]; then
[code]...
Code:
# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
How would i write a script to display permission on each folders in $PATH variable below format.
drwxr-xr-x 2 0 root 4096 Nov 24 14:51 /usr/kerberos/sbin
drwxr-xr-x 2 0 root 4096 Nov 24 14:51 /usr/kerberos/bin
This is what i did but since it require awk programming i m stuck.
Code:
ls -ld <directoryinpath>
Code:
# echo $PATH | awk -F ":" '{ print $1 }'
/usr/kerberos/sbin
IN 3.5.10 I am able to display the full $PROMPT_COMMAND environment variable in the Konsole title bar. Kind of handy and I did not need to display that information in the $PROMPT variable.
In 4.5.5 I am having trouble figuring out how to make that work correctly. The title bar displays only the directory name rather than the full path and user name.
This is my $PROMPT_COMMAND:
history -a;echo -ne "33]0;${USER}@`uname -n`: ${PWD}07"
All I see in the title bar is:
dirname: bash
I should see:
username@hostname: full path to present working directory
I have conky installed and set up as a startup application, however everytime I log out and back in conky creates itself as a new window:
How can I get conky to start normally without having to do a manual restart everytime I login?
How to install oracle? I have been tried many times but seems can't resolve the DISPLAY issues.
All installer requirements met.
Use the following command to view the current DISPLAY environment variable setting:
Said that all the config i find put all the info in one place of the screen, in this example on the right side:
url
or like conky colors where you can put in either side, or other complex examples that use folders with images..that at least i need one day to study all the variables it has...
What i want is something simple, in my black background i dont want images and effects, only white simple text.
My problem is: i want for instance my specs above, my log info in the middle, my music info bellow (above my clock) and in conky config i'm hitting my head in the wall....
For instance if i use my facebook script to appear in the midle how the hell can i put my music info bellow without ruined the facebook in the midle...do i need 2 conky configs?
I have downloaded a command line version of Ubuntu so I can install everything I want almost from scratch. Problem is, when I install an x display manager it wont let me login. It just flashes for a second with a cross, then returns back to the login screen...stuck in a loop."sudo startx" works but not "startx". I have tried lxdm and xdm.
View 1 Replies View RelatedWould someone please point me in the direction of how to change the display resolution on Ubuntu server version 9? I am talking about the actual VGA port on the back of the server. I am NOT talking about anything related to XWindows or a SSH session. This is a text based display. When I installed Ubuntu Server 9 on my server I picked a larger display resolution than I really want.
View 8 Replies View RelatedI have reloaded windows xp and now after installing ubuntu latest version, I get a boot menu that gives options. if I select the Ubuntu option, within a few seconds(2)the monitor shows "out of range"! However it is possible to get a command prompt from this menu,(Grub)by pressing "C" then Tab, which lists about 30 commands! But I cannot find what command will overide the ubuntu boot display setting! yet if it is possible in the disc boot F6 menu, then it follows that it must be possible in the hard disk boot menu? (ie nomodeset available on the disk F6, so using F6-nomodeset on the disk allows me to install or run from the disk, which then runs perfectly) Only I cannot make changes in the Ubuntu live that runs direct from the disk, to the installation on the hard drive. My Monitors Max is 75hz 1280x1024, LCD. And although not the latest model, Its still relatively current. Windows from the boot menu works fine.
View 1 Replies View RelatedI am new to Ubuntu, I installed the latest version and when I turn it on I get like a distortion of the screen, I would gladly post a picture of it but I have no where to post it here. I am running Amd Opteron 175 with DFI Expert and GeForce 7800GT I made a partition on my Vista. I uploaded the pictures as you can see it has the distorted window in background and it just sits there saying 128%.
View 8 Replies View Relatedwhen I type "conky" in terminal it returns with Conky: invalid configuration file '/home/user/.conkyrc' Conky: missing text block in configuration; exiting ***** Imlib2 Developer Warning ***** : This program is calling the Imlib call: imlib_context_free(); With the parameter: context being NULL. Please fix your program. I've tried completely uninstalling, rebooting, then reinstalling, still same error?
View 3 Replies View Related