Posts tagged: linux

HOWTO Change/add keyboard layout in XFCE / Fedora

Edit /etc/X11/xorg.conf.d/00-system-setup-keyboard.conf

1
2
3
4
5
6
7
Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us,ru"
        Option      "XkbOptions"    "grp:ctrl_shift_toggle"
   EndSection

“XkbOptions” specifies a keyboard combination to switch keyboard layouts.
Other available options: alt_shift_toggle, shifts_toggle, ctrl_alt_toggle, lwin_toggle, rctrl_toggle etc.

From: http://www.linuxquestions.org/questions/slackware-14/xfce-how-to-change-the-keyboard-layout-322374/

HOWTO Install Google Chrome browser in Fedora 15 / 16

This howto explains howto install Google Chrome Web browser on Fedora 16, Fedora 15, Fedora 14, Fedora 13, Fedora 12, CentOS 6 and Red Hat 6 (RHEL 6). Best way to install and keep up-to-date with Google Chrome browser is use Google’s own YUM repository.

Enable Google YUM repository

Add following to /etc/yum.repos.d/google.repo file:
32-bit

1
2
3
4
5
6
[google-chrome]
name=google-chrome - 32-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

64-bit

1
2
3
4
5
6
[google-chrome]
name=google-chrome - 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Note: Both 32-bit and 64-bit repos can be placed in the same file.

Install Google Chrome with YUM (as root user)

Install Google Chrome Stable Version

1
2
## Install Google Chrome Stable version ##
yum install google-chrome-stable

Install Google Chrome Beta Version

1
2
## Install Google Chrome Beta version ##
yum install google-chrome-beta

Install Google Chrome Unstable Version

1
2
## Install Google Chrome Unstable version ##
yum install google-chrome-unstable

Source: http://www.if-not-true-then-false.com/2010/install-google-chrome-with-yum-on-fedora-red-hat-rhel/

 

HOWTO – Enable Gnome 3 minimize/maximize buttons

From: http://www.khattam.info/howto-add-minimize-maximizerestore-buttons-in-gnome-3-2011-05-26.html

1. Install Configuration Editor

You can skip to step 2 if you have Configuration Editor installed.
Press Super (Windows) key and type Add/Remove and open Add/Remove Software.
Search for gconf-editor and install it. You may need to wait a while if you are using Add/Remove Software for the first time.

2. Use Configuration Editor to change button layout

Launch Configuration Editor.
In the Configuration Editor navigate to desktop>gnome>shell>windows
Find button_layout and enter the following to add Minimize and Maximize buttons:

:minimize,maximize,close

If you want Ubuntu-like control box, enter the following instead:

close,minimize,maximize:

3. Log out and log back in

The changes are not instant. You need to log out and log back in to see the changes.

How to disable bell in UNIX term

Very short summary:

This is an incomplete list of applications that can be instrued to use the vb entry for the current terminal type (using either the termcap information or the terminfo one):

  • The X server: use the “xset b” command to select the bell’s behaviour. The command takes three numeric arguments: volume, pitch and duration. “xset -b” disables the bell altogether. Configuring the X server affects all the applications running on the display.
  • xterm: xterm can convert each bell to either a visible or audible signal. If you use the audible bell, the settings of “xset” will apply. The bell in xterm defualts to be audible, but you can use the “-vb” command line option and the “xterm*visualBell: true” resource to turn it to a visible flash. You can toggle visible/audible signaling at run-time by using the menu invoked by control–left-mouse-button. If you run X you most likely won’t need the following information.
  • tcsh (6.04 and later): “set visiblebell“. The instruction can be placed in .cshrc or can be issued interactively. To reset the audible bell just “unset visiblebell“. To disable any notification issue use “set nobeep” instead.
  • bash (any bash, as fas as I know): put “set bell-style visible” in your ~/.bashrc. Possible bell-style’s are also “none” or “audible”.
  • bash (with readline, as well as other readline based applications): put “set prefer-visible-bell” in ~/.inputrc.
  • nvi and elvis: put “set flash” in ~/.exrc or tell “:set flash” interactively (note the colon). To disable the visible bell use noflash in place of flash.
  • emacs: put “(setq visible-bell t)” in your ~/.emacs. It is disabled by “(setq visible-bell nil)“.
  • less: use “-q” on command line to use the visual bell, use “-Q” to disable any reporting. Default options can be put in your environment variable “LESS“.
  • screen: issue the CtrlA-CtrlG command. It changes the behaviour of all the virtual screens. Refer to the man page under “CUSTOMIZATION” for setting the default.

Taken from: http://tldp.org/HOWTO/Visual-Bell-8.html

Adobe Reader installation on Fedora

http://www.if-not-true-then-false.com/2010/install-adobe-acrobat-pdf-reader-on-fedora-centos-red-hat-rhel/

WordPress Themes