Tag Info

Hot answers tagged

10

GDM is replaced by lightdm. If you haven't changed it manually. STOP sudo stop lightdm START sudo start lightdm As far as I can remember, it has restart also. Try with following RESTART sudo restart lightdm Let me know the result. Reset unity ! use with caution - will reset all you settings ! unity --reset


5

If the solution below does not work for you, try this one: Edit the file /etc/default/grub (as root) Change the line with: GRUB_CMDLINE_LINUX="" to: GRUB_CMDLINE_LINUX="acpi_sleep=nonvs" run update-grub (as root) Worked for me... Hope this can help you!


4

GNU screen looks like magic, but it cannot keep programs running when you shut down the machine. If you want a program like irssi (an IRC client) running even when the machine is shut down, you'll need a different machine that is powered on and to which you can connect using ssh. This machine can be a remote server or your local router. (assuming it can run ...


4

Perhaps http://forum.xbmc.org/showthread.php?tid=121158 will help? This is what it says: For those who are updating to the 3.2 kernel (which should be everyone due to the recent root exploit), you'll notice your USB wakeup is probably broken. They changed the default wakeup policy (http://www.spinics.net/lists/linux-usb/msg53661.html), so you'll need to ...


4

I ran into this problem again on Ubuntu 12.10. The suggestions from user MTS unfortunately also did not work for me. However, you can write a script to automatically set the usb properties in /proc/acpi/wakeup right before every suspend. The solution is based on creating a suspend hook (based on this Archwiki article). Save the following as ...


4

You are experiencing this in Windows because you are resuming from Hibernate, not Suspend. When you leave Windows on suspend for a while while running Windows, it automatically hibernates. To change this on Windows, go to Control Panel->Power Options, select Change plan settings next to your active power plan, then select Change advanced power settings. Then ...


3

Running 10.04, as a workaround to avoid this quite annoying behaviour, I put together the script below and saved it as /etc/pm/sleep.d/13_radiotray. (In terminal: gksudo gedit /etc/pm/sleep.d/13_radiotray, enter/paste the script code, save the file and finally make it executable with: sudo chmod +x /etc/pm/sleep.d/13_radiotray.) As you can see, what it does ...


3

Direct answer In order to achieve your goal (of running an X-session dependent user-space script when your machine resumes) you must: run the script as the appropriate user; and ensure the DISPLAY variable is set. I would move the line sleep 15 && synclient TapButton2=2 TapButton3=3 to a separate file say /usr/local/sbin/setupTouchpad.sh and ...


3

As was mentioned this was repaired with a kernel upgrade to >= 2.6.36


3

I have a Toshiba U-400, and Maco's answer here is similar to Pitto's. In our case, it's the bluetooth module that prevents the laptop from resuming from suspend. You need to add this line to /etc/default/acpi-support. MODULES="toshiba_bluetooth bluetooth btusb" That should get you running again. Despite this change, perhaps 1 in every 25 or so suspends ...


2

You could add those commands in sh file #!/bin/sh gconftool-2 --set --type=bool /apps/gnome-power-manager/lock/suspend false xinput set-prop "ETPS/2 Elantech Touchpad" "Synaptics Tap Action" 8, 9, 0, 0, 1, 2, 3 save it as startup.sh(for example) and put it in System->Preferences->Startup Applications. Oh and add permission executing this file as program ...


2

You should be aware that all sleep.d script run as root and could easily be the problem here. You can add debugging information to your script such as echo "Touchpad command" which will then appear in the logs. More info Open the logs by using Log File Viewer and find pm-suspend.log then search for the echo comments you added to your script and look for ...


2

For Ubuntu Oneiric, you should use the new hotplug-command hook. Basically, you create a script using this template that calls xinput with your desired settings somewhere in your path, make it executable, and then: gsettings set org.gnome.settings-daemon.peripherals.input-devices hotplug-command <script> The script will be called on startup, ...


2

I am also having this problem on 11.04. This was not always the case -- it just started happening to me some day, so my best guess is that it was due to some sort of software update. Nevertheless, it is extremely irritating. I found this thread, which suggests that you can add a script /etc/acpi/resume.d/50-xmodmap.sh that runs on wakeup to invoke xmodmap. ...


2

If you change /etc/default/grub to have the two lines: GRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true It will always pick the last OS booted, thus bringing up the hibernated OS without your intervention; however, it will also do this even if you didn't hibernate. (Thanks to @drs305 who wrote the GRUB 2 Basics guide on the Ubuntu Forums.)


