Tag Info

New answers tagged

1

It sounds like when a cronjob creates output, and it gets mailed to you. I have no idea why this output is being mailed to you. But if you think it's from the script, maybe you could suppress the output: - if acpi -a | grep 'off-line' + if acpi -a | grep 'off-line' >/dev/null


2

reading through multiple posts of this conversation http://article.gmane.org/gmane.linux.usb.general/61206 , it seems the conclusion is NO , we can't . the question in that conversation is exactly the same thing we want here . i come to this understanding . in usb the amount of current is determined by the device , not by the host . if we want to limit a ...


2

Try running this script heartbeat.sh that will reset X idle time each 55sec. #!/bin/bash while sleep 55 do #xscreensaver-command -deactivate #xdg-screensaver reset xset s reset done


3

DPMS can be darn resistant! Try this command: xset dpms 0 0 0 && xset s noblank && xset s off If it works, add it to whatever autostart file KDE uses. By the way, VLC has the option Preferences >> Video >> Disable screensaver. If that option is checked, the screen won't blank while VLC plays a video but DPMS will be turned on ...


0

This allowed me to use my mac over SSH no matter what, as long as the mac is connected to a power source. Everything gets shut down when the mac gets off its power source, so you don't have to worry about battery life.


2

I am posting an answer, as I have somewhat managed to resolve the issue. I say somewhat because I still have problems. Wheezy appears to have a need to use a screensaver. I disabled all options I could find, even patched xscreensaver, but to no avail. The above fixes I tried in my question, sometimes generate issues when I log in, some times they do not! ...


2

Known bug in udisks. Upgrading to 15.04 will fix it: https://launchpad.net/bugs/1281588


3

umount is perfectly safe for the disk. Once you've done that you have successfully unmounted the filesystem and you needn't worry along those lines. The primary difference between eject and umount doesn't concern the disk at all - rather it is about the USB port's 5v power output. After umount you can still see your disk listed in lsblk because it is still ...


6

If you are using systemd then use udisksctl utility with power-off option: power-off Arranges for the drive to be safely removed and powered off. On the OS side this includes ensuring that no process is using the drive, then requesting that in-flight buffers and caches are committed to stable storage. I would recommend first to ...


1

Unfortunately most if not all usb hardware does not have anything to monitor the current draw through it. You can find the max output of your USB ports in the documentation of your hardware. The standard is 500mA but many newer devices provide more for things like phones, mp3 players, and tables. The same can be done for your connected device. But this will ...


0

The udev rules work well on plug events, but to get the correct behaviour after resume from suspend I need somthing like this in /etc/pm/sleep.d: #!/bin/sh case "${1}" in resume|thaw) if grep -q 1 /sys/class/power_supply/ADP1/online; then /usr/sbin/hdparm -B 254 /dev/sda else /usr/sbin/hdparm -B 128 /dev/sda fi ;; esac


0

I would use pbbuttonsd / pommed / pmud for suspend / hibernate and shutdown control.


1

I have the same problem and none of the solutions above worked for me. turns out it was this bug The workaround mentioned there worked for me: dpkg --purge kexec-tools



Top 50 recent answers are included