I just found out how to format php code with geany (and big help from php beautifier) ^^
Darktable Tethering Tutorial
Before that, please read about Darktable 1.0 release post http://www.darktable.org/2012/03/darktable-1-0-released/
I just know that Darktable supports tethering mode, because the developer put the link to the mode right on top side of the application. And here are the simplest tutorial on how to make it usable.
By reading this post here, seems that the new generation of digital camera is supported by this mode. Okay, if your camera is on the list, then let’s skip the testing part, and let get it done.
- Plug your camera to your computer
- Make sure that the Memory Card / SD Card is not mounted. You can do this by go to Nautilus (Gnome) or Dolphin (KDE), and unmount the respective drive. Remember, this is the important part, so make sure you unmount it.
- Start Darktable
- Click the Tethering link on top-right of the application.
- Now you’re up and runnig …
See?? Easy huh? Now I just have to find a longer USB cable to play with ^^
Keeping Wireless Enabled After Sleep on Ubuntu
It’s been a while since I realized that sometimes my wireless device is disabled after a sleep action (that is, when you put your Ubuntu on Suspend mode).
A quick google bump me to this page on Ubuntu Forums.
The trick is pretty simple. First, you must find out what driver does your wireless card used. To find out, just run this command on the terminal.
sudo lshw -C network
The result, is something like this
description: Wireless interface
product: Centrino Advanced-N 6200
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:44:00.0
logical name: wlan0
width: 64 bits
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlagn driverversion=3.0.0-16-generic firmware=184.108.40.206 build 25532 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:49 memory:90300000-90301fff
Note the part that I put the bold emphasis. That is the driver of your wireless card. Note that one.
Second, open the file /etc/pm/config.d/config (or create it if there are none)
sudo nano /etc/pm/config.d/config
And put this line on it
Please note that the ‘iwlagn’ part is adjusted according to your driver.
Disable Gnome Shell ‘Activities’ Button Hover Behavior
If you feel that the hover behavior of Activities button on gnome shell annoying, you could remove it by modify this file
And commenting line 630 :
// hot corner this._hotCorner.actor.allocate(hotBox, flags);
After that restart gnome shell or simply hit Alt+F2 and type
Tomboy Slows Ubuntu 11.10 Shutdown Process
After reading some post in the internet, it seems than Tomboy was the source of slow shutdown on Ubuntu 11.10. After replacing it with Gnote, everything is normal again, and I could shutdown less in 30 seconds ^^
Don’t worry about loosing all your notes, since Gnote automagically import your previous Tomboy notes into itself.
To install Gnote, just run:
sudo apt-get install gnote
After installation, running gnote itself won’t show the systray icon on Unity panel. This because Unity need to ‘whitelists’ all the application that would showed on the panel (seems ridiculous, but that is how it’s work). To whitelist gnote, just run these line on the terminal.
gsettings set com.canonical.Unity.Panel systray-whitelist “[‘JavaEmbeddedFrame’, ‘Mumble’, ‘Wine’, ‘Skype’, ‘hp-systray’,’gnote’]”
And after that, don’t forget to put gnote on Startup Application, so it would run everytime you login.
Using Alt-` to switch in-group application on Gnome Shell
Some might experienced that when using gnome shell, hitting Alt-Tab will only switch between group of application, like when we have two LibreOffice Writer opened, one Nautilus, and one Terminal, hitting Alt-Tab from the first LibreOffice will switch either to Nautilus or Terminal, but not to the second LibreOffice.
Well … that until I found that hitting Alt-` (the tilde button) would do the in-group switching.
Try it and you’ll notice the difference. Will need some time to get used to, but seems a pretty neat feature ^^
Workaround after removing propietary ATI driver on Ubuntu 11.10
If you having a problem after removing ATI driver (the one that come with Additional Driver) on Ubuntu 11.10, then you are not alone. I just having the same problem, where all the composite effect is gone. The symptoms were easy, all the effect are gone. Login into Unity, no panel or whatsoever … login into gnome-shell, reverted to gnome-classic (ough, that horrible interface).
The workaround is easy, just follow these steps …
sudo apt-get remove —purge xserver-xorg-video-ati xserver-xorg-video-radeon
sudo apt-get install xserver-xorg-video-ati
sudo apt-get install —reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
sudo rm -rf /etc/ati
Then reboot …
You may visit the full howto here.
Counting the Oneiric …