Pages

Friday, September 25, 2015

Things to do after installation of Fedora 21 to use as Office laptop


If you are migrating from old version , then keep backup 




of below folder from home directory




.config                                               



                                                                  



.thunderbird    



                                                                                                                     
.mozilla



                                                                       



                              
.purple



                                                                                                                                


1. Gnome extension

Go to https://extensions.gnome.org/


Enable : Applications Menu


:Places Status Indicator


: Window List


Other extensions like weather etc are available


After that :


























2. Install 
dconf-editor to configure window 


   settings





    yum install dconf-editor gconf-editor gnome-tweaks


Start dconf-editor

Go to org-->gnome-->Desktop-->wm--


>Perfence




set Button Layout to : 



appmenu:minimize,maximize,close



b. Set fav application format: 


['firefox.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.gedit.desktop', 'google-chrome.desktop', 'slack.desktop', 'thunderbird.desktop']






3. Install skype :( Skype only works in 



32 bit . So installing this make sure 



that both 32 bit and 64 bit installed )



Download 









Run :


    yum install libc.so.6 libstdc++ libstdc++.so.6 qtweblit libXv.so.1 libQtXml.so.4 alsa-plugins-pulseaudio-1.0.28-3.fc21.x86 alibQtGui.so.4 libQtWebKit.so.4 alsa-plugins-pulseaudio-1.0.28-3.fc21.i686  alsa-plugins-pulseaudio.i686 libXss.so.1
     --setopt=protected_multilib=false





rpm -ivh skype-4.3.0.37-fedora.i586.rpm




4.Thunderbird :

64 bit 






extract and install .



or as


    yum install thunderbird


Migration : copy the .thunderbird folder


 from old system to home dir





5.VirtaulBox












  1. cd /etc/yum.repos.d/
    1. wget
    2. yum update

  2. yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms


reboot the machine


    reboot
  1. yum install VirtualBox-4.3
  2. rpm -qa kernel |sort -V |tail -n 1
  3. uname -r


# commands of rpm -qa kernel |sort -V |tail -n 1 & uname -r should match before going to next step


    /etc/init.d/vboxdrv setup
  1. usermod -a -G vboxusers <username>
  2. VirtualBox



6. VM player




Make sure that all the all libs are installed on the Virtaul 



box step up if not





run : yum install binutils gcc make patch libgomp glibc-


headers glibc-devel kernel-headers kernel-devel dkms


: reboot




./VMware-Player-12.0.0-2985596.x86_64.bundle





7.Chrome :

Download latest from chrome website and gtalk plugin :






    yum install libXss.so.1 libXScrnSaver-1.2.2-8.fc21*
  1. rpm -ivh google-chrome-stable_current_x86_64.rpm
  2. rpm -ivh google-talkplugin_current_x86_64.rpm


8.Enable Sharing to accept files from bluetooth

Setting → Sharing




9. Pidgin :

    yum install pidgin


Migration : Copy the .purple directory from home directory



Best notification tool: 



https://extensions.gnome.org/extension/170/pidgin-peristent-notification/


10 . firefox :

install adobe flash player








  1. yum install flash-plugin


Migration : Copy the .mozilla directory from home 



directory


11. AutoKey-gtk





    yum install autokey-gtk
  1. run : autokey-gtk -c


Set :
it



































will run automatically after reboot :


Migration : ~/ .config/autokey


12. Install nemo ( lightweight file browser instead of 


default )





    yum install nemo
  1. yum install nemo-fileroller



13. WebEx client :



It requires 32 bit firefox & 32 bit JDK to have all webex 




features like sharing desktop etc .





