I stumbled upon some new shortcuts in Natty Narwhal to dock a window in a certain position.
Try out Ctrl+Alt+<Number Pad Key>. This will dock your window according the position of the number in the number pad. Note that it doesn't work with the numbers along the top of the keyboard.
1: Bottom left corner
2: Bottom
3: Bottom right corner
4: Left
5: Middle (but not maximized)
6: Right
7: Top left corner
8: Top
9: Top right corner
0: Maximize
If you press the same number several times, it will change the size of the window.
I found this super handy when I needed to fit things inside my monitor, such as having 2 terminals side-by-side.
Try it out and let me know what you think down below in the comments!
Thursday, July 21, 2011
Wednesday, July 13, 2011
Ubuntu 11.04: Redshift
Redshift is a program that changes the temperature of your monitor according to the time of day. It basically emulates sunset and encourages your body to sleep earlier. Something that I desperately need to do.
I recently upgraded to Ubuntu 11.04 Natty Narwhal, and was happy to find that Redshift had made it into the repositories! Unfortunately, after installing both the application and its GUI counterpart, it did not start.
I tried it in the terminal and to my dismay, I got the following:
So what's going on? Well, as of Ubuntu 11.04, Gnome is no longer the default. It's Unity. Hence, there is no gnome-clock.
Luckily, Ubuntu uses Redshift v1.6. In this version, a configuration file can be added! Just create the file ~/.config/redshift.conf with the following:
After saving the file, you can now restart Redshift from the GUI.
Enjoy and sleep early!
I recently upgraded to Ubuntu 11.04 Natty Narwhal, and was happy to find that Redshift had made it into the repositories! Unfortunately, after installing both the application and its GUI counterpart, it did not start.
I tried it in the terminal and to my dismay, I got the following:
> redshift No clock applet was found. Initialization of gnome-clock failed. Trying next provider... Latitude and longitude must be set.
So what's going on? Well, as of Ubuntu 11.04, Gnome is no longer the default. It's Unity. Hence, there is no gnome-clock.
Luckily, Ubuntu uses Redshift v1.6. In this version, a configuration file can be added! Just create the file ~/.config/redshift.conf with the following:
[redshift] location-provider=manual [manual] lat=49.3 lon=123.06
After saving the file, you can now restart Redshift from the GUI.
Enjoy and sleep early!
Subscribe to:
Posts (Atom)