Ubuntu :: Conky Falls Into Deep Sleep With USB Mount?
May 1, 2011
I'm experiencing low importance nuisance with conky. I'm running ubuntu 10.10 and use conky to have basic system overview. Whenever I mount/umount USB flash, conky disapears from display. It does not crash, it only falls into neverending sleep (process state: Sl+). When I send rehub signal (kill 1 {conky_pid}) conky happily wake up, reloads configuration and shows me what I want to see. I dont have anything USB realted in my monitor.
I`ve got a dual boot of win 7 and ubuntu 10.04. After I put the system to sleep in win7, it was unable to start the ethternet adapter back (Now after system boot, the lights around the ethernet port blink for a few times and then turn off. This repeats in a while). Now it is disabled in ubuntu too. Is there any way to start it again? It is a Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller.
I'm having trouble getting conky to start automatically after resume from sleep. I've tried putting a copy of my conky startup script into /etc/pm/sleep.d but nothing happened.
Conky does not start during start up.I used this script, It has execute permission also!But it did not start! What is the problem!It works manually when i run that script!
Note: It is not working in the background also at startup as i checked it -When is run killall conky it showed No such process
because of a bug that changes the device of an USB-HDD from /dev/sdb to /dev/sdc after wakeup I need to re-mount my external usb-hdd on wakeup. As far I found out this could be done with an script in /usr/lib/pm-utils/sleep.d I placed a script there and made it executalbe, the contents are:
Code:
#!/bin/sh sudo mount -a echo "working" /home/max/Desktop/test.txt exit 0
If I execute the script from shell the HDD gets mounted, when waking from sleep/standby the script writes "working" in the specified file but the hdd won't get mounted. As I plan using the HDD as a NAS it's important it gets mounted again because otherwise the samashares are invalid
I just upgraded to Ubuntu 9.10 on one HD. Now I have no internet with 9.10. The dsl connection I used to upgrade is still there, the password is correct, but it can't connect to the net, and always falls back to AutoEth0.
Looking at my logs note that the eth1 interface falls and rises many times.
..... Jul 30 04:29:42 localhost kernel: e1000e: eth1 NIC Link is Down Jul 30 04:29:44 localhost kernel: e1000e: eth1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
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 install Fedora10 in my computer but when it begins the process of installation, it says that "x startup failed" and falls to text mode of installation. Howerver, the graphic mode works in another computer.
Is there a way to deep clean the supposedly "empty" areas of HDD. I've found "shred" and similar tools by googling, but they allow either deleting a file or complete wipeout of a HDD. What I'd like to do is clean up what's left of already deleted files (which can probably be still "undeleted") on a live HDD (with useful data, which doesn't need to be destroyed).
As part of a standard update from Update Mgr, I was proposed an upgrade from kernel 2.6.31.19 (pae) to 2.6.31.20 (again, pae). Installation went smoothly, as a number of similar upgrades before. Machine is a plain dual/boot (win7+karmic), no wubi.
Mandatory reboot after upgrade... grub... then freeze. Deep freeze: blank screen, no HD activity.
None of the existing kernel flavors (2.6.31-17, 31-19, 31-20) is able to boot, either in pae, general or recovery mode. It's only BIOS sequence, grub, choice... frozen. Blank screen, no message whatsoever. (btw, win7 boot appears not affected)
Attempts so far: * Following some hints here for similar situations, I checked my disk w/ gparted and found no issues. * Partition's UUID is nicely set. * Recovered Grub, as per its tutorial...
I'm attaching here my grub's config, from a script I've seen in multiple questions. Code: Boot Info Script 0.55 dated February 15th, 2010 Boot Info Summary: => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #5 for /boot/grub.....
I have a situation when vsftpd do not allow to get files from directories deeper than chrooted directory.
I can get from chrooted directory. I can put to chrooted directory. I can put to deeper than crooted directory. I can list directories and files deeper than chrooted direcotry. But I can not get files (process starts and hangs) from directories deeper than chrooted.
Firewalls on both sides (client and server) are set to log every in and out connection that do not -j ACCEPT. Log files are empty, so I assume nothing is blocked by firewalls.
Permissions for files and directories, I want to get, are set to 777.
I am still struggling to get non-www to www. At the moment I have following code to redirect from non-www to www. RewriteCond %{HTTP_HOST} !^www.hoteldealscatcher.com$ [NC] RewriteRule ^(.*)$ http://www.hoteldealscatcher.com/$1 [R=301,L]It works totally fine for home page but not for other deep links, such as /city/Sydney.php, they are still going to non-www pages. What 's the best approach I could use to solve it
when 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?
This little fragment does the opposite of what I want and I am trying to figure out how to reverse it. I want to strip off the directory and echo just the filenames. I cannot predict how many levels deep the directory tree is.
I have a deep folder structure on my RHEL 5.x file system which is supposed to have only word(*.doc, *.docx) or pdf(*.pdf) files. But I want to check if there are files with any other extensions which exist. Is that possible?
I have a problem with conky. It draws a black background instead of using pseudo-transparency. I ofc tried to achieve this with feh but to no avail. All the instructions here failed: Conky Hardcore! Conky transparency with KDE (3 and 4)
I'm facing an odd problem with a fresh install of OpenSuse 11.4 on a Dell PE-2950, using NIC Broadcom BCM5708C (rev 12) NetXtream II. Driver's are up to date. I'd installed vsftpd and configure it. I can connect from anywhere in the network where I setup this Server. The odd problem is that when I'm sending a big file (5.5 GiB for example), from another PE-2950 server (Windows Server 2003 64 bits R2) with another BCM5708C nic, the speed of the transfer starts at 90 MiB/s approx. but after 30 seconds , it drops to 15 MiB/s and never raise again. Driver's are up to date too.
However, from another Server in the network, a Dell R710 with SLES 10 SP3, the transfer speed is at 90-100-110 MiB/s all the time. The switch is a HP Procurve 2910al-24G, with all ports at gigabit speed. I'd tried with different FTP clients in Windows: WinSCP and the Windows's ftp client, but the result is the same: speed falls down after 30 seconds approx. using the Windows-Box.
Is there a way I can do a "deep" renaming of files? For example, I can do this: rename 's/.JPG$/.jpg/' *.JPG to rename all files ending with ".JPG" to ".jpg", but this only works in the current directory. How can I make this recursive? There's not a flag (that I can see) that does this. Basically, I want to rename ALL files on my hard drive with an upper case JPG extention to make them have a lower case jpg extention.
I have Ubuntu 10.04, and I have my power settings set so that my display is never supposed to go to sleep, yet it still does after 10 minutes of being idle. Has anyone else had this issue?
Whenever I close my laptop lid or just press the suspend button, it will go to sleep just fine. Perfect. Waking up is the problem. The drive light flashes for a few seconds, and then it just goes to back to normal but my display is still busted.
I have Kubuntu 10.4 cleanly transformed to Gnome (aptitude task kubuntu-desktop was removed and ubuntu-desktop installed). I want to switch off the sleep key, because I sometimes press it accidentally and the computer goes to sleep. Fortunately the sleep is correct, no applications crash, but still some network connections goes away and it is annoying and time wasting. I tried to switch it off with the power management tool, but there are only two options: sleep to memory and sleep to disk. I am sure, there was "do nothing" option in some other versions, but it isn't there.
How can I fix it? Is it possible to hack it with some "edit gnome variables directly" tool? I am experienced linux user, but not a gnome or X expert, and I don't like to solve simple problems (and I think this is a simple problem) with complicated scripting and strange hacks.
My display is set to sleep after 30 minutes of inactivity. When I go to sleep at night I don't want to wait 30 minutes for the monitor to shutdown, is there any way I can use the keyboard (like a hotkey) for :
1. Start my screensaver (when I go for 5-10 minutes afk for example).
When ever my computer goes to sleep it becomes unresponsive. No mouse or keyboard click wakes it up. The only thing I can do is press the power button which makes it completely reboot. This is killing my productivity. Anyone have any tips on how to make this function correctly?
Asus u43f wont go into sleep/suspend mode. Either manually from the shut down menu or by closing the lid. the screen will turn off but the various lights do not turn of and hard drive continue to spin.
I found this suggested test with a google search but no fix
sudo /etc/acpi/sleep.sh
which returned:
cat: /var/lib/acpi-support/system-manufacturer: No such file or directory cat: /var/lib/acpi-support/system-product-name: No such file or directory cat: /var/lib/acpi-support/system-version: No such file or directory cat: /var/lib/acpi-support/bios-version: No such file or directory