Get Geo Location

Here’s, let’s call it what it is, a hack to get geographical location (longitude & latitude). Code: #!/bin/env perl use warnings; use strict; use LWP::Simple qw ($ua get); $ua->timeout(15); my $geo_url = “https://geoiptool.com”; my $junk = get($geo_url) || die “Problems …

Advertisements
Read more

Yet Another Openbox Pipe-Menu Generator

If you ever used the openbox-menu command and it doesn’t work, chreli-ob-menu is a reasonable alternative(I could have a biased opinion on that though). It is yet another simple perl script (perl is your friend, embrace it) that reads .desktop files in /usr/share/applications and ~/.local/share/applications and generates <openbox_pipe_menu> entries when called from ~/.config/openbox/menu.xml.

Read more