Connecting Linux Laptop and Android Phone to UoT_Secure

My university, The University of Tampa, is great in a lot of ways.  But one thing the university fails at quite miserably is in its support of anything other than Windows.  The IT department does okay in supporting Mac computers, but they don’t support Linux at all.  I had to get permission to wipe my laptop and install Linux on it.  I don’t have a problem managing all my own software and such, since I do that myself anyway and am quite happy that I don’t have to deal with all of the software IT puts on faculty computers (making them run super slow!).  But one area where the lack of Linux support is occasionally problematic is when it comes to logging onto the wireless networks on campus.

There are two wireless networks.  The first doesn’t use authentication to connect to the network, but you have to log in via a webpage once you connect to the network to access the internet.  That network is considered the “unsecure” network and the SSID for it is: “UoT”.  A faster and more reliable wireless network is available for faculty and staff as well.  The SSID for that one is: “UoT_Secure”.  The problem with the UoT_Secure network is that it is WPA protected with PEAP authentication.  The IT department provides information on how to connect to the UoT_Secure network for Windows and Mac computers, but not for Linux computers (or Android phones).  It isn’t that complicated, but figuring it out without any guidance can be a real pain since the process isn’t all that straightforward.  Since I have to make the necessary changes to my network settings every time I reformat my computer (about twice a year), I figured I’d put some instructions on here to remind myself how to do it and to help anyone else who may have this issue (though, apparently, I’m the only Linux user at The University of Tampa).

The first step is to find a spot on campus where you can connect to the UoT_Secure network (it’s in most places, but not everywhere).  Click on your network icon in your taskbar (or use whatever you do to access a list of available wireless networks) and make sure you see UoT_Secure.

I can see UoT_Secure as an available wi-fi network.
I can see UoT_Secure as an available wi-fi network.

Click on “Connect” and you’ll get a window that asks for more information. That window will let you edit the information for the connection.  To connect to the network, click on the Wi-Fi Security tab.  Where the  Authentication drop down menu is, select PEAP (Protected EAP).

This is the "edit" your network connection window.
This is the “edit” your network connection window.

 

Once you select that, you have to enter your UT credentials for logging into your email account.  You enter your username (without @ut.edu) in the “Username:” field and your password for your email account in the “Password:” field.  Then select “OK.”  Once you’ve done all of that, go back to your Network icon in the taskbar and select “Connect.”

Click "Connect" once you've updated your wi-fi settings.
Click “Connect” once you’ve updated your wi-fi settings.

Hopefully, it works!

Now, on to the cell phone.

UT has two wireless networks. Once is a secure network while the other is more of an open network that is a bit easier to access, but doesn’t provide permanent access. It still requires your UT username and password (for your email) that you enter in a web portal, whereas the UofT_Secure network does not require you to log into a web portal once you connect.

Here are the settings for my new Google Pixel Android phone:

Click on the network to connect.
Under EAP method select “PEAP”
Under Phase 2 authentication select “MSCHAPV2”
Under CA certificate, select “Do not validate”
For identity, enter your UT identity without @ut.edu
Leave anonymous identity blank.
Then enter your password and hit “connect”.
That should do it.

 924 total views,  1 views today

Limesurvey: How to Randomly Assign Participants to Different Conditions (i.e., Experimental Designs)

I’ve used LimeSurvey for a long time and really like the software.  It’s powerful, yet very easy to use.  But one thing I couldn’t figure out with the software was how to assign participants to one of several conditions within a single survey.  For example, if you want to randomly assign participants in your survey to one of three groups and one of those groups will see some intervention, another group will see a different intervention, and the third group will see a control condition, as in an experimental design, I couldn’t figure out how to do that before.  Turns out, it is possible.  I found this tutorial that explained it, but it wasn’t all that clear, so I’m creating a tutorial here to make it very clear how this works.

