Tag: fedora

GNS3 on Fedora 17

You need to download GNS3 and Dynamips. For GNS3 you would need to install PyQt4 and telnet which are not present in the standard F17 installation. After it’s installed, GNS3 itself ca be unpacked.

yum -y install PyQt4 telnet
tar -xjf GNS3- 
cd GNS3-
python2.7 setup.py build
sudo python2.7 setup.py setup

For linking GNS3 and dynamips you have to have the latter installed. Not an easy task on F17. You can’t just yum install dynamips, because it requires a legacy library libpcap.so.0.9 which couldn’t be found by myself.

[root@hp opt]# yum install dynamips-0.2.8RC2-1.i386.rpm 
Loaded plugins: langpacks, presto, refresh-packagekit
Examining dynamips-0.2.8RC2-1.i386.rpm: dynamips-0.2.8RC2-1.i386
Marking dynamips-0.2.8RC2-1.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package dynamips.i386 0:0.2.8RC2-1 will be installed
--> Processing Dependency: libpcap.so.0.9 for package: dynamips-0.2.8RC2-1.i386
--> Finished Dependency Resolution
Error: Package: dynamips-0.2.8RC2-1.i386 (/dynamips-0.2.8RC2-1.i386)
           Requires: libpcap.so.0.9
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

But you could do the installation manually, and add symlink to the legacy lib just to be on a safe side

rpm -i --nodeps dynamips-0.2.8RC2-1.i386.rpm 
ln -s /usr/lib/libpcap.so.1.2.1 /usr/lib/libpcap.so.0.9

Fedora LXDE UI Improvement Tips

Touchpad vertical scroll:

in file /usr/share/X11/xorg.conf.d/50-synaptics.conf

Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "VertEdgeScroll" "1"

Option “VertEdgeScroll” “1” – adds vertical scrolling

Restart X to take effect.

Adding keyboard layouts:

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

Section "InputClass"
Identifier "system-setup-keyboard"
MatchIsKeyboard "on"
Option "XkbModel" "pc105+inet"
Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:caps_toggle,grp_led:num,terminate:ctrl_alt_bksp"

Define layouts to be used
Option “XkbLayout” “us,ru”

Define switching keys:
Option “XkbOptions” “grp:caps_toggle,grp_led:num,terminate:ctrl_alt_bksp”
grp – key to switch
grp_led – Keyboard LED to highlight a layout
terminate – shortct to kill X

Restart X to take effect.

Windows-like Behavior in Fedora

Fedora did a thing I hated in Windows. It collected enough system files to flood my root partition over the years of usage.

[root@hp ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
rootfs                 15G   14G  403M  98% /
udev                  996M  316K  996M   1% /dev
tmpfs                1004M  1.5M 1003M   1% /dev/shm
/dev/sda2              15G   14G  403M  98% /
/dev/sda1             485M  166M  294M  37% /boot
                       97G   16G   76G  18% /home
/dev/sda6             117G  105G  5.9G  95% /home/t1/media

Top space consumers are:

[root@hp ~]# du -sh /*
156M    /boot
370M    /lib
7.3G    /usr
5.3G    /var
[root@hp ~]#  du -sh /usr/*
550M    /usr/bin
1.2G    /usr/lib
1.9G    /usr/lib64
3.4G    /usr/share
[root@hp ~]# du -sh /var/*
3.9G    /var/cache
890M    /var/lib
407M    /var/spool
[root@hp ~]# du -sh /var/cache/*
1.1G    /var/cache/abrt-di
2.8G    /var/cache/yum

A workaround:

[root@hp ~]# rm -rf /var/spool/abrt/*
[root@hp ~]# rm -rf /var/cache/abrt-di/usr/lib/debug/.build-id/*
[root@hp ~]# rm -rf /var/cache/yum/*
[root@hp ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
rootfs                 15G  9.3G  4.5G  68% /

Enough for preupgrade now!

Fedora 13. Is. Out.


Two coolest features I’ve noticed hacking around the beta are easy LVM voluming, out-of-box partitions encryption and… Minimal installation mode! Nothing extra, just kernel, shell and drivers. No overload, no dependency added shit. No words can describe best Linux in the world. Download it!

Fedora 11 KDE4.3 Touchpad Scroll Activation

Problem: My touchpad’s scroll did not work under Fedora 11’s KDE. Also, I did not have any touch pad settings in Control Manager

Cause: By default, KDE4 under fedora 11 is missing touchpad settings package.

Solution: install kcm_touchpad package.

Speed up Firefox 3.5 on Fedora 11.

Since I moved to Fedora 10, I noticed Firefox became noticeably slower than before. Start-up was taking about 30 seconds. Even right click menu appearance had noticeable delay. I suspected plug-ins. I minimized amount of my plug-ins twice. It didn’t help.

After I suspected history and private data database. I tried to clean up history manually, but it did not decrease its size. Deleted entries were just marked as deleted, but kept remain in database. There was the last hope – trying to delete places.sqlite file manually. I had a hope that Firefox checks existence of database and recreates it in case of absence. And yes – it does it! It increased starting speed for about 5 seconds.

To eliminate large-history-problem in the future, I set a limit on it. You just need to go to about:config page and set a search filter to browser.history. Th following values need to be changed:




Personally, I set them to 30, 15 and 5000 accordingly. You may choose another values.

My last concern was language packs. There are all possible language packs installed and enabled by default in fedora’s Firefox. I disabled them all (a lot of clicking), except Russian and English ones. Miracle! Firefox starts up several times faster! Now it takes about 7 seconds only!