a. Access any webex URL ( Test URL :  





b.it will create .webex folder in home directory



c.Go to .webex/<>/ folder Run ldd libdbr.so




d.Check all the “not found “ lib files ( ldd libdbr.so | grep 



found



[sterin@sterinlap 1530]$ ldd libdbr.so
linux-gate.so.1 => (0xf77cd000)
libjawt.so => not found
libX11.so.6 => /lib/libX11.so.6 (0xf7667000)
libXmu.so.6 => not found
libdl.so.2 => /lib/libdl.so.2 (0xf7662000)
libstdc++.so.6 => /lib/libstdc++.so.6 (0xf756a000)
libm.so.6 => /lib/libm.so.6 (0xf751d000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf74ff000)
libc.so.6 => /lib/libc.so.6 (0xf7333000)
libxcb.so.1 => /lib/libxcb.so.1 (0xf730e000)
/lib/ld-linux.so.2 (0x5662f000)
libXau.so.6 => /lib/libXau.so.6 (0xf7309000)



e.Install using yum


yum install libjawt.so (in this case , it was already installed , so copy to .webex directory )

locate libjawt.so

cp /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.60-14.b27.fc21.i386/lib/i386/libjawt.so .


yum install libXmu.so.6

yum install libgtk-3.so.0 ( it requires now )



In some cases yum shows pacakge is installed. In that case you need to copy to .webex folder

Example :




export LD_LIBRARY_PATH=:.


ldd libdbr.so


cp /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.60-14.b27.fc21.i386/jre/lib/i386/libawt.so .


cp /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.60-14.b27.fc21.i386-debug/jre/lib/i386/libawt_xawt.so .


cp /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.60-14.b27.fc21.i386/jre/lib/i386/libjava.so .

cp /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.60-14.b27.fc21.i386/jre/lib/i386/server/libjvm.so .

cp /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.60-14.b27.fc21.i386/jre/lib/i386/libverify.so .


f. Install 32 bit firefox :

wget http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/27.0b9/linux-i686/en-US/firefox-27.0b9.tar.bz2


g. Extract and Start firefox :

h.It will show the missing 32 bit Lib

k.Install all missing 32 bit Lib using yum

yum install libdbus-glib-1.so.2 libgtk-x11-2.0.so.0



j.Download 32 bit JDK . (will work jdk1.6.0_45)


k. Link in ~/.mozilla/plugin folder


ln -s /home/sterin/Public/32bit/jdk1.6.0_45/jre/lib/i386/libnpjp2.so

l. Create different script for old 32 bit firefox

:cd /home/sterin/Public/32bit/firefox/

./firefox -p -no-remote


Add alias to call this firefox like “32bitfire”






14 . Zoom conference :


Required lib:




    yum install libLLVM-3.4.so mesa-dri-drivers-10.4.7-1.20150323.fc21.i686
  1. rpm -ivh ZoomInstaller_i686.rpm


15. vnc viewer



    yum install vnc


16. VLC meida player :




    yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-21.noarch.rpm
  1. yum update
  2. yum install vlc


17.rhythmbox

rpmfusion should be addes as per step 16




  1. yum install gstreamer1-libav gstreamer1-plugins-good gstreamer1-plugins-ugly
  2. gstreamer1-plugins-bad-free gstreamer-ffmpeg 
  3. gstreamer-plugins-good gstreamer-plugins-ugly 
  4. gstreamer-plugins-bad 
  5. gstreamer-plugins-bad-free gstreamer-plugins-bad-nonfree


18 .CISCO VPN

Download :

commnad : /opt/cisco/anyconnect/bin/vpnui



yum install pangox-compat







19. gedit : ( it will be installed by default , it required to 


install plugins)




    yum install gedit-plugin


Go to gedit → Perfernce → Enabl external Tools

Migration ~/.config/gedit folder

20 . Printers




    yum install @printing --setopt=group_package_types="default, mandatory, optional"




printers → add printer ( root password)



use Socket to add it

Description:
blr-kkgm-8-prn2
Location:


Driver:
Generic PostScript Printer Foomatic/Postscript (recommended) (color, 2-sided printing)
Connection:
socket://IP:9100/RAW
Defaults:
job-sheets=none, none media=iso_a4_210x297mm sides=two-sided-long-edge

21 . Remote desktop : ( for RDP to windows )




    yum install remmina*
Restart is required to enable the plugins

Migration ~/.remina


22 . Disable to tracker ( which will eat 100 % after startup )

Go to /etc/xdg/autostart and edit all tracker files , add Hidden=true at the end of all the files

cd /etc/xdg/autostart

Add add Hidden=true at the end of  below  the files
 tracker-extract.desktop
 tracker-miner-apps.desktop
 tracker-miner-user-guides.desktop
 tracker-store.desktop

23. Add custom shortcuts

Go to Setting → Keyborad → Shortcurts









24 . File compression 

for 7zip : yum install p7zip p7zip-plugins


for rar : 

Add repo:


    yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
  1. yum install unrar









25. Subtitle downloader  : SubDownloader



    yum install subdownloader



26. Image editing tool : GIMP



    yum install gimp



27. Screen Capture Tool : 


To Capture screen as video :

Option 1 : (Best option )

Use  : EasyScreenCast  extension

Location : https://extensions.gnome.org/extension/690/easyscreencast/

Do it like step 1 .

It can record sound from mic .
Option 2 :  istanbul

yum install istanbul

Option 3 :  gtk-recordmydesktop

yum install gtk-recordmydesktop


28. Video conversion command line tool 


ffmpeg can be used to convert video to mp4 and mp4 or


youtube videos to mp3 format





    yum install  ffmpeg


Example : ffmpeg -i  input.ogv output.mp4








29 . Wireshark to debug the network related issue . 



Fiddler is not available  on fedora





    yum install wireshark-gnome



30 .  Video editing tool : Open Shot

for conversion , cutting clips ,changing audio etc 


Make sure that rpmfusion   repo installed . ( refer step 16 )





    yum install openshot




other tools :

https://shotcut.org/download/


https://obsproject.com




https://getsharex.com/




31 . Live USB creator ( for windows and linux OS )







    yum install liveusb-creator




32.Subtitle Editor 



yum install gnome-subtitles


33. nodejs

 curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -

 yum -y install nodejs


34. Adobe Reader .

Adobe removed yum repo for the reader . So below steps 


should be followed to install the reader
set url and deps before running yum command


url=http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/
deps="nspluginwrapper.i686 libcanberra-gtk2.i686 adwaita-gtk2-theme.i686 PackageKit-gtk3-module.i686"

su -c "yum -y install $url/AdbeRdr9.5.5-1_i486linux_enu.rpm $deps"





35. Docker 



a. 
sudo tee /etc/yum.repos.d/docker.repo <<-'EOF' [dockerrepo] name=Docker Repository baseurl=https://yum.dockerproject.org/repo/main/fedora/$releasever/ enabled=1 gpgcheck=1 gpgkey=https://yum.dockerproject.org/gpg EOF


b. dnf install docker-engine
c. systemctl start docker
d. docker run hello-world


36. yum install ntfs-3g liberation-fonts libvulkan* python-simplejson python-xlib notify-python lsb-core-noarch snapd




No comments:

Post a Comment