What I wanted to do is like the hypothetical scenario I described above.  I am conducting a survey and have two experimental conditions; participants are going to read one of two vignettes that are designed to influence them in specific ways and one control condition in which the vignette is designed not to influence participants in any way.  I want to randomly assign every person who takes the survey to one of these three conditions so they only see one of the three vignettes.  Here’s how you do this.

First, you have to create a variable in LimeSurvey that randomly assigns each participant to one of the groups.  This should basically be the first variable in your survey.  But, the key is that you don’t let participants see the variable.  So, you add a new question to your first Question group:

limesurvey1

You can name that variable whatever you want (this goes in the Code: box), but I named mine “random.”

limesurvey2

Then, you need to choose the type of question.  Go down to where it says “Question type:” and select “Equation”:

limesurvey3

The equation itself goes in the “Question:” box, like this:

limesurvey4

The equation you use is the following:

{rand(1,3)}

What this equation tells LimeSurvey to do is to select a random number between 1 and 3 (the two values in the parentheses) and assign that to this particular participant (if you have more conditions, you can increase the number of groups by increasing the second integer – i.e., change 3 to 4, 5, 6, etc.).

You have to do one more thing before you’re done creating the question.  Go down to “Show advanced settings” and click on it.  It will open the advanced settings options.  Scroll down to where it says, “Always hide this question” and select “Yes” from the drop down menu.  This tells LimeSurvey that you don’t want participants to see this question. Once you’ve done that, click on “Save” and you’ve now created the variable that randomly assigns participants to one of the three conditions.

limesurvey5

You’ve finished the hard part.  Now you have to tell LimeSurvey which variables go with which randomly assigned numbers and their corresponding conditions.  You do this while creating the questions.  So, start creating the questions you want the participants in each of the groups or conditions to see (these should obviously be in a later question group than the above question, or the branching won’t work).  While creating the question, scroll down to where it says, “Relevance equation”.  In that box is where you’re going to add the necessary code to assign each question to a randomly assigned condition.  The code you’ll use is the following:

  • for those assigned to condition 1, add to that box: ((random==1))
  • for those assigned to condition 2, add to that box: ((random==2))
  • for those assigned to condition 3, add to that box: ((random==3))

It should look like this:

limesurvey7

Once you’ve added the Relevance equations and hit “Save”, now you can test the survey.  You should be randomly assigned to a different condition each time and see only the questions that meet the relevance equation criteria – meaning, if you were randomly assigned to condition 1, you’ll only see the questions assigned to that condition, ditto with condition 2 and condition 3.

And there you have it – you have created a survey that includes random assignment to different conditions.

 6,229 total views,  1 views today

LibreOffice: Printing with Comments in Margins

UPDATE: As of 12/15/2015, LibreOffice 5.0 broke this feature. See here.  This should be fixed as of LibreOffice 5.0.5.

I do a lot of my grading in my classes electronically.  As a LibreOffice user, one issue I’ve had with the software is that I haven’t been able to insert comments into the document and then have those comments show up in the margins of the document when I save it to a PDF and return it to my students.  I was unable to figure out how to do this when I swtiched to OpenOffice (and then LibreOffice) almost a decade ago.  I’m not sure if it was possible back then, but I recently discovered that it is possible, which is exciting for me!

Here is what I mean.  Previously, when I graded students’ papers, I would track my changes.  I would insert comments into the text in parentheses, like this:

printcomments1

 

LibreOffice would print those out, like this (saved as a PDF):

printcomments2

It used to be the case that, if you wanted comments that you inserted in the margins printed, LibreOffice would print them all at the end of the document, which was pretty useless for providing contextual feedback.  But now you can print out comments in the margins.  Here’s how you do it.

Go to “Tools -> Options”.

printcomments3

Then go to “Writer->Print”.  In the resulting window, look to the right and you’ll see options for comments.

printcomments4

 

To print the comments in the margin of a PDF, choose “in margin.”  Then hit “OK.”

Now, when you add a comment, like this:

printcomments6

When you save the file as a PDF, it looks like this:

