In Ubuntu 10.10 Gnome . When I close the laptop lid I seem to get only two choices - hibernate or suspend. What i want is when i close the laptop lid I want nothing to happen.
There are real issues I'm having with network-Manager stopping and not starting when i go into suspend. it's a major hasle therefore I want to prevent any suspend or hibernate.
How do i do it so closing the lip just closes the lid and nothing else?
Upgraded to Ubuntu 10.10 recently. (Now that was a mistake...) Problem occurring now that when I close lid of my laptop (Asus K40IN series) , which I set to suspend, it won't wake up (and I have to shut down and reboot). It used to be fine (in both Windows and 10.04) though so must've something to do with the upgrade to 10.10.
I have done a fresh install of Ubuntu 11.04. My problem is that at the login screen if I close my laptop lid, the laptop goes into suspend. This is not the effect I want. GDM doesn't respect my settings in gnome-power-preferences and I can't seem to locate any other way to configure the power preferences for GDM. I have had 11.04 installed before as an upgrade to 10.10 and I did not have this problem in that case.
Dell Latitude C610 laptop with Debian Squeeze.I am using the computer as a print and file server, accessing it with ssh, so I don't need the display (which is busted anyway). I want to close the lid without having the computer suspend. Could not find a way to make it happen with gnome-power-preferences or the BIOS settings. There is a script, /etc/acpi/lid.sh, that runs when the laptop lid switch changes. Part of the script is shown here:
Code: Select allgrep -q closed /proc/acpi/button/lid/*/state # this is a file of 1 line like "state: open" or presumably "state: closed" if [ $? = 0 ] # The brackets evaluate to True when the lid is closed. then if [ x$LID_SLEEP = xtrue ]; then [ -x /etc/acpi/sleep.sh ] && /etc/acpi/sleep.sh # i.e., if this file exists, then run it. exit fi ... there's more ...
The stuff that gets executed after the if [ #$ = 0 ] is the stuff that suspends the computer. So I just replaced the brackets with something that is certain to be false, so it will never happen:
Code: Select allif [ 1 = 2 ] I admit this is FAR from an elegant solution, but it seems to work and it doesn't fubar the system.
I'm using xfce, and the power manager settings, to only lock the screen when close, are not honored. The laptop suspends, no matter what, when closed. Is there a way to forcibily only allow xfce power manager to handle the close lid behavior?
I am turning my old laptop into a simple desktop. I have Ubuntu 11.04 working on it great, but now I want to do this now. Please help me. I love Ubuntu, but I am new to linux and need help. If you ask me to do something in Windows, I will most likely know how to do it. But not with linux.
I was transferring some files from my external USB hard drive onto my laptop (running 64bit Karmic), and my laptop froze up for whatever reason.Everything on the screen stopped and the Scroll Lock and Caps Lock LEDs began flashing.Not knowing anything else to do, I hard booted off with the power switch.At this point, I was concerned if anything on either hard rive would be damagedI booted my laptop back up, and all seemed well until I trued to open my Documents folder.For some reason, Ubuntu will no longer open any folders at allI can't click on ComputerDocuments, Music, etc. When I do, a tab opens in the taskbar that says Opening folder. It stays on screen for about 20 seconds, and then goes away and the folder never opens.The weird part is if I open gEdit and try to load a file, I can see and get to everything.
I connected my HP Pavillion laptop to a 1360x768 Vizio TV. On the TV it displays my laptop but on my laptop it has a black screen. How do I fix it so I can see my laptop screen on my laptop and on my TV at the same time?
I used to be able to do this with this TV as well as my friend's Samsung. I'm using a VGA connector. What should I do to have my laptop screen on my laptop and on my TV at the same time?
I have installed Ubuntu (both 10.10 and 11.04 pre-release) on my laptop but my battery is not recognized and it is detected as a desktop system rather than a laptop. I have tried the cat /proc/acpi/battery/BAT1/state method but the directory doesn't exist. I have tried another guide to paste the battery info into this directory but it doesn't allow me to do that and says that the directory doesn't exist, even though I'm trying to make it. I tried it in root nautilus and even on an install of Lubuntu (with a root file manager) but it still failed to budge. I really don't know what to do as I have tried all the guides on the internet that I could find.
When I change the "When laptop lid is closed" option in Gnome Power Manager to either "Blank Screen" or "Do Nothing" (by manually using gconf-editor), the screen itself doesn't turn off when the lid is closed. Obviously not a huge deal, as I could just change the "idle before sleep" on certain occasions, but I liked that setting it to "Do Nothing" previously would actually turn off the screen when the lid was closed.
Is there a way of closing just 1 folder. I open documents folder then open a folder that's in documents then open a folder that's in the 2nd folder, if I want to close any of those folders it closes all of them. I know I can right click on a folder and select open in a new window which I then can close without closing all folders,is there a setting that let's you always open folders in a new window by double clicking on the folder?
I just installed Ubuntu 11.04. But I have a problem. I am not able to close the apps or programs I open. The bar with the close, minimize and ( fill screen botton, what ever ) is gone! I'm not quite sure what I did.. I enabled the Cube in compiz, and the wobbily windows, and then the bar dissapeared. I put everything back to what it was, but the top bar on the widows is gone.
I'm running Ubuntu in a virtual machine inside win7. I've installed the game FreeCol, played a bit and when i try to quit the game doesn't close. I can continue playing but i'm basically trap in the application. Is there any keyboard command i can use to force quiting the application? Or any other idea on how to proceed? Could it be a limitation of the virtualization?
when my PC hangs my terminal do not open and it is not possible to go to System->Administration->System Monitor and close the unresponsive programs. Is there any way to close the unresponsive programs?
I opened MPlayer, two boxes opened, both a blank and will not close. System manager does not show it and "ALT-F2" typed xkill and clicked on bottom tray button does nothing. I opened second MPlayer and it closed but not first one.
If I want to open a terminal, run a script in it and have that script close that specific terminal wherein I ran the script, how do I do that? The exit command doesn't work.
I just installed ubuntu 10.4 and when I close my laptop, it does not go to sleep. The hard drive is still on and the computer is still working even after I have closed it.
If I Ctl-W, it sometimes closes a tab and other times it has no effect. This relates to browser windows. If I select the command from the menu in FF, it always works and then the next Ctl-W works. The first Ctl-W closes a tab too. There is no obvious pattern, sometimes a sequence of Ctl-Ws will close a series of tabs.
Tried a new keyboard, but that didn't make any difference. Other browsers, even in a VMware window running Win 7, shows the same behavior. However, once a long sequence of tabs were closed without any problem with Safari in Win 7.
I need to close my session but the exit button is no longer here. I can restart the computer (ctrl+alt_del), but not only the session. I opened a session with the gnome desktop but everytime is messed up and I want to come back to the UNE desktop. How can I do that from a terminal?
I'm having some strange issues with my HP Probook. The resolution changes (lower) after I close and open the lid again. Only a restart will fix this problem. Sometimes happens even when I normally turn the computer on, only a restart will fix it...
I'm trying to backup my data files to a DVD+RW and for some reason even though I set k3b to "No Multisession" k3b doesn't close the DVD. What do I have to do to make k3b burn a data DVD+RW and close the stupid thing instead of leaving it open for more data?
i started up my computer today and i didnt have a task bar so i opened terminal and ran xfce4-panel and my task bar comes back on but i get this on terminal
This makes me feel like a total n00b but I'm trying to figure out how to replace an XML close tag (such as </pagenum> ) with the same XML close tag followed by yet another close tag. (I want every occurrence of '</pagenum>' to be replaced with '</pagenum></p>').
I've tried using something like this: Code: sed 's/</pagenum>/</pagenum></p>/' old.xml new.xml What am I missing? Please forgive me. I'm diving head first into RegEx.