Copying photos from the SD card of my camera is a very common task. And always the same pattern. Take the card out of the camera, put it into the sd card reader, wait for the automount popup, browse to the picture directory, select all images, cut all images, browse to my photo directory, create a new folder, name the folder, move to the folder, paste the pictures into it, wait for the finished job.
Sound boring? Sure, it is!
Now, how to make this one a little smarter? Maybe scripting some of those steps is a cool idea. So how would this work in a perfect world?
After updating my ubuntu 10.04 installation I had to recognize that the shortcut for minimizing all windows
to show the desktop has changed (It seem to be
after update). I don’t like that
would be way better. So how to fix this?
Solving this is a real quickie:
gconf-editor and browse to
Change the value of
Press enter, close gconf-editor and enjoy the results of pressing
I decided to update my notebook from Ubuntu 11.04 to the newest release Ubuntu 11.10. I did not expect any big problems since I had no real problem with the last updates. But it was different this time. The update went smooth, some questions about changed config files but no real problems.
One positive point: The login screen looks nice.
After the first login:
WTF, Unity desktop manager only? grml! I don’t like the unity stuff. I just want to have my console, browser, mail program open and switch between them fast. I don’t need that blingblinghoverfadesmoothscrollpop stuff. I tried the gnome fallback mode but it seems like a real fallback mode which appears like a stripped of version of the old gnome desktop. Also not very comfortable. So I’ll try unity now for some days but will switch to another window manager, maybe xfce.
The second and more annoying thing: When connecting to my home wlan the router crashes and refuses connections on WLAN/LAN. Yay! The new denial of service tool: Ubuntu 11.10. I have a buffalo router with OpenWRT firmware installed. The router is capable of broadband wifi (N). This seems to be a part of the problem. After disabling the N features in the intel driver of my lenovo w500 (
03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300) it works as expected. For details take a look here.
Why are the folder (sort, threading, …) settings of my thunderbird gone? I have no clue.
That is the score after three hours using the new version …
I am really, really, really impressed: JSLinux
The US keyboard layout is better for programmers since many of the needed special chars like brackets, semicolons and so on are easier to type than, for example, with the German keyboard layout which I used so far. Since I am programming a lot on my notebook I decided to buy a new keyboard with the US layout to make it easier to learn using the US layout.
Besides programming I often write German documentations, mails and other kinds of texts. When writing things in German the umlaut chars like ä, ö and so on are important. So I would miss these chars a lot when using the US keyboard layout. In fact there are some key combinations in linux and/or X11 to type those chars but they way too complicated to be used while writing a longer text.
After some research I found a solution by using the user specific Xmodmap file. See how I modified that configuration file to fit my needs…
Sometimes I need to set manual network configuration on my Ubuntu driven laptop. For this cases I ignore the network configuration of the NetworkManager. But I don’t want to disable the network manager at all. So I wait for the NetworkManager to finish it’s tasks for setting the IP configuration manually afterwards.
One annoying thing in this case is that the NetworkManager puts the Firefox in offline mode. I searched my system to turn off this functionality in NetworkManager. But since I did not found the configuration option I searched the Firefox configuration. And I found an option to turn off the NetworkManager influence to the online/offline state of Firefox.
To disable that behavior enter the configuration of Firefox browsing to
. Then search for the option
in using the filter field and set the value to
After restarting Firefox the option should be used and the NetworkManager will never put the Firefox in offline mode again.
By default Ubuntu Karmic or more detailed the file manager Nautilus moves files which are deleted to a trash or wastebin like it is called in Ubuntu. Using external HDDs which are plugged in to other systems with different operating systems is kind of annoying cause the “deleted” files are moved to a folder named
.Trash-. This was the reason for me to check out how to disable the wastebaket in Ubuntu Karmic for at least external HDDs.
Git grew up to my favorite version control system, I use Git on a daily base now. I like git because it is powerful but also simple for the daily usage. Git is a complex system so there are commands and steps which I do not perform every day. So I write about some more complex steps for later reference.
Today I needed to merge two git branches but remove the changes from only one commit where some files were deleted which should be left untouched in the target branch. I realized that using a temporary local merge branch where I removed the unwanted commit to later merge it with the target branch.
Unpacking single files from big tar archives which have been compressed with gzip (Often named .tar.gz or tgz) is annoying. For example you got a backup of a big filesystem packed in a tarball and just need to restore a single file which size is just a couple of kilobytes. Extracting the whole archive often takes a lot of time. This is time you can really save. Digging a bit into the man pages you will see it is possible to get single files from large tarballs easily.
You will see it is possible to extract single files based on the path, complete directories and even on wildcard based selections. I give you a brief overview about the ways I extract single files from large tar archives using GNU tar on linux / based systems.