printcomments5Voila!  You have comments in PDFs in the margins.  Hooray!

 

 13,011 total views,  13 views today

bypassing the “ssl_error_no_cypher_overlap” error in Firefox 34

Generally speaking, it’s a bad idea to override security protocols browsers have instituted as they are designed to keep you safe on the internet (in the “less likely to be hacked” sense).  However, with a recent update to Firefox 34, a website I use all the time for my research that is run by my university was no longer allowing me to login.  Instead, I was receiving this message:

ssl1

Since I know the website is safe (I’ve used it thousands of times over the last seven years), I needed to bypass this security protocol in Firefox.  After some googling for solutions, I found one, but it wasn’t very clear.  So, here’s what I did with screen captures for assistance…

1) Open a new tab in Firefox and type “about:config” in the URL bar (without the quotes, of course):

ssl3

2) You’re likely to get another warning message saying “This might void your warranty!” (see screen capture below)  Firefox is trying to keep you from making changes to the underlying settings of the browser.  Promise to be careful and move on:

ssl2

3) Once you click on the “I promise to be careful” button, you’ll see a search box and a huge list of settings:

ssl4

4) In the search bar, enter the following (without the quotes): “security.tls.version.”:

ssl6

5) You’re going to change two of those settings.  First, right-click on the setting “security.tls.version.fallback-limit” and select modify.  You’re going to change the “1” to “0”.  Then do the same thing with “security.tls.version.min”, changing the “1” to “0”.  You should now see the following:

ssl5

6) Now trying loading the page that was giving you the security warning.  It should load.

NOTE: Keep in mind, you have now made your browser less secure.  Really what you should do is contact the administrator of the website that isn’t loading and tell them that they need to update their security on the website so you don’t have to expose yourself to greater security risks.  But, if this is an essential website for you to use in the meantime, this should get you around the issue.

 23,334 total views,  15 views today

Linxumint or Ubuntu: How to Install MakeMKV

If you’re extra cautious with your investments like I am and want to make sure your Blu-Ray discs are backed up just in case, you need MakeMKV.  It’s a piece of software that makes it possible to back up Blu-Ray discs.  Using it in conjunction with Handbrake is the perfect solution for backing up Blu-Ray discs.  But MakeMKV doesn’t come as a simple to install .deb file for Debian/Ubuntu derivatives of Linux.  Instead, you have to compile it.  It’s not that hard if you know what you’re doing, but I got tired of figuring it out each time I reformatted my computer and had to reinstall MakeMKV.  So, here are some easy to follow instructions.

(1) Download the tar.gz files.  There are two of them.  Once you’ve downloaded them, untar them to a location where you can access them (e.g., your home folder or the desktop).

(2) Make you sure you install the required packages to compile a program from source.  You can do this from the terminal using the commands below or from a package manager like Muon or Synaptic:

sudo apt-get install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev libqt4-dev

(3) From the terminal, navigate to the directory where you untarred the file named makemkv-bin-1.8.9.tar.gz (e.g., /home/USER/Desktop/makemkv-bin-1.8.9/).  Once in that directory, enter the following at the terminal:

make

(4) Then:

sudo make install

(5) This will go pretty quickly for the makemkv-bin-1.8.9.tar.gz files.  Now for the oss file (i.e., makemkv-oss.1.8.9.tar.gz).  This will take a bit longer.  First, navigate to the folder where you untarred the files.  Then type this in the terminal:

./configure

Then this:

make

Then this:

sudo make install

(6) Assuming everything completes, you’ll be back at the command prompt.  The program should install itself in the list of programs (under multimedia).  To launch it, click on the icon in the Kickoff Application Launcher.

(7) If you haven’t purchased the program, it will expire after 30 days.  You should purchase the program.  It’s pretty slick.

 

NOTE: Some Blu-Ray movies are so big that they come on two separate Blu-Ray discs (e.g., The Lord of the Rings triology).  For combining MKV files, try mkvtoolnix: http://www.bunkus.org/videotools/mkvtoolnix/downloads.html

 3,856 total views,  7 views today

