Removing All Icons from a Mac’s Desktop

I shuffle back and forth between a Mac, and Linux Desktop, and have become acclimated to not having any icons appear on my desktop, like my current linux distro of choice (Manjaro i3 Community Edition) displays out of the box. It just makes things less cluttered, and helps you keep focus when starting your day. I wanted to make my Mac behave this way, and found these commands to help me do the trick.

Fire up a terminal window. In the terminal window type:

defaults write CreateDesktop false

And then, restart finder:

killall Finder

Remember, in a unix or unix like terminal Caps matter!

If you miss the clutter, it’s just as easy to make these icons show up again. In your terminal, type:

defaults write CreateDesktop true

and again, restart finder:

killall Finder


Managing Locally Created Endpoint Docker Portainer Container

On Linux and when using Docker for Mac or Docker for Windows or Docker Toolbox, ensure that you have started Portainer container with the following Docker flag -v "/var/run/docker.sock:/var/run/docker.sock"
Need a new Mac? Check out the new Macbook Pro from Apple.

Invisible Text in Form Input Fields (Firefox & and Dark GTK Themes)

If you are using Firefox with a dark GTK theme, you may have trouble seeing some input fields text in Firefox. The easiest way to fix this is with an extension. This one works like a champ:

Want to win at Firefox? Check out this book.


Opening a Firefox page without address bar and/or tabs

I’ve been moving back to Firefox from Chrome over the last couple months. One of the last uses for chrome was the command line option that allowed me to open a webpage as an app using:

google-chrome-stable app=

Well, I found a way to do this with Firefox, sure the command is a little longer, but that doesn’t matter too much when I just use a script anyway. Here’s the Firefox command:

firefox -url 'data:text/html;charset=utf-8,<!DOCTYPE html><html><body><script>"", "_blank","height=400,width=600,menubar=no,location=no,toolbar=no,left=100,top=100")<%2Fscript><%2Fbody><%2Fhtml>'

Building Native Linux Apps from Webpages with Nativefier

For a long time now, when I’ve wanted to open a page as something closer to a native app, I’ve been using Google Chromes/Chromiums –app command line switch. Like this:

Chromium --app=

This works pretty well, but I’ve always just done it from the command line, which left me a little annoyed that I couldn’t launch it in the same way as my other apps. Enter “nativefier”, an app using ‘electron’ to build Webapps on your native OS (works for MacOS, WIndows, or Linux).

To create your native app is super simple, install “nativefier”  open a terminal, and type:

 nativefier --name codeanywhere

Where the URL is the page you want to make an app from, and the name is the name of the app without spaces.

Optional: For me, an avid I3wm user, I also went ahead and created a symbolic link in /usr/local/bin so that I can launch my new app from Dmenu.

 sudo ln -s /home/don/tmobiledigits-linux-x64/tmobiledigits /usr/local/bin/tmobiledigits

That’s it, you should now be rocking a webpage as a native application!

Ready to make the jump to Linux? Hope over to System76 and get yourself a sweet Linux rig!


Wifi Gui – Arch Linux – I3wm

I got sick of using the wifi-menu command everytime I started up my Arch Linux i3 box pretty quick, so I had to figure out how to get networkmanager going after the fact. Here’s how:

Install the networkmanager package, you’ll probably want the network-manager-applet package too (to put an icon in your taskbar). Now you’re probably thinking… this should frickety work now, right? Not so fast, you’ve got to enable and start the networkmanager service to make your headache stop:

 systemctl enable NetworkManager.service

and then:

 systemctl start NetworkManager.service

Finally, if you’re using i3wm, you’re gonna wanna put the applet in your ~/.config/i3/config file so it runs at startup:

exec nm-applet

Now, you can rest your weary hands, at startup, and connect automagically.

Love Arch Linux? Buy a T-shirt to show your love.


Arch Linux – Gnome Keyring Not Working – Evolution

