Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

How to configure network settings in CentOS (from dhcp to static)

It’s a bit different from what we’re used to do in Ubuntu, here are the instructions, assuming our network interface is eth0: Take a backup from the “/etc/sysconfig/network-scripts/ifcfg-eth0” file, e.g. by the following command: “cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0.bak” Open the “/etc/sysconfig/network-scripts/ifcfg-eth0” file for … Continue reading

Posted in Linux | Tagged , , , , , , , | Leave a comment

How to use Tor with any Linux App

I currently prefer Chrome to Firefox, and I wanted to use Tor without having to download the whole tor browser bundle. Surprisingly, that was a piece of cake! All I did was the following: “sudo apt-get install tor” It runs … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

How to change desktop icon text color on Linux Mint 17 Cinnamon Edition

I know, it’s an extremely stupid issue! Here is the solution: Just go to /usr/share/themes/Adwaita/gtk-3.0/ and add the following text to the file named gtk.css: .nemo-desktop.nemo-canvas-item { color: #FFFFFF; text-shadow: 1px 1px @desktop_item_text_shadow; } .nemo-desktop.nemo-canvas-item:selected { background-color: alpha(#D64A38, 0.9); background-image: … Continue reading

Posted in Uncategorized | 9 Comments

How to fix Bluetooth problem on HP laptops with Ubuntu (or similar)

A very annoying issue I had with my hp g62 laptop, is that Ubuntu 14.04 couldn’t detect my bluetooth adapter and I couldn’t send or receive any files or pair any devices. This problem might extend to many other hp laptops. … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 5 Comments

How to disable Guest Session Login in Ubuntu Trust 14.04

“sudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf” Add the following line: “allow-guest=false” Save the file Enjoy! OR you can simply run the following command: ” echo allow-guest=false | sudo tee -a /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf” You can still Enjoy! 🙂 Source: http://www.noobslab.com/2014/04/thingstweaks-to-do-after-install-of.html

Posted in Linux, Ubuntu | Tagged , , , , , , | 4 Comments