Hot answers tagged

100

Laptop batteries typically have onboard firmware to control safe charging & discharging of the battery, report battery charge level to the OS, and prevent thermal runaway, which is what will cause an Li-ion battery to explode (or more accurately, catch fire). Most modern ones also contain mechanical failsafes to prevent such fires & explosions. This ...


93

Edit /etc/systemd/logind.conf and make sure you have, HandleLidSwitch=ignore which will make it ignore the lid being closed. (You may need to also undo the other changes you've made). Then, you'll want to reload logind.conf to make your changes go into effect (thanks to Ehtesh Choudhury for pointing this out in the comments): systemctl restart systemd-...


33

Thankfully, there is no Linux equivalent of the Windows registry. Configuration is kept in (mostly) text files: The system configuration is in text files under /etc. The system state, which in Windows ends up mixed with configuration data, lives under /var. User configuration and state lives in “dot files”, i.e., files and directories whose name begins ...


26

I think all batteries can explode. The question is if Linux (an operating system using the Linux kernel) will generate more heat or not. With good use of the fan (equally good use of the fan as other operating systems might employ), the cooling should be equal or better, thus resulting in a similar (or perhaps even reduced) risk of battery explosion. There ...


18

I'm not sure what issues you're constantly experiencing but I run Gentoo on Lenovo Thinkpad without problems (fingerprint reader does not work) - with possible problems with removal of BKL in recent kernels (however 2.6.33 worked ok). Previously I used IBM Thinkpad. From my small experience with them: Thinkpads seems to have a community which helps ...


14

No, it doesn't. The issue isn't with the type of disk (spinning/non-spinning), it's with committing disk buffers from RAM to disk. If the power goes out suddenly, some of these buffers may never get committed to disk, and having barriers enabled improves your chances of recovering the filesystem. There's also an additional issue with the disk's on-board ...


11

There seems to be no way to log this data to a file. For the boot process, there is the bootlogd package which creates the file /var/log/boot, but nothing for the shutdown/reboot process. As far as I can see there is no way to log with rsyslog either, and even if there was, there are messages printed after rsyslog is stopped. Part of my shutdown/reboot ...


11

Solved : Open the file /etc/systemd/logind.conf as root. Find this: HandleLidSwitch If it's commented, uncomment and change the value to ignore. The line after editing should be: HandleLidSwitch=ignore Restart computer and your problem should be gone. Or better restart logind service: sudo service systemd-logind restart Found the solution here : http://...


11

I'm pretty sure that an OS has no capabilities to destroy a battery (be it Linux OS, Windows, etc.). A malfunctioning program (and not Linux by itself) can overload a laptop/PC up to the point that, for example, it can enter CPU thermal protection. But a fresh Linux install will not damage any hardware (if it does, than something is terribly wrong with ...


10

You can check on this site: http://www.linux-laptop.net/ You look a lot of laptops and their level of "compatibility" with distributions of GNU/Linux that other user have tested, maybe you can find something that you like there.


10

There is no point in disabling logging because of SSD characteristics. SSD firmwares are even able to distribute repeated writes to the same sector 'wear leveling' - and the specified maximal write cycle count (for each sector) is quite high. For example Hitachi specifies its SSD drives for '10 full drive writes per day for five years'. As a vendor, you ...


8

This will vary from user to user and is subjective, but I think Ubuntu is very easy to install and use (certainly a far cry from the good old days of 20 floppy disks and slackware :-) Specifically, Ubuntu has never let me down in detecting and configuring itself to the host hardware, so that's a definite plus. Also, it comes with a live CD, so you can try ...


8

Powertop is not a permanent tool, as you know, so you will have to setup your system to run the commands through sysctl, udev, systemd units, scripts, whatever... In order to see what commands are used by powertop you will have to run powertop --html BEFORE MAKING ANY CHANGES, that is, BEFORE toggling the settings from Bad to Good. If you already tuned for ...


8

So, it sounds like you have not installed a boot loader (e.g. grub) on the disk. This means that although you have a valid OS on it, there is no way to boot it and so you can't use it. You need to attach the HDD to a working computer (you can use a live CD), set up a chroot environment and install grub on it. Mount the partition you will be using as / (I ...


7

I'd suggest buying one with Linux preinstalled so you know the hardware is compatible. Dell still sells some, though not sure if you can still use the web interface... Rumor has it you have to call now...


7

I just got my T440s, installed Arch Linux on it and can confirm that Fn+Esc locks the Fn keys to their "proper" function. No user-intervention needed to get it working, and Arch just installs the stock kernel so no magic pathes present. The thinkpad_acpi kernel module is loaded, tp_smapi not (and refuses to be), haven't tried without them. Side effect: a ...


7

Why is it called eDP1? Because it is an embedded display port style adapter, and not a video graphics array style one.


6

You can use USB monitor. IIRC the Linux have support for those. You can also buy USB to VGA adapter. In any case there may be some problems with graphic card etc.


6

Right now I am answering this with my notebook connected to a monitor. To have my desktop extended I use xrandr and its graphical interface ARandR, both of them working pretty well. Indeed I have a script, which I execute everytime I log to my notebook having the screen attached to it: #!/bin/sh xrandr --output LVDS1 --mode 1280x800 --pos 0x0 --rotate ...


6

4GB is tons of RAM. You do not have to be contemplating "lightweight" distros at all. A large project is a large project, but I am a little bit curious as to why you believe that working on one requires a correspondingly large amount of RAM, because generally it does not. I have done R on R stuff in the past and I know that is not resource light but it does ...


5

If you want to push the freedom exigence as far as possible, you would also want a coreboot, U-Boot or PMON BIOS. The best (only?) option, in this case, is RMS's laptop: a Lemote YeeLoong, using PMON. It is however rather small (either 8.9'' or 10'') and underpowered, but very cheap. Check out "Lemote linux PC and Linux laptops" When it comes to choosing a ...


5

Xdmx is not that hard (though it will have issues here and there depending on hardware), and is a good, cheap way to add an extra monitor – you can use an iPad or any other device that supports running an X Server. IBM DeveloperWorks guide to Xdmx: Distributed multihead support with Linux and Xdmx EDIT: I've found it much more effective to run ...


5

Matrox have little external boxes that will turn a single VGA into a double or triple VGA or DVI. I ran my laptop with my main laptop screen and 2 external screens using one. Not sure how well the linux drivers work though. I was using WinXP, the one after that, and OSX at the time on the Thinkpad T60. From a quick search: http://www.linuxquestions.org/...


5

My experience is mostly with Dell latitude series of laptops. Looking for Linux compatibility, their actual series is a go, and, on Fedora, they work with all the power saving features (suspend, resume, disk spinning...) I am not biased, but Intel hardware (Centrino brands, Core2 Duo, new Core i3, i5 and i7) are good to go, mostly because all of the ...


5

The problem with notebooks with Linux preinstalled is which distro comes with them. I've bought one which had an unknown distro (Satux) that was Debian-based, but included proprietary drivers and no access to the sources for the distro or drivers. When I finally decided to install Ubuntu over it, I started to have to chase drivers all around the internet, ...


5

The Wikipedia page "Netbook" lists several ARM-based- and MIPS-based netbooks. "HP Compaq Airlife 100 ... for €230" is apparently "HP's ARM-powered Android netbook" (two links) ARM netbook sells for $80 "A Hong Kong-based manufacturer is shipping a Linux-based ultra-mini PC (UMPC) laptop for only $250 ... Based on an "industry standard" RISC-based ...


5

UEFI has nothing to do with power management. ACPI manages power. UEFI indicates modern firmware than BIOS and newer platform, thus improved power efficiency. This might be a correlation. The PM subsystem is different from UEFI. Linux includes a whole range of power management functionalities, though unrelated to UEFI, like cpufreq, intel_pstate, pcie_aspm, ...


5

I do not have this laptop but given the impeccable support of Linux under any of the Thinkpad models I've had from the T40's up to the T410 I'm currently using I would be utterly shocked if those buttons didn't just work as they should. From my 10+ years of using Thinkpads with various Linux distros everything has typically worked without issue, even down ...


5

I'm sorry but the question is wrong! It isn't whether a Linux laptop battery can explode, but whether any laptop's battery could explode. The latter question is indeed correct and, depending on what was done, how it was recharged and what was done to it, yes depending on the situation, it is unfortunately possible that a laptop's battery can explode just ...



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