2

Install the uswsusp package. It compresses the data as it writes it out so the process goes faster. 10 minutes seems a bit extreme though, pointing to a more serious hardware problem.


2

The bottle neck is that you have to write 8 GB of RAM to disk, worse yet you have to sort through 6 GB of swap to determine which data goes with what. Maybe try shrinking the swap partition (or removing it entirely, you have enough RAM) and see if that helps at all. Otherwise, we'll need to see some log files. man dmesg and man syslog It could also be ...


2

I've been able to workaround this issue, by using the following command sudo pm-hibernate; gnome-screensaver-command -l Do note that, you should run this as a normal user and not as root user for locking to work, because by default in Ubuntu, there is no password for the root user so after resume, lock-screen can be unlocked by simply shaking the mouse.


2

I have the same problem and yet I couldn't test a solution I've found... As soon as I get back home I'll post back results. "You can try to put the name of your proprietary module (nvidia or fglrx (for ATI) are most likely) in the quotes in MODULE="" in the /etc/default/acpi-support file and reboot. sudo nano /etc/default/acpi-support This'll make that ...


2

i have another workaround. i copied this from /etc/acpi/sleep.sh to /etc/acpi/hibernate.sh just before pm-hibernate if [ x$LOCK_SCREEN = xtrue ]; then if pidof xscreensaver > /dev/null; then for x in /tmp/.X11-unix/*; do displaynum=`echo $x | sed s#/tmp/.X11-unix/X##` getXuser; if [ x"$XAUTHORITY" != x"" ]; then ...


2

Thanks to the pointer to /var/log/boot.log, I noticed the line swapon: /dev/sda5: software suspend data detected. Rewriting the swap signature. Some googling around that lead me to bug 499940, which gave me the name of the file that controls where to look for the resume data, /etc/initramfs-tools/conf.d/resume. This file still had my old swap partition ...


2

You can change the lock screen's password request via the Settings -> Brightness and Lock -> Lock section. There you can toggle the password request, and whether or not the screen should be automatically locked. (You can still lock the screen via the normal Lock Screen UI button, or respective command.)


2

jobs will only list the jobs that are associated with the shell that the jobs command is run in, and similarly fg and bg only work with processes on the same process tree as the current shell. In the context of this question, the job you want to attach to was started with /etc/rc.local, so that shell is not the current one you are in. You could start the ...


2

Use the web uploader inside Chrome or Firefox - it has auto-resuming capability so that you can disconnect your Internet connection to pause the upload and then reconnect when you wish to continue the upload. If you want to avoid losing Internet access from other programs, just change temporarily the browser's network settings to e.g. some non-existent ...


2

I pause my uploads all the time. With the browser still open, put your computer to sleep. All of your other devices will have full connection speed. Then just wake your computer back up and the upload will resume.


1

Do you really need a swap file? In Linux you usually make a swap partition. That is a partition solely dedicated to function as swap memory. If you installed Ubuntu on a blank disk, you should have one by default. If you chose your own partition layout and didn't make one, I suggest repartitioning to have one. The only issue I have encountered with ...


1

This script should do the trick: #!/bin/bash case $1 in "resume") iwlist scan ;; esac Follow these steps: Open a Terminal. Write this command and enter your password when prompted: sudo gedit /etc/pm/sleep.d/iwlist_resume Paste the script on the gedit window, save and close. Give the script execution permissions: sudo ...


1

You can add a sleep here: thaw|resume) modprobe saa716x_tbs_dvb modprobe ivtv # Here we need to wait until IR sensor device initialization is done! sleep 20 service lirc start Now, you want to do something really smart, you may want to use upstart.


1

The wicd-daemon package should add a hook for pm-utils to handle this with the file: /usr/lib/pm-utils/sleep.d/55wicd I'm pretty sure pm-utils gets pulled in by default as part of ubuntu-desktop (via some other things) but if you removed network-manager and/or other gnome parts then perhaps you lost it somewhere along the way. Try: sudo apt-get ...


1

Concerning the brighhtness settings, do the following: Enter your grub file as root: sudo gedit /etc/default/grub and edit the file as follows: GRUB_CMDLINE_LINUX_DEFAULT="splash acpi_backlight=vendor" GRUB_CMDLINE_LINUX="acpi_backlight=vendor" That should work, I also have switchable graphics on my dv6 *edit: Sry, I forgot that you have to update ...



Only top voted, non community-wiki answers of a minimum length are eligible