I’ve been dealing with evolution asking for a password every time I send an email, or open the application for a couple days now, and had finally had enough. The solution, was to install the Gnome Keyring, and Seahorse and then enter the following into my ~/.xinitrc file as I am using the console to open my I3 Session:


eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
source /etc/X11/xinit/xinitrc.d/

Oh thank heavens for a functioning Google machine!

Looking for some Arch Apparel? Get a T-shirt to show your love at Amazon.

Getting ProxyAddresses from Get-ADuser in Powershell

This one for some reason always get’s me, and it always takes me longer than it should to find the answer… so if nothing else, this post is so I have quick access to the answer. To get the Proxyaddresses from the get-aduser cmdlet we can use the name and expression (or n= and  e=) pieces of Powershell. Proxy addresses cannot be pulled from Powershell directly as they are not a member of that command. The members of any command can be viewed by using the following:

get-aduser | get-member

Where get-aduser is replaced by your CmdLet. So, now that we know it is not a member of that command, how do we extract the proxyaddress information from powershell? …Use the -properties operator and the Name and Expression form to properly format the information.

This gets you the information:

get-aduser myuser -properties proxyaddresses

However, that doesn’t allow you to export that information… try the following:

get-aduser myuser -properties proxyaddresses | export-csv test.csv

This returns garbage where you’d hope your proxy addresses would be. To resolve this, pull the property, and then call it into your csv:

get-aduser myuser -properties * | select-object name, samaccountname, surname, enabled, @{"name"="proxyaddresses";"expression"={$_.proxyaddresses}} | Export-Csv test.csv

To be clear, following “name=” can be anything you want… it will be the header for the information you are calling. The “expression=” is calling the actual value. $_. is what is allowing you to access the value of “proxyaddresses” in the array.

Learning Powershell? This is a great book to help get you started.

Manjaro – I3wm – Tap to Click – xf86-input-libinput

For some reason, on Manjaro’s I3wm Community edition the tap to click feature is not set up out of the box. Here’s the fix:

  1. Create a config file from your terminal shell: sudo touch /etc/X11/xorg.conf.d/30-touchpad.conf
  2. Open the file in nano: sudo nano /etc/X11/xorg.conf.d/30-touchpad.conf
  3. Paste in the following code, and save out the file:
    Section "InputClass"
    Identifier "MyTouchpad"
    MatchIsTouchpad "on"
    Driver "libinput"
    Option "Tapping" "on"
  4. Logout/in (or just restart) and now tap to click should be working once again!

Top Seven Linux Terminal Apps

I spent the last month or two playing (instead of working) in the Linux command line. As it turns out, the terminal is awesome for more than just system management. These apps make most modern Android apps blush in embarrassment:

7. Lynx (Web Browser) – Experience the web from the command line. Lynx is a great tool for bowsing the web without all the ads and bloat.

6. Mplayer (media player) – An absolute necessity if you’re going to use some of the other apps in this list. Mplayer is the VLC of the command line.

5. Nano (text editor) Okay, I’ll say it… I hate VIM. Yes, I’m aware that if I used it more I’d probably like it more, but with modern GUI editors being so good… It’s nice to have a terminal editor that feels a little more like home.

4. Newsbeuter/Podbeuter (podcast mgmt.) – Newsbeuter manages your podcast/rss feeds, and Podbeuter downloads them. I’ve used to get the URLs of my favorite podcasts.

3. Torrentflix (Netflix on steroids) – Personally, I’ve made the switch to not pirating content. So even though you can STREAM a bunch of paid content for free with this app… I only use it to stream free items, or stuff I’ve already bought. (Like Vodcasts)

2. Pianobar (Pandora Radio Client) – This app destroys any other Pandora client. It’s lightweight, with quick controls, and streams ad free Pandora.

1. MPS-Youtube (All of Youtube) – A fantastic app to stream your favorite song, or download any youtube video for viewing. If you’re on an Debian based distro, you’ll need to do a little extra legwork to get this running, but it’ll definitely be worth it.

Love the terminal? Check out I3WM to absolutely crush  your workflow (in a good way).