LinuxMint: Run Two Instances of Firefox Simultaneously (for Zotero)

Advanced users of Zotero, the amazing, free bibliography management software, may have run into the problem that you have two separate Zotero databases and want to access them at the same time.  I used to manage multiple databases simultaneously by using a really cool Firefox extension: Foxtester.  Alas, that extension is no longer working with the latest versions of Firefox, so I had to find another way of running two instances of Firefox simultaneously (this makes it much easier to transfer references between databases).  Luckily, built into Firefox is the ability to run multiple instances simultaneously, but it’s a bit trickier to set up (thus this tutorial).

First, you need to have Firefox installed, which is generally the case with most versions of Linux.  If not, use your software manager or Synaptic to install it.

Next, you’ll need to access the Profile Manager that comes with Firefox.  To do this, close any Firefox windows you have running then open a terminal and type:

/usr/bin/firefox -profilemanager

That will launch the Profile Manager:

firefoxX2-01

 

As you can see, I’ve already set up one extra profile (default is the one you normally use), but I’ll set up another to show that it works.

To add another profile, simple select the “Create Profile” button.  It will ask you for some information in a new window:

firefoxX2-02

You’ll need a name for the new profile.  Since I’m using these exclusively to run alternative instances of Zotero, I’m calling them “Zotero1”, “Zotero2”, and “Zotero3”.  By default, Firefox will create the new profiles in the default folder where it stores the default profile (on Linux machines, this is in: /home/USER/.mozilla  (Replace “USER” with your user directory.  Also, the “.” before the “mozilla” in the name of that folder makes it a hidden directory; you can view hidden directories in Linux if you tell your file manager to show you those folders.)  You can use that location, or choose a different folder.  Then select “Finish”.

Once you’ve created your profiles, you’ll now need a way to launch them.  This is a little tricky as it requires adding some code to the launch command in order to launch a SEPARATE instance of Firefox.  If you don’t use the code, then all that will launch is a new Firefox window, and what you want is a completely separate instance of Firefox.  You can launch the separate profile as an independent instance of Firefox from the command line using this command:

/usr/bin/firefox -P “Zotero1” -no-remote

Of course, replace “Zotero1” with whatever you named your profile.  The key is the “-no-remote” code which tells Firefox to run a separate instance rather than launch a new window.  Go ahead and try it to see that it works.  Of course, you’ll need to install Zotero in the new profile if that’s why you want a separate instance running.

And if you want to make this even easier to launch in the future, you can add a new application launcher for your alternate profile.  Doing this is window manager specific (e.g., Unity, Gnome, KDE, XFCE, etc.).  Since I’m running KDE, I’ll show you how to do this in KDE.

First, right-click the Kick-Off Application Launcher (bottom left corner in most installs) and select “Edit Applications.”

firefoxX2-05

You’ll get this window:

firefoxX2-03

 

Select “New Item”.  In the fields under the “General” tab, add a name in the “Name” field, e.g., “Zotero1”.  In the “Command” field add the same command that we used earlier to launch the separate profile: /usr/bin/firefox -P “Zotero1” -no-remote.  Once you “Save” this, it will add the New Item to the Application Launcher menu.  If you want to get fancy, you can add an icon for the launcher.  I created three Zotero icons that have little numbers so I know which profile I’m launching.  You’re welcome to use them: icon 1, icon 2, icon 3.  And if you want to make it even easier to launch the profiles, you can drag your new application launcher to your quick launch bar, so a single-click will launch your separate instance of Firefox, like this:

firefoxX2-04

 

 

———————————————————————————————————

Update 2014-12-21:

I’ve recently started using a slightly different approach.  I follow the directions above to create multiple profiles.  But rather than set specific icons to launch those profiles, I use the following code to choose which profile I want to launch when I start Firefox:

/usr/bin/firefox -P -no-remote

Once you’ve created multiple profiles, this code will simply ask you which profile you want to launch and will launch it as a remote session, so you can have multiple Firefox profiles open at once.

 

 1,010 total views,  10 views today

Linuxmint or Ubuntu: Crashplan backup using headless Synology NAS

If you’re using a Synology NAS box and would like to back up your files to offsite storage service Crashplan (which is relatively inexpensive), there is a relatively easy way to do this.  However, you need to think about the Crashplan software as having two components.  There is the backup engine, or the software that communicates with Crashplan’s servers and sends the files you want backed up to their servers.  Then there is the “head” or user interface which tells the engine what to back up and when.  If you’re backing up your Synology box, then the engine will go on there.  You can use any OS for the head, but I’m running Linuxmint and here is how I got it to work.

1) On your Synology box, first you need to download and install Java SE for embedded packages following these instructions.  Then you need to download and install the Crashplan package for Synology NAS following these instructions. Make sure you choose the correct version of Crashplan from the link above.  You don’t want to install CrashPlan Pro if you’re just running CrashPlan – it won’t work.

