FAQforge provides answers for frequently asked questions for the Linux-, MAC and Windows operating systems.

Change the languages Google searches results for

Sunday, August 26, 2012 - posted by CSch

Usually Google restricts its results to the language you have set for the page itself, which is the one spoken in the country it locates you in by default.

You can easily change these settings by clicking on the cog wheel icon on the top right and going to Search Settings:

Next, click on Languages on the left pane and add any of the languages listed by checking the box next to them. If you want to use one language only, you need to change the language the page is displayed in - the same language will then be selected for the results.

Afterwards click on Save on the bottom right corner.

Remove wireless connections in Windows 7

Wednesday, August 22, 2012 - posted by CSch

If for some reason, you have a wireless connection stuck in your system's selection that doesn't go away, it's not that easy to figure out how to do so:

To remove such an entry,
- left-click on the connections icon and on Open Network and Sharing Center
- in the left pane, click on Manage wireless networks
- click on the network you want to remove once
- click on Remove network above the list

VirtualBox machines usually have two bars in their window to make working with them easier.

These however are a great disturbance if you want to take screenshots of your machines - even if you select to leave the window border, the menu bars will still be on them.

To remove the bars, it only needs a simple terminal command. Open one and enter following (make sure that no virtual machines are running):

/usr/bin/VBoxManage setextradata global GUI/Customizations noMenuBar,noStatusBar

Next time you start a VirtualBox vm, there won't be any menu bars. To restore them again, enter following into a terminal:

/usr/bin/VBoxManage setextradata global GUI/Customizations MenuBar,StatusBar

Ubuntu, other than most distributions as well as MS Windows, decided to move its window menu buttons to the left side of the top window panel. This brings along many accustomization problems for people who are used to rush their mouses to the top right instinctively.

If you want to, you can revert this change with the help of gconf-editor.

Open it by entering gconf into Dash or

gconf-editor

into a terminal. Browse the left pane for /apps/metacity/general and look for the value of button_layout which should be close,minimize,maximize: . This value defines where the buttons are positioned and in which order - the commands stand for the appropriate button whereas the colon determines on which side they will be. You can also add a menu button by including menu.

To move the buttons to the right and adjust their order, a value like

:menu,maximize,minimize,close

would be appropriate. Don't forget to set the colon or metacity will crash as soon as you have entered and confirmed your value!

Change selection box color in Windows 8 and 7

Thursday, August 9, 2012 - posted by CSch

The selection box that appears when you hold the left mouse-button and drag your mouse away is blue by default on all versions of Windows. However you can change this setting by using two registry values in Windows 7 and Windows 8.

Open the registry by typing regedit into the Windows 7 menu search on Windows 7 or by right-clicking the bottom left corner on Windows 8 and opening a Run... prompt. Enter regedit into it.

- In the registry you will see a tree structure on the left pane - in it, browse for Computer\HKEY_CURRENT_USER\Control Panel\Colors and click it once.
- On the right pane, look for the value of HotTrackingColor. It is given in three values representing the ratios of red, green and blue that range from 0 to 255. Enter values that mix to the color you want to have (you can check the color values in a graphic editor).
- Do the same for he value of Hilight.

These two values also alter the color of hyperlinks and the color of highlighted text. After you set the values, close the registry and reboot your machine. Afterwards the selection box should have the color you chose.

The two different values each stand for a different part of the box - the first determines the color of the inner transparent space, the second determines the color of the non-transparent border. This means you can have different colors for each.

Gnome-Screenshot is the default tool to take screenshots on Ubuntu and Mint and brings a great deal of functionality. While it also has the ability to exclude the mouse pointer for screenshots if you use the graphical interface, you won't find this feature if you want to take them from the command line - the only option to exclude them there is to set the option as default which is possible with dconf-editor.

If dconf-editor isn't installed on your system yet, install it by entering the following into a terminal:

sudo apt-get install dconf-tools

Afterwards you can change the default behaviour of pointer inclusion with

dconf write /org/gnome/gnome-screenshot/include-pointer false

If you want to revert things, just set it to true again:

dconf write /org/gnome/gnome-screenshot/include-pointer true

Next time you open the GUI or take a screenshot via PrtScr or the terminal, the mouse pointer won't be included on the screenshot.

Load all Firefox tabs on program startup

Thursday, August 2, 2012 - posted by CSch

The newest versions of Firefox use a different default handling tabs in a newly started instance of Firefox - while earlier versions loaded all tabs at once, newer versions only load the active tabs. This is supposed to save loading time, but can be annoying if some of your tabs need an update to indicate new messages, such as twitter, and you forget to load it - the status of the tab won't change at all until you click it once.

If you prefer the old default that loads all tabs at once, you can reset it in the Firefox preferences. To get there,

- open the Firefox menu and select Options > Options. This will open the preferences window.
- On the General tab, select Show my windows and tabs from last time from the When Firefox starts drop down menu under Startup.
- Then uncheck the Don't load tabs until selected checkbox.
- Accept the changes by clicking OK.

The default settings in the Unity desktop environment move a window's control panel away from the actual window up to the top panel of the screen - this is called 'global menu'.

Since that is a major change of paradigm and might hinder your workflow if you decided to switch, here is how to reverse the settings:

Open a terminal and enter following command:

sudo apt-get autoremove appmenu-gtk appmenu-gtk3 appmenu-qt

Afterwards you need to log out or reboot your machine. To enable it again if you should change your mind, just reinstall the packages:

sudo apt-get install appmenu-gtk appmenu-gtk3 appmenu-qt

Change selection color in Ubuntu 12.04 themes (Linux)

Monday, July 30, 2012 - posted by CSch

The color of selection elements in themes used by Ubuntu 12.04 is determined by a single value and is therefore the same for all of them: highlightened buttons, files, menu items as well as the selection box that you get by holding and dragging your mouse.

You can set this value in the settings.ini of each theme. The settings file of the Ambiance theme for example is located in /usr/share/themes/Ambiance/gtk-3.0

Before you edit the file, create a backup copy of it in case you want to reset the theme to its original state. Just copy the file somewhere else to do that. Afterwards, open the original file as administrator. This is easily done using the terminal:

sudo gedit /usr/share/themes/Ambiance/gtk-3.0/settings.ini

The value that determines selection color is nselected_bg_color - it is formated as hexadecimal value (#000000). You can now use a graphic editor to find out the hexadecimal value of the color you want to use - if you wanted to use red for example, you would have the value #FF0000.

Afterwards save the file and log out of your current session. After the next login, all elements of selection should now have the color of your choice:

How to enable hibernation in Ubuntu 12.04 and Linux Mint 13

Friday, July 27, 2012 - posted by CSch

Hibernation is disabled on Ubuntu 12.04 and Mint 13 by default - you can only access it with the command line. To have it as an option in the shutdown menu again, open a terminal and enter the following:

sudo gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

By that you create a new text file. Paste the following into it:

[Enable hibernation]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

Save the file afterwards and reboot. Hibernation should now be an option in the shutdown menu again.