Hey I just decided to release a set of tools I have been working on for a while, to make my usage of my VPN more comfortable. To quote from the README:
For vpn-whitelist:
Whitelist addresses (domains and IPs) to bypass an active VPN connection. This entails adding specific routes to the routing table and optionally creating a whitelist rule in UFW. These rules and routes can be easily removed later.
If you use and have enabled NetworkManager and NetworkManager-dispatcher systemd-units, you can also put addresses in /etc/vpn-whitelist.conf to be automatically whitelisted when a VPN tunnel goes up and remove them when it goes down.
For vpn-whitelist-dns-proxy
This is a DNS proxy that monitors requested domains, automatically whitelists them using vpn-whitelist if any of the provided regular expressions match and then forwards the reply. This is obviously not possible with just vpn-whitelist because there's no easy way to find all domains and sub-domains that match a given regular expression -- so we simply monitor which domains your system is trying to resolve, and match on those.
Personally I use these to access domains/addresses that blocked my VPN's endpoints' IPs or use the DNS proxy to speed up my connection to Twitch CDNs. There's a PKGBUILD in the repo if you want to try it. I haven't planned to put it up on the AUR so far, this might change if there's big interest or someone else wants to do so.
Yes, according to the other threads it at least seems related, although I am up-to-date including systemd 242.0-1 and was able to start X with NVIDIA drivers. Strange.
I had this issue with linux-lts. SDDM's journal looked fine, so I assumed the issue is with X. I can boot with linux. Switching to a tty was possible though, using Ctrl+Alt+Fn.
And it looks like you absolutely succeeded in that. Makes me more motivated to write proper documentation for my projects as well, although I did start type hinting recently. Anyways, great job!
The idea and the code and documentation behind it look absolutely great. Very well done! This looks like it should become a standard tool in the "ricing" community.
I don't play many games actually, but I tested this with Minecraft and it works perfectly. If I use the -b -m 0 options, the whole room goes nearly completely dark once I enter a cave and lights up again when I place a torch -- quite neat! I assume this probably works for all games then.
I don't think video cards should have any effect on the script, since Qt most likely directly talks to X11 and (assumingly) requests what the screen looks like. CPU overhead depends: I have a really, really old i7-930 and if I set -i 0 (no sleep between calculations) the maximum I can get it to use is around 10%. With the default option of 0.1 it's a much more bearable 3-5% (keep in mind that this is still updating the lights around 10 times per second!).
Hey, I made this recently. If you have a Philips Hue Bridge (and lights compatible with it), this will allow you to create "ambient lighting" based on the contents of your desktop. Basically, if you have mostly red colors on your screen, the lights will light up in that color. Amby also supports adjusting brightness based on the perceived luminance of the calculated ambient color.
Amby is inspired by ScreenBloom, which doesn't support Linux, so I came up with my own solution. Ideally the result should look similar to this (screenshot taken from the ScreenBloom project -- my room is too scrubby for a video), depending on how you set it up.
As always, looks really great, however the font in the file manager looks a bit thin in my opinion. I've seen quite a few openbox setups recently, I might have to try it myself.
I'm always able to tell when it's a post by you by just looking at the screenshot: a minimalistic desktop with a high-contrast and pleasant color-theme, along with an interesting Python project opened in some way.
Thanks for posting, I always enjoy these, even though my own setup is very vanilla.
This is what seems to have changed. Apparently the default uuid and dbus users are not created in filesystem anymore, but instead in their respective packages. So simply ignoring this change and removing the pacnew files should be fine.
But really I was worried that someone would use it to copy my desktop setup, or even worse, make something cooler than mine.
This is kind of what I had suspected, but didn't want to mention haha. Thanks for finally coming around :)! That is really nice Python code; then again so is peewee, which I also love -- I shouldn't have expected anything else.
Correct, if the (D)VCS-repository (git, hg, svn, etc.) specified in the development package hasn't had any new commits, it won't rebuild the package. If you want to force a rebuild you can append --rebuild to the arguments.
There is pacaur's --devel flag. Doing something like pacaur -Syu --devel --needed should update all repository and AUR packages, check and update development packages and rebuild and install them if necessary.
Comment out the following line in "/etc/pulse/default.pa":
load-module module-role-cork
This is a "feature" enabled by default in the PulseAudio configuration: "Cork music/video streams when a phone stream is active". Since TeamSpeak uses the phone stream for its PulseAudio output the module activates. Don't forget to switch back to PulseAudio in Teamspeak after changing it. A restart might be needed.
I use the PyCharm Community edition from the AUR, and my fonts in it look fine after having edited the /etc/profile.d/jre.sh according to the guide. Are you sure that you restarted after having set these options (and are actually using the OpenJDK/JRE packages?). Maybe I'm just used to it already -- if you name the font you are using in the screenshot (and size settings), I could create a screenshot for you showing you how it looks on my system.
What? You download the PKGBUILD with wget, inspect it by hand, and then decide to run makepkg on it -- if you decide to blindly trust the contents that's on you, not makepkg.
Yaourt however gives you the illusion of being able to inspect a PKGBUILD beforehand, what you don't realize is, that at that point the PKGBUILD was already sourced. I'm confused why you were upvoted.
You need to follow the instructions in the guide much more closely, nowhere does it say to simply remove freetype2 like that, which is really dangerous.
You really want the AUR font metapackage, they provide really nice and well-hinted fonts as substitutions for commonly used fonts. If you do not install the metapackage, the fonts you'll see will look worse in general.
Yup, they guide says similar not identical. Infinality-patched rendering still looks slightly better overall, however the default freetype2 is IMHO good enough.
You might be right, symlinking them instead allows other configurations with a higher prefix to work, including unhint instructions etc. This is why I said that I'm still figuring stuff out myself, haha.
EDIT: I changed the guide to reflect this, more information is in the changelog at the top, thank you.
Thanks for the flowers! But I'm really not the only one responsible for this: special thanks should go to DoctorJellyface, tylerswagar (unfortunately I don't know their reddit accounts) and all the commenters in the gist.
That being said: I'm open to all kinds of suggestions, especially regarding "/etc/fonts/local.conf". I am fully aware that the configuration in there is currently probably much less thorough than it used to be with Infinality, but unfortunately I'm too much of a hack with fontconfig to actually know or recognize if something is missing or working differently now than it used to with Infinality.
The only difference I currently see, is that the current configuration provides exactly one alternative replacement font for each substitution entry for example -- whereas Infinality did something more complex with multiple fallback fonts. However, I can't imagine why this is currently (or was) needed back then, since the fonts listed here should always be installed along the fontconfig configuration.
Another thing I'm a bit confused about is that in theory it should be possible to remove some settings made in the "/etc/fonts/local.conf" file and instead symlink some already available presets from "/etc/fonts/conf.avail" to the directory -- however when doing so the fonts clearly seem to render differently, and I'm confused as to why. It seems to be a priority issue in the order of evaluation for the various configuration files, or the fact that in the "local.conf" currently each of the rendering instructions is set explicitly, where as the presets take a more conservative approach (but then again, if that's the case where are those being overriden)?
Well these are just some of my thoughts currently, I'm trying my best to improve it as I get new information.
Hey I just decided to release a set of tools I have been working on for a while, to make my usage of my VPN more comfortable. To quote from the README:
For
vpn-whitelist:For
vpn-whitelist-dns-proxyPersonally I use these to access domains/addresses that blocked my VPN's endpoints' IPs or use the DNS proxy to speed up my connection to Twitch CDNs. There's a PKGBUILD in the repo if you want to try it. I haven't planned to put it up on the AUR so far, this might change if there's big interest or someone else wants to do so.
Yes, according to the other threads it at least seems related, although I am up-to-date including
systemd 242.0-1and was able to start X with NVIDIA drivers. Strange.I had this issue with
linux-lts. SDDM's journal looked fine, so I assumed the issue is with X. I can boot withlinux. Switching to a tty was possible though, using Ctrl+Alt+Fn.And it looks like you absolutely succeeded in that. Makes me more motivated to write proper documentation for my projects as well, although I did start type hinting recently. Anyways, great job!
The idea and the code and documentation behind it look absolutely great. Very well done! This looks like it should become a standard tool in the "ricing" community.
I don't play many games actually, but I tested this with Minecraft and it works perfectly. If I use the
-b -m 0options, the whole room goes nearly completely dark once I enter a cave and lights up again when I place a torch -- quite neat! I assume this probably works for all games then.I don't think video cards should have any effect on the script, since Qt most likely directly talks to X11 and (assumingly) requests what the screen looks like. CPU overhead depends: I have a really, really old i7-930 and if I set
-i 0(no sleep between calculations) the maximum I can get it to use is around 10%. With the default option of 0.1 it's a much more bearable 3-5% (keep in mind that this is still updating the lights around 10 times per second!).Thanks for all the flowers :)!
Hey, I made this recently. If you have a Philips Hue Bridge (and lights compatible with it), this will allow you to create "ambient lighting" based on the contents of your desktop. Basically, if you have mostly red colors on your screen, the lights will light up in that color. Amby also supports adjusting brightness based on the perceived luminance of the calculated ambient color.
Amby is inspired by ScreenBloom, which doesn't support Linux, so I came up with my own solution. Ideally the result should look similar to this (screenshot taken from the ScreenBloom project -- my room is too scrubby for a video), depending on how you set it up.
As always, looks really great, however the font in the file manager looks a bit thin in my opinion. I've seen quite a few openbox setups recently, I might have to try it myself.
I'm always able to tell when it's a post by you by just looking at the screenshot: a minimalistic desktop with a high-contrast and pleasant color-theme, along with an interesting Python project opened in some way.
Thanks for posting, I always enjoy these, even though my own setup is very vanilla.
This is what seems to have changed. Apparently the default uuid and dbus users are not created in filesystem anymore, but instead in their respective packages. So simply ignoring this change and removing the pacnew files should be fine.
Right back at you!
This is really cool, thanks for finally sharing!
This is kind of what I had suspected, but didn't want to mention haha. Thanks for finally coming around :)! That is really nice Python code; then again so is peewee, which I also love -- I shouldn't have expected anything else.
Correct, if the (D)VCS-repository (git, hg, svn, etc.) specified in the development package hasn't had any new commits, it won't rebuild the package. If you want to force a rebuild you can append
--rebuildto the arguments.There is pacaur's
--develflag. Doing something likepacaur -Syu --devel --neededshould update all repository and AUR packages, check and update development packages and rebuild and install them if necessary.Comment out the following line in "/etc/pulse/default.pa":
This is a "feature" enabled by default in the PulseAudio configuration: "Cork music/video streams when a phone stream is active". Since TeamSpeak uses the phone stream for its PulseAudio output the module activates. Don't forget to switch back to PulseAudio in Teamspeak after changing it. A restart might be needed.
I use the PyCharm Community edition from the AUR, and my fonts in it look fine after having edited the
/etc/profile.d/jre.shaccording to the guide. Are you sure that you restarted after having set these options (and are actually using the OpenJDK/JRE packages?). Maybe I'm just used to it already -- if you name the font you are using in the screenshot (and size settings), I could create a screenshot for you showing you how it looks on my system.No, not exactly the same way: it is executed before you choose to run it with Yaourt, that's the whole point. Sourcing something means executing it.
What? You download the PKGBUILD with wget, inspect it by hand, and then decide to run makepkg on it -- if you decide to blindly trust the contents that's on you, not makepkg.
Yaourt however gives you the illusion of being able to inspect a PKGBUILD beforehand, what you don't realize is, that at that point the PKGBUILD was already sourced. I'm confused why you were upvoted.
You need to follow the instructions in the guide much more closely, nowhere does it say to simply remove freetype2 like that, which is really dangerous.
You really want the AUR font metapackage, they provide really nice and well-hinted fonts as substitutions for commonly used fonts. If you do not install the metapackage, the fonts you'll see will look worse in general.
I added some screenshots to the very top, as suggested.
Hey, screenshots are actually linked in the guide!
Yup, they guide says similar not identical. Infinality-patched rendering still looks slightly better overall, however the default freetype2 is IMHO good enough.
You might be right, symlinking them instead allows other configurations with a higher prefix to work, including unhint instructions etc. This is why I said that I'm still figuring stuff out myself, haha.
EDIT: I changed the guide to reflect this, more information is in the changelog at the top, thank you.
Thanks for the flowers! But I'm really not the only one responsible for this: special thanks should go to DoctorJellyface, tylerswagar (unfortunately I don't know their reddit accounts) and all the commenters in the gist.
That being said: I'm open to all kinds of suggestions, especially regarding "/etc/fonts/local.conf". I am fully aware that the configuration in there is currently probably much less thorough than it used to be with Infinality, but unfortunately I'm too much of a hack with fontconfig to actually know or recognize if something is missing or working differently now than it used to with Infinality.
The only difference I currently see, is that the current configuration provides exactly one alternative replacement font for each substitution entry for example -- whereas Infinality did something more complex with multiple fallback fonts. However, I can't imagine why this is currently (or was) needed back then, since the fonts listed here should always be installed along the fontconfig configuration.
Another thing I'm a bit confused about is that in theory it should be possible to remove some settings made in the "/etc/fonts/local.conf" file and instead symlink some already available presets from "/etc/fonts/conf.avail" to the directory -- however when doing so the fonts clearly seem to render differently, and I'm confused as to why. It seems to be a priority issue in the order of evaluation for the various configuration files, or the fact that in the "local.conf" currently each of the rendering instructions is set explicitly, where as the presets take a more conservative approach (but then again, if that's the case where are those being overriden)?
Well these are just some of my thoughts currently, I'm trying my best to improve it as I get new information.