Skip to content

u/9233

In this archive from Mar 2015 to Mar 2017

5
posts
25
comments
1
media
278
score

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 .

1 points

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.

1 points

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.

1 points

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 :)

2 points

That's actually a really good solution. Works like a charm every time i tried. If someone needs a bit of clarification:

  1. Connect to the WiFi on your phone.
  2. Plug in your phone to your arch machine
  3. Enable USB tethering in the phone's settings
  4. Run "ip link" on your arch machine to figure out what the network interface of your Phone is called (something like enp0s20u3)
  5. Run (as root) "dhcpcd enp0s20u3"
  6. Now you have a working Internet connection and could install something like networkmanager to be able to connect to the WPA-Enterprise WiFi.
7 points

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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 :)

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.