Gnome

CentOS 7 dhcp + custom ‘search domain’

I’m running CentOS 7 on my workstation these days, like it a lot.
At work our dhcp setup dns search for the domain containing our windows hosts but the Unix and Linux hosts I work with are in an other domain.
In the network manager gui in gnome3 I can’t seem to figure out where to add this second search domain, so I’ve been adding it manually to resolv.conf after each boot …

Got tired of that so i added:

DOMAIN='myDomain.no'

in /etc/sysconfig/network-scripts/ifcfg-eno1 and did a

systemctl restart network.service

problem solved.

thnx superuser.com

UPDATE 30th october 2015:
This does not work at all at my workstation at my new job.
I’m not using NetworkManager any more, not sure if that’s the reason though.

By setting SEARCH in /etc/sysconfig/network instead things got a lot better:

# /etc/sysconfig/network
SEARCH='example.com sub.example.com'

Enable touchpad in gdm3 login prompt (Fedora 20)

Enabling tapping support in Gnome 3, I still don’t have support for that at the gdm 3 login prompt .

In /etc/X11/xorg.conf.d/50-synaptics.conf I got tapping support for my mousepad at the gdm3 login prompt by adding

Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection

The file wasn’t there, so I created it.

Thnx jaisejames.wordpress.com

Fedora (20) enable tuned, save power

I noticed by switching to Fedora, from Ubuntu, my battery time got lower.
I suspect Fedora isn’t as laptop friendly out of the box as Ubuntu is .

Installing Tuned helped a lot on power consumption for my laptop:

$ sudo yum install tuned
$ sudo systemctl enable tuned.service
$ sudo systemctl start tuned.service
$ sudo tuned-adm active

There seem to be a debate whether powersave og balanced is the best option .

Totem Movie Player and buffer

I’m a keen listener to somafm.com . Totem seem to default to a 2 seconds buffer which for me sometimes is too small. I like to increase the buffer to prevent annoying glitches now and then. This post show how to do this with gconftool via cli . Personally I like to do this via Gnome configuration editor (Applications -> System tools -> configuration editor), go to apps -> totem and set the ‘network-buffer-threshold’ (it’s set in seconds) ,

Ekiga in Ubuntu Karmic hangs with pulse

With reference to this post I finally figured out that I could after all use a Linux softphone with our iptelephony solution at work.
At first I tried Ekiga, since it’s Ubuntu’s default softphone app, but it didn’t really work, kept on hanging.
I tried Twinkle, which worked right out of the box, but using QT 3.x libs ? I just couldn’t settle with that. I don’t like to mix QT libs in my glibs environment and I REALLY don’t like to use really old QT libs if I must have them.
I took an other shot at Ekiga, and dug up this post at launchpad which solved my problems.
Upgrade to Ekiga 3.2.6 and things should be okay with Karmic, pulseaudio and Ekiga again.
Launchpad Ekiga 3.2.6 repo here.

Disable GDM in Ubuntu 9.10

When I need to disable services in Linux I’m used to symlinks in /etc/rc2.d
(for debian based distros) .
Ubuntu 9.10 doesn’t have any symlink for gdm in /etc/rc2.d
so how do I disable the freakin’ service ?
It seems gdm is started by upstart now, but they’ve also switched to grub2 and according to ubuntuforums.org we can control this from grub.

edit /etc/default/grub

Change the line GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” to

 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"

And issue:

# update-grub

terminator and real transparency

Terminator is a great terminal, but running compiz it might be a bit confusing getting real transparency (if you’re one of those). With reference to the terminator man page (man 5 terminator_config), edit ~/.config/terminator/config and add these lines:

enable_real_transparency = true
background_darkness = 0.7
background_type = transparent

Note: use background_darkness to adjust the level of transparency 🙂