My workplace is largely a Windows based institution. Due to a collaborative project, I was recently asked to access some documents on a Windows Network Drive. I was sent directions for how to add that drive in Windows. Those directions were not that helpful as I, of course, run Linux. As perhaps the only Linux user on my campus, this meant that I had to figure out how to map the Windows Network share to my computer on my own. No problem. I got this.
After a little googling, I figured out I needed to do the following:
(1) Install the packages “samba” and “cifs-util.” You can do this using synaptic or from the command line (sudo apt-get install samba cifs-util).
(2) Once those packages are installed, it’s a good idea to restart your computer.
(3) Now, create a directory where you want to mount the mapped network drive. I put the network drive on my desktop just to test this. I may change that later.
(4) Open a command prompt (e.g., Konsole) and now it’s time to mount the drive to the newly created folder. Here’s the command:
sudo mount -t cifs -o username=[your.username] //[name.of.network.drive]/[name.of.specific.folder] /home/[your.username]/Desktop/[folder.where.you.want.the.drive.mounted]
(5) After you hit enter, you’ll be asked for your password for the network drive. Assuming you didn’t have any typos, you should now have the Windows Network Drive mounted to the folder you created and should have access to all the files inside.
(6) NOTE: This is a temporary mapping of the Windows Network Share. Since I only need to access this Windows Network Share Drive occasionally, I don’t want to set up my computer to map it every time I boot it up. There is a different process for mapping the drive permanently.
(I found the most helpful directions for this here.)
I love how configurable KDE is as a desktop. However, adjusting the look of the desktop is something of a nightmare. There are five different options to adjust different aspects of the desktop and application windows, each of which does different things, but the labels given to these don’t always reflect what the customizations will be. Here’s my best attempt to explain what each of these does.
When you open “System Settings,” at the very top is a set of five icons under the label “Appearance.” These icons are titled: “Workspace Theme,” “Color,” “Font,” “Icons,” and “Application Style.”
If you click on “Workspace Theme,” you’ll get the following options: “Look And Feel,” “Desktop Theme,” “Cursor Theme,” and “Splash Screen.” Here’s what each of these settings adjusts.
Look and Feel
Up until Kubuntu 16.04 (my preferred Linux distribution at the moment), there was always just one option in here – the default “Breeze” option. However, the latest version ships with two options: Breeze and Breeze Dark. Basically, Look and Feel is kind of a one-click change to the entire theme of your desktop. From this color scheme in Breeze:
To this color scheme in Breeze Dark:
This one-click option for changing the color scheme is nice for simplicity, but it doesn’t allow for detailed customizations of the various aspects of your desktop environment. There also isn’t a way to add new options here, which is kind of disappointing as it would be nice to have additional one-click options for changing the entire look and feel of the desktop environment. For now, we’re stuck with two options.
Here’s what you’ll see when you first click on “Desktop Theme”:
The options in here primarily just change the KDE panel color scheme and look. The panel with the default theme, Breeze, applied, looks like this:
Clicking one of the alternatives here, like “Oxygen” leads to this look:
Basically, this allows you to customize the panels and the KDE windows as well as the quick start window (Alt-F2). There is the option to “Get New Themes,” which is nice here as there are many to choose from. But keep in mind that this is basically just for adjusting themes on the desktop (the panel and those items attached to the panel), but this will not change the color schemes of the applications windows (e.g., Dolphin, or the various other programs).
This is actually an option that is pretty clear – you can adjust your cursor options here. I’m not very particular with my cursor, so I don’t usually mess with the default options. But Kubuntu 16.04 ships with three options as you can see on this screenshot:
You also have the option of downloading additional cursor themes.
The last option within Workspace Theme settings is the Splash Screen. At present, you can either have the Breeze theme or None.
Not a lot of options and no way to add additional ones at this point. Granted, this is something you look at while your OS boots, and if your OS boots quickly, what’s the point? But it would be nice to have more than one option here and the ability to add other options.
Scheme is where you can change the colors of the application windows (at least those that use the Plasma desktop environment settings, which isn’t all the programs that you might run). Here’s what you’ll see when you open these system settings:
The default Scheme is “Breeze” again, which looks like this with Dolphin:
Here’s how it changes when you apply the Obsidian Coast theme:
There are a number of themes available and more can be downloaded. But the important thing to remember here is that the themes in this system setting only affect application windows that utilize the Plasma desktop environment. Some applications, like Google Chrome, don’t change at all with these settings. Other applications that use the Plasma desktop environment will, like Kate, Konsole, and even LibreOffice 5, as seen here:
There are three other tabs under the Application Color Scheme: Options, Colors, and Disabled. These allow for more fine tuning of the application windows.
Font is also pretty self-explanatory – here is where you can adjust your fonts.
The Fonts set of options are where you adjust your system wide set of fonts – those that appear at the top of windows, in menus, etc. Again, this isn’t something that matters all that much to me, but it is nice to have these options:
In Font Management you can add and delete the available fonts on your system. I do occasionally adjust this when I’m editing images and need specific fonts (’cause everyone should have a Star Wars font installed on their system). But, again, this is pretty self-explanatory:
The next set of system options for adjusting the appearance of your desktop environment are for icons and emoticons.
There are a number of options in the Icons window that ship with the stock version of Kubuntu, as you can see here:
Here is how the Breeze icons look in Dolphin:
And here is how the Oxygen icons look in Dolphin:
There is the option of installing additional themes for icons as well. These settings change the icons in Dolphin and in the KDE panel.
The emoticons are used for the built in chat software that ships with KDE. Since I don’t use it, I won’t spend much time on this. Basically, you can adjust the default emoticons and install new ones:
The final set of options, Application Style, have a somewhat confusing title. If you recall, to adjust the color of application windows, you do that by going to Color->Scheme (not at all intuitive). In Application Style, you don’t adjust the color of application windows, you adjust the shapes, angles, transparency, etc. Here’s what you see when you first open this option:
Under Widget Style, you adjust the overall “look” of application windows by adjusting lines, radio buttons, boxes, etc. There are a number of pre-installed “Widget styles”. Here’s what application windows look like with the default style, Breeze, applied (again, using Dolphin to demonstrate):
And here is what Dolphin looks like with MS Windows 9x applied:
In Window Decorations, you can adjust the coloring of active and inactive windows as well as the maximize, minimize, and close buttons for application windows. Here’s how Dolphin looks with the default Theme, Breeze, installed:
And here is how it looks with the Plastik theme applied:
This is another system setting where you can download a whole bunch of additional themes. Also, on the second tab, “Buttons,” you can customize the buttons that appear on each application window. One that I like adding is “Keep above,” as I use that regularly.
GNOME Application Style
The last appearance option you can adjust is the GNOME Application Style menu. Basically, this determines the styling for GNOME desktop environment applications that do not utilize the Plasma desktop environment. I don’t use a lot of GNOME applications, but one I like is gprename, a batch renamer that comes from the GNOME desktop environment. Here’s how it looks with the default style, Breeze, applied:
And here is how it looks with the Breeze-Dark theme applied:
This is another setting that includes the option of downloading additional themes.
The reason why I put this list together was primarily because there are (1) so many options for customizing your workspace in KDE and (2) the names of the various options aren’t always that intuitive. Hopefully these descriptions will make it easier for you to customize your workspace how you want it in the future. For me, I prefer a darker themed desktop environment as it seems to be a little friendlier on the eyes. The rest of the options are less important to me. But one of the great advantages of running KDE (and some other Linux desktop environments) is the amazing amount of customizability that is included right out of the box. Have fun modding!
I just upgraded my laptop (Lenovo ThinkPad T540P) to the latest version of Kubuntu – 16.04 with Plasma 5.5.5. Everything was running great until I had an issue with Ark, the archiving program that comes with KDE. It was having an issue unzipping an archive. It seemed to unzip the archive, but the resulting file should have been a directory and instead was being recognized by the operating system as a PDF file. In the process of trying to get the extracted zip file open, I set Ark as an option for opening PDF files using the standard approach: right-click on file, select Properties, click on File Type Options, and then add the new option – Ark.
This didn’t solve my archive problem, but did introduce a new problem with Kubuntu 16.04. Ark became the default program for opening PDF files, which is absolutely not what I want both because Ark can’t open PDFs and because I prefer Okular for this. I tried a dozen times or so to change the file association using the same method I had used to add it above (right-click on a PDF, select Properties, click on File Type Options, etc.) and then deleting Ark as an option or moving it down so it isn’t the default option. Every time I would try this, Ark would re-appear as soon as I hit “Apply” or “OK.”
Since this didn’t work when I was using the quick and easy method of right-clicking, I tried changing the file associations in System Settings. Open up System Settings and click on “Applications”:
Then click on “File Associations” and add PDF in the search bar:
I tried doing the same thing here – delete Ark as an option or moving it down in the preferred order list, and it would just reappear when I hit “Apply.” This is definitely a bug in the new Plasma/Kubuntu version.
I knew there was another location to change these default settings – a txt file that could be edited using something like “kate,” the built in KDE text editor. From a terminal/Konsole, type:
sudo kate /home/[user]/.local/share/applications/mimeapps.list
Once you open that file, you can see some default settings as well as my attempt to remove Ark as a program for opening PDFs:
The information in my mimeapps.list file was correct, but it was still having the same problem of Ark being called as the default program to open PDF files.
After a little searching on the internet, I found a different solution that actually worked (again, suggesting this is a bug in KDE/Plasma/Kubuntu). Apparently, the mimeapps.list in that location is user-specific. There is another mimeapps.list in a different location that is universal for the operating system and not user specific that is located here:
I opened this file using kate:
And removed the Ark connection with PDF files by deleting it so the current version looks like this:
After I did this, the system settings took effect and Ark was no longer the default app called when I tried to open PDF files. This seems like a serious bug in Plasma/Kubuntu that the developers need to fix. It seems as though the operating system wide options are over-riding the user-specific options for the mimeapps.list, which means you cannot change the default file associations in KDE using Kubuntu 16.04.
If you run into this problem, please report it to the Kubuntu/KDE/Plasma developers.
The General Social Survey (GSS) is a long-running, mostly cross-sectional survey of the non-institutionalized adult population in the US (since 1972). Since the beginning, the GSS has asked people about their religious affiliations. While Mormons make up only a very small percentage of the US population (between 1% and 2%), there are enough in the combined GSS (1972-2014) to aggregate them across waves and analyze them (though, of course, there are problems with doing so). In this post, I’m going to show you how to isolate Mormons for analysis in the GSS.
Download the combined waves of the GSS from one of the many GSS repositories (from the GSS website, the ARDA has it, as do other sites).
Second, once you have it downloaded, open it in your preferred data analysis package (I’ll be using SPSS, but you can use whichever one you prefer).
Third, find the variable “other,” which is typically located (depending on the organization of the data set) right after “relig” and “denom.”
The variable “other” has codes for specific Protestant denominations. As you scroll through the various options, you’ll see that there are five options for Mormon: 59=LDS, 60=LDS–Mormon, 61=LDS–Reorganized, 62=LDS–Jesus Christ, Church of Jesus LDS, and 64=Mormon.
If the goal is to analyze members of The Church of Jesus Christ of Latter-day Saints (the group headquartered in SLC), you want just one of these: 64. The other three that you think you would want, 59, 60, and 62, used to be used for SLC Mormons, but as of a few years ago, the GSS folks moved all of these individuals into code 64. So, now, you just need 64.
Once you’ve located the variable, it’s now time to recode the data. Using the recode function of your software package (in SPSS it’s “Transform” -> “Recode into Different Variables”). I generally just create one new variable that I label “Mormon” and dummy code it so those who are Mormon are a “1” and those who are not are a “0”. My recode looks like this:
Just to check your recode, you can run frequencies on this new variable after you’re done and, if you’re using the 1972-2014 combined GSS, you should find 714 Mormons and 58,885 non-Mormons in the GSS after the recode. That’s not a ton of Mormons, but it’s enough to run analyses on them.
(NOTE: Because people have changed a lot over time, it’s pretty common to break up the Mormons in the GSS into decade groups (e.g., 1972-1979, 1980-1989, 1990-1999, and 2000-2014). That shrinks the numbers of Mormons even further, but it likely makes for a more accurate analysis. The number of Mormon participants in any given year ranges from a low of 6 in 1973 to a high of 70 in 2006.)
I’m on my second day here in Buenos Aires, Argentina and am slowly figuring out how life works here. Here are a few of the things I didn’t know about that others may find useful.
How to get from the airport (EZE) to Buenos Aires:
When you arrive at the airport in Buenos Aires (EZE), there isn’t really a way to get to Buenos Aires via train. I’m sure there is a bus, but most people take taxis. You have a number of options, but most of the taxis take cash only. However, there are a few that will take a credit card. You pay in advance and they’ll drop you off at your destination. I used WorldCar, but there is also TiendaLeon, which is highly recommended. These are called “Remis.” You can get one of these just after you clear customs (which is after immigration) but before you walk out into the area where non-ticketed passengers are.
Getting money out of an ATM:
I was planning on using my debit card to get cash at an ATM when I got to the airport since I arrived after the government had gotten rid of the “blue rate” for exchanging currency and everything was a standard exchange rate. I don’t use the money changers (e.g., Travelex) as they screw you over big time (your credit/debit card company will give you a good or the best rate). Turns out, every single ATM in the airport was out of cash. So, that sucked. That’s why I was glad to find the Remis (see point above) that took a credit card. I’ve since tried three other ATMs in various locations around Buenos Aires and my debit card doesn’t work in any of them. I needed some cash to pay for a few things and started getting desperate. Eventually I found out about Xoom. If you’ve got a checking/savings account in the US, this is a great, cheap way to send yourself some money. They have a lot of places where you can pick up the cash (the primary locations are “]More[: Money Transfers” or “Giros” with a fair number of locations). This worked really well for me.
Now that people actually want to use credit/debit cards because there aren’t multiple rates for everything, any time you want to use a credit/debit card, you’ll need ID. If you’re a foreigner, that means a passport. I went to buy some groceries my first day here without knowing that and they almost didn’t let me purchase them. I gave them my driver’s license, since I had it with me, and they let me buy the groceries, but be prepared to show your passport whenever you use your credit card.
SIM cards and cellphones
I brought my LG G3 from Sprint (I use ting.com as my carrier). It has dual modes, so it will work on LTE or GSM. I used it last year in Ireland, but it takes some configuring to get it working on GSM networks. The day I got here, I bought a SIM card from Movistar for about $3.00 US, but for some reason you can’t actually pay Movistar for service. You have to use a Pago Facil location to pay your bill. The closest one to me has a line that takes forever (nearly an hour). Also, they only take cash. So, be prepared for this. (FYI, the latest iterations of the Android OS for the LG G3 removed the option to adjust the APN; I had to download an app to let me do this after setting the network to GSM. Once I did that and got the settings from Muvistar’s website, I finally get internet access on my phone.)
Cars and Traffic
I’ve already almost been hit by cars multiple times. Cars don’t yield to pedestrians. Be very cautious!
Going to try Uber tomorrow. I’ll post here how it goes.