xev | grep keycode in a terminal under X. Then, with focus in the white window that appears, press the g and the actual alt key and post the output. We might be able to remap those key codes.
I like the bind-mount idea, but if I understand correctly, I would still have to create a folder that serves as a mount point, thus having a empty folder afterwards (which has no advantage over the broken symlink AND is harder to identify).
Thank you for your thoughts!
My initial approach was in fact copying to /usr/lib/modules/, but I wanted to save myself the extra systemd service (keeping it simple) and since I never managed to use up my 16 GB of RAM, there was no downside for me.
downgrading the kernel after you upgraded it, because then your modules' folder would already exist
I don't see how this can be a problem, since all previously created symlinks are removed before I downgrade. And since the symlink only gets created if the folder doesn't exist this shouldn't be a problem either. Or am I missing something?
As for the extra modules directory, I might include that one just to be safe, even though I haven't seen it being used yet .
The issue was described recently in this thread and many many others in the forums.
Those two patches are part of version 4.7 which should hit [core] soon.
I already installed the 4.7 kernel from the AUR (linux-mainline) and did some heavy testing, which showed no issues!
I basically have the same issue you described. Haven't checked if it's exactly over one third of the RAM when it fails, but I'll try out and report back.
The biggest problem with this is that all logs get lost and therefore I haven't been able to get more information on why it fails.
I can't overstate how awesome termux is. It's basically a terminal emulator that features an apt package manager (no pacman unfortunately) and hundreds of precompiled packages in its repository.
I mostly use it for SSH purposes in both directions (transfer files from the phone via scp etc) and as a password manager, using pass. But the possibilities are endless.
I had this issue too, but couldn't find a solution at the time so i sticked with Compton. I haven't noticed any performance/battery drawbacks because of it.
Thanks for checking it out!
I initially also took your approach, running it in a cron job, but then you couldn't account for the daily changes in sunrise/set time.
So the next approach was to use sunwait to calculate the times exactly, which I'm still using now, but using it's main functionally, letting it wait until a change happens. But that didn't work out so well for me, because i tend to put my machine into sleep state a lot, which would result in the wallpaper being wrong for as long as it takes for the sun state to change again.
That's when I decided to make it check for changes every 5 min, which isn't the most elegant solution.
But I think I'm gonna try, using the waiting approach again, but with the addition of calling the script every time my machine wakes from sleep.
There are some awesome wallpaper sets out there that are perfect for this purpose, like those
Another cool one would be this but unfortunately it lacks both, dawn and night versions.
If you know of any other set of wallpapers that would fit, feel free to share them :)
I did this exact thing with a friend of mine on his MSI GS60 and it was fairly easy.
We went with Gummiboot as a bootloder, which automatically configures Windows as a boot option, so you don't have to worry about that. Just follow this steps:
Note that whenever you read ESP, we are referring to the EFI system partition.
Make sure your EFI system partition (which also houses the windows bootloder) is big enough. 200 MB would be good, but 100MB should also work if you don't plan to have multiple kernels installed.
Mount your EFI partition on /boot. This makes things much easier in the future. If haven't pacstraped already, make sure you mount it before. Otherwise you would have to manually copy your initramfs and vmlinuz-linux file to your ESP.
Install Gummiboot and add an entry for Arch Linux (this is well documented in the Wiki). Now edit the $esp/loader/loader.conf to fit your needs.
You are just viewing it from a different perspective. By default TLP suspends USB devices (except for mass storage) to save power. Therefore devices on the suspend-blacklist are those who do not get suspended.
You basically just have to find out the USB ID of your device using the "lsusb" command (should look like this: 18d1:4ee2) and then add this line to your
/etc/default/tlp:
Do you have any power saver, like TLP or Powertop, installed?
If so, you would have to manually add your phone to a whitelist.
I had the problem where my charging indicator would light up for about two seconds and then stop.
Try this:
xev | grep keycodein a terminal under X. Then, with focus in the white window that appears, press the g and the actual alt key and post the output. We might be able to remap those key codes.I like the bind-mount idea, but if I understand correctly, I would still have to create a folder that serves as a mount point, thus having a empty folder afterwards (which has no advantage over the broken symlink AND is harder to identify).
Thank you for your thoughts! My initial approach was in fact copying to
/usr/lib/modules/, but I wanted to save myself the extra systemd service (keeping it simple) and since I never managed to use up my 16 GB of RAM, there was no downside for me.I don't see how this can be a problem, since all previously created symlinks are removed before I downgrade. And since the symlink only gets created if the folder doesn't exist this shouldn't be a problem either. Or am I missing something?
As for the extra modules directory, I might include that one just to be safe, even though I haven't seen it being used yet .
nm-applet requires gnome-keyring to be able to save passwords, if that's whats not working for you.
The exact issue described most certainly is, but there might of course be other issues unfixed.
If it's the same as described, yes, i think so.
But you can of course try it yourself.
Keep in mind that this is not a device specific problem, so it doesn't just apply for ThinkPads, but for many other Intel based laptops as well.
The issue was described recently in this thread and many many others in the forums.
Those two patches are part of version 4.7 which should hit [core] soon.
I already installed the 4.7 kernel from the AUR (linux-mainline) and did some heavy testing, which showed no issues!
Great news: https://bugzilla.kernel.org/show_bug.cgi?id=104771 This issue was fixed in the kernel v4.7.
I installed 4.7 from AUR and ran several tests and it worked!
I basically have the same issue you described. Haven't checked if it's exactly over one third of the RAM when it fails, but I'll try out and report back.
The biggest problem with this is that all logs get lost and therefore I haven't been able to get more information on why it fails.
I can't overstate how awesome termux is. It's basically a terminal emulator that features an apt package manager (no pacman unfortunately) and hundreds of precompiled packages in its repository.
I mostly use it for SSH purposes in both directions (transfer files from the phone via scp etc) and as a password manager, using pass. But the possibilities are endless.
I had this issue too, but couldn't find a solution at the time so i sticked with Compton. I haven't noticed any performance/battery drawbacks because of it.
Thanks for checking it out!
I initially also took your approach, running it in a cron job, but then you couldn't account for the daily changes in sunrise/set time.
So the next approach was to use sunwait to calculate the times exactly, which I'm still using now, but using it's main functionally, letting it wait until a change happens. But that didn't work out so well for me, because i tend to put my machine into sleep state a lot, which would result in the wallpaper being wrong for as long as it takes for the sun state to change again.
That's when I decided to make it check for changes every 5 min, which isn't the most elegant solution.
But I think I'm gonna try, using the waiting approach again, but with the addition of calling the script every time my machine wakes from sleep.
For all of you day and night ricers out there, I've written a small script that sets your wallpaper according to daytime (dawn, day, dusk, night)
GitHub source and instructions
There are some awesome wallpaper sets out there that are perfect for this purpose, like those Another cool one would be this but unfortunately it lacks both, dawn and night versions.
If you know of any other set of wallpapers that would fit, feel free to share them :)
Had similar issues, this could help you: https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate#Instantaneous_wakeups_from_suspend
make sure to checkout the forum thread linked in the wiki section for more information.
That's actually a really good solution. Works like a charm every time i tried. If someone needs a bit of clarification:
That's actually a great idea, I'm gonna try it out. Thanks!
From what I know this is only possible for the whole Desktop and not for just one part of it, right?
Unfortunately it's not always just one type of window that I'd like to have stacked. I was hoping for some kind of workaround
You are living the dream ;-)
I did this exact thing with a friend of mine on his MSI GS60 and it was fairly easy. We went with Gummiboot as a bootloder, which automatically configures Windows as a boot option, so you don't have to worry about that. Just follow this steps:
Note that whenever you read ESP, we are referring to the EFI system partition.
Make sure your EFI system partition (which also houses the windows bootloder) is big enough. 200 MB would be good, but 100MB should also work if you don't plan to have multiple kernels installed.
Mount your EFI partition on /boot. This makes things much easier in the future. If haven't pacstraped already, make sure you mount it before. Otherwise you would have to manually copy your initramfs and vmlinuz-linux file to your ESP.
Install Gummiboot and add an entry for Arch Linux (this is well documented in the Wiki). Now edit the $esp/loader/loader.conf to fit your needs.
Add the mdadm Hook to your mkinitcpio.conf https://wiki.archlinux.org/index.php/RAID#Add_mdadm_hook_to_mkinitcpio.conf
I think this was all we had to do. Good luck :)
You are just viewing it from a different perspective. By default TLP suspends USB devices (except for mass storage) to save power. Therefore devices on the suspend-blacklist are those who do not get suspended.
works perfectly, thanks!!
Great! You're welcome.
You basically just have to find out the USB ID of your device using the "lsusb" command (should look like this: 18d1:4ee2) and then add this line to your /etc/default/tlp:
Do you have any power saver, like TLP or Powertop, installed? If so, you would have to manually add your phone to a whitelist. I had the problem where my charging indicator would light up for about two seconds and then stop.
End of this list.
Back to top