2) Once you’ve got both of those up and running on your Synology box, you should see something like this:

crashplan-01

crashplan-02

crashplan-03

3) The next step is to install CrashPlan on your desktop computer so you can control the engine on your Synology box (i.e., tell it what to backup and when).  First, download the CrashPlan software for your OS here.  Once you’ve downloaded the .tgz file, uncompress it to a folder (doesn’t really matter where; your’e desktop or home folder will work).  Then open a terminal and navigate to where you unpacked the CrashPlan files.  At the terminal, type:

sudo bash install.sh

You’ll then need to follow the prompts, but it should install the software on your computer.

4) Now is the tricky part.  If you follow the directions on CrashPlan’s website to connect the “head” to the “headless engine” it won’t work.  Their directions say to edit the file /usr/local/crashplan/conf/ui.properties by uncommenting the line #servicePort=4243 and changing it to servicePort=4200.  You then need to set up an SSH tunnel.  Here are their directions.  I tried a lot of variations of this and didn’t work.  But you know what did?  Editing a different line.  In that same file, uncomment the line that says #serviceHost=127.0.0.1 and change it to serviceHost=192.168.2.100 (i.e., the IP of your Synology box).  Save the file and close it.

5) You should now be able to open the CrashPlan GUI and control your Synology box remotely.

 1,328 total views,  1 views today

LinuxMint or Ubuntu: How to Automount Synology Shares

UPDATE:  As of Ubuntu 13.04, these directions no longer work.  I figured out a way to get this to work, however.  See the updated directions at the bottom of this post.

——————Old Directions————————————

If you’d like to share your network attached storage from a Synology file server with your Linuxmint or Ubuntu machine and have it appear as just another folder, you can set the Synology unit to automount on your computer.  These steps assume that you have already set up your Synology unit and are sharing at least one folder over the network.  It also assumes that you are already connected to the same local network as your Synology unit.

To set up the automount, do the following:

1) Install the package nfs-common, either using synaptic or the command line:

synology-01

(from the command line: sudo apt-get install nfs-common)

2) Open a console or terminal and type “ifconfig” to find out your IP address on your local network.

synology-02

 

Let’s assume your IP on the local network is 192.168.2.1 (as shown in the figure).

3) Open the Synology interface and then open the Control Panel:

synology-03

4) Click on “Shared Folder” which will show you a list of your shared folders.  Synology comes with the ability to share folders using the nfs protocol.  It is a secure protocol that requires you to add the IP address of the computer that is going to be allowed to access files on the Synology NAS.  Once you see the shared folders, select the folder you want to share, then click on “Privileges” and then “NFS Privileges”.

synology-04

 

5) In the next window, click on “Create” and then add the IP address of the computer with which you want to share that folder.  You should also decide what privileges you want to grant that computer.  If you grant it read/write privileges, that computer can modify files.  If you grant it the read privilege, that computer can only read files.

synology-05

6) Once you’ve done that, you should be able to access the shared folder over your network.  However, what we want to do is make any shared folders automatically mount over the network every time you start your computer.  To do so, you’ll need to do two more things.  First, create a folder on your computer to map the shared folder to.  An ideal location is in your home folder since you already have read/write privileges there.  So, for instance, if you are sharing photos over the network, create a folder in your home directory called “NASphotos” by doing the following from the terminal (or just create it in a file explorer): mkdir /home/user/NASphotos

7)  Next, you’ll need to edit your /etc/fstab file.  To do so, open a terminal and type: sudo kate /etc/fstab

(You could also use gedit or some other text program, like nano.)

8) This should open the /etc/fstab file in a text editing program.  You’ll need to add the following lines to your /etc/fstab file:

Any line that starts with the pound sign “#” is a comment line.  I like to add a comment line so I know what my command is doing.  Here’s the line I add:

# automount file synology

Next is the line that actually does the work:

     192.168.2.100:/volume1/photos /home/user/NASphotos nfs nouser,rsize=8192,wsize=8192,atime,auto,rw,dev,exec,suid 0 0

You’ll need to change the parts that are bolded.  The IP is the IP of your Synology unit on the network.  If you have a different name for your volume on your Synology unit, you’ll need to change “volume1” to whatever it is.  Replace “photos” with the name of the shared folder on your Synology unit.  Replace “user” with your username.  And replace “NASphotos” with whatever folder you created in step 6.

Save the file and close it.

8)  Now, assuming you’ve done everything correctly, type the following into a terminal to mount the shared folder: sudo mount -a

Your shared folder should now show up in your file explorer (e.g. Dolphin) and should do so every time you start your computer.  Depending on the privileges you granted yourself on the Synology NAS, you should be able to read and/or write whatever files you’ve stored on the Synology unit as if they were on your own computer.

 

——————————————New Directions—————————————

UPDATE: As of Ubuntu 13.04, the directions I gave above stopped working. After tinkering with the settings for a while, I found a way to make it work.  Follow all of the above steps.  However, when you edit the fstab file, try using the following format for each share you want to mount:

192.168.2.100:/volume1/photos /home/user/NASphotos nfs rw,hard,intr,nolock 0 0

This is working for now.  This was based on this article on the ubuntu help site.

 16,744 total views,  6 views today

LinuxMint or Ubuntu: Automount Server Share

(Updated to reflect changes in Ubuntu 12.04 LTS – 5/15/2012)

While I’m still not 100% sure how I got my file server to share all the files across the network (whatever I did, it worked; when the server dies, I’ll figure it out and post it here).  Regardless, I recently reformatted my desktop and had to set up the file server share to automount on my desktop for easy access to the files (I store all my music, videos, and lots of other files on the file server).  Here are the steps I took to set up my automounting file share on my Linux desktop (courtesy of the ubuntu wiki and this website as well).

1) First you need to install two packages: “samba” and “smbfs.” You can install these from the terminal or using synaptic.  Here’s how you would do it from the terminal:

sudo apt-get install samba smbfs

2) Once those are installed, you need to create a mount point for your share.  The easiest way to do this is from the terminal as it requires root privileges.  The share, which, in my case, is called “fileshare” is mounted in my user directory, so you use the following:

sudo mkdir /home/(your username)/fileserver

3) Next you need to edit the fstab file.  This is a file that tells the operating system which drives should be mounted on startup.  To edit it, enter the following at the terminal:

sudo gedit /etc/fstab

4) The text editor will pop up with your fstab file open for editing.  You need to add a line to the fstab file that tells the operating system what to mount on startup, where to mount it, and what permissions to use.  Here is the line I used

//192.168.3.101/fileserver-share  /home/ryan/fileserver  smbfs  username=XXXXX,password=XXXXXXX 0 0

What this tells the operating system is that I want to mount a network share “//192.168.3.101/server-share/” into the folder “/home/ryan/fileserver”.  I do this with the software package “smbfs.”  You’ll need your username and password for the target machine.  Save the fstab file and close it.

5) The last step is to go ahead and mount the share.  This is also done from the terminal using the following command:

sudo mount -a

This tells the operating system to remount everything in your fstab file.  Your file share should now show up as a drive on your desktop and you should be able to read and write to it directly as if it were a drive on your computer.

 743 total views,  2 views today

LinuxMint: Keyboard Shortcuts to Move Windows Between Monitors

If you don’t have multiple monitors hooked up to your desktop computer, you’re really missing out.  Having dual monitors is a delight when it comes to being able to see more than one window and work even faster.  And to make the experience even more enjoyable, Ubuntu variants of Linux, including LinuxMint, my new Linux distribution of choice, come pre-installed with CompizConfig Settings Manager, which has a nice windows management utility built in that allows you to use keyboard shortcuts to move windows between monitors.  So, for instance, let’s say you’ve got your browser up on the left monitor, but you want to move it to the right monitor so you can have it open at the same time as you work on a spreadsheet.  You could shrink the browser window then drag it to the other monitor.  But that would require several several clicks and dragging your mouse.  Wouldn’t it be nice if you could simply hit a keyboard combination that moved your entire window from one monitor to the other, while still maximized?  The “Put” utility in CompizConfig allows you to do this.  Here’s how:

1) Open CompizConfig Settings Manager (it’s pre-installed in LinuxMint).  If you’re running Ubuntu, you may have to install it using the software center or synaptic:

opening CompizConfig Settings Manager in LinuxMint (click to enlarge)

2) With the settings manager open, scroll down to the section labeled “Window Management.”  You should see “Put” as an option.  Select the box next to it, then click on “Put” to enter the settings:

find “Put” in the CompizConfig Settings Manager window (click to enlarge)

3) Inside the “Put” submenu you’ll see several options.  The one you want to move windows between monitors is “Put within viewport,” which is the fourth from the top.  Select the + sign next to it to see the options.  While you can “Put” your windows in lots of locations, I primarily just use two: “Put Left” and “Put Right”.

the “Put” settings submenu (click to enlarge)

(In the above image I had already set up my key combinations.)

4) To set up a key combination to use the “Put” utility, simply click on the button labeled “Disabled” across from the relevant command that shows a small keyboard (you can create key combinations using mice as well, which are just below the keyboards).  That brings up this option:

click “enabled” to tell CompizConfig to use the keyboard combinations

5) Select “enabled” and you’ll see this:

set your keyboard combination here

6) Click on “Grab key combination” and another window will pop up that will detect the keyboard combination shortcut you want to use to put your windows across monitors.  I use “Alt+Super+left” for moving windows to my left monitor and “Alt+Super+right” to move windows to my right monitor (as shown in the image above).  Once you enter your keyboard combination, hit “OK” in the prompt, set up any others you want to use, and then click on “Back”.  Make sure you’ve selected the checkbox next to “Put” then close CompizConfig Settings Manager.

7) You can now try out your keyboard combination by selecting a window and using your combination to move it across monitors.  FYI, if your window is maximized, you’ll have to hit the combination twice.  When you hit it the first time, the window will move just a little bit to indicate to you that the software knows you’re trying to move the window but that the window is maximized.  Hit it again quickly and the window will jump to your other monitor and maximize itself on that monitor as well, beautifully taking into account panels and monitor size.  I show the actions in the video below:

Note: Another very useful keyboard combination utility that comes built in with CompizConfig Settings Manager is the “Grid” utility which allows you to move a window to different areas of your monitors as well.  This utility is located in the same area as the “Put” utility.  It is activated by default.  The keyboard combinations are “Ctrl+Alt+keypad numbers”.  So, for instance, to move a window to the center of a monitor, hit “Ctrl+Alt+KP5,” which is the center key in your keypad.  To move it to the right, use KP6, etc.  Grid has several levels of alignment built in, which you can see by hitting the combination repeatedly until you get the window to the size you want, as shown in the video below.

 4,148 total views,  5 views today