Install gnome-specimen to view installed fonts:
sudo apt-get install gnome-specimenIt appears under the Applications > Graphics menu after installation, and shows all fonts that are installed and available.
sudo apt-get install gnome-specimenIt appears under the Applications > Graphics menu after installation, and shows all fonts that are installed and available.
1. Download ionCube loaders
wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
2. Extract
tar zxvf ioncube_loaders_lin_x86.tar.gz
3. Move to a permanent location
mv ioncube /usr/local/
4. Add reference to your php.ini file (pico /etc/php5/apache2/php.ini)
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so
There are a few versions of the loader in the tar archive and you can choose the one that suites your needs
5. Restart apache
/etc/init.d/apache2 restart
sudo service network-manager stopChange the managed value to true:
Open nautilus in sudo mode by typing in terminal:
sudo nautilus
Goto etc/NetworkManager and open NetworkManager.conf.
sudo service network-manager start
And after that your Network Manger should be back online.
Source: http://solancer.blogspot.in/2011/10/network-icon-disappeared-in-ubuntu-1110.html
| I am trying to use the Nivo JQuery Slider (http://nivo.dev7studios.com/) and a Scrollable Gallery (http://flowplayer.org/tools/demos/scrollable/index.html). Now I have run into a problem, basically the Nivo Slider uses this JQuery Library: and the Scrollable Gallery uses this one: When both are enabled, only the thumbnail gallery works (because it's script import is done after the nivo's), when the 1.42 version is enabled only the Nivo works, and when only the 1.2.5 version is enabled only the Scrollable Gallery Works. What should I do? Solution: use this solution if you cannot use a single jQuery file for both the plugins: To use jQuery 1.4.2, put the code using it in a SEF (Self Executing Function) like this: For jQuery 1.2.5, you can use $ variable directly. UPDATE: Based on your comment, following is the way to use it. If you want to use jQuery 1.4.2, use jQuery_1_4_2 object If you want to use jQuery 1.2.5 use $ or jQuery object
|
Reliance datacard to work perfectly on Ubuntu 10.04
1. First of all open up the terminal and run the following command
sudo apt-get update
2. Now we need to install wvdial so run the following command
sudo apt-get install wvdial
3. Now we need to install libusb-dev so run the following command
sudo apt-get install libusb-dev
4. Now we need to download usb-modeswitch and usb-modeswitch-data so go to the following links
usb-modeswitch usb-modeswitch-data . Download both the files and save them on your computer .
5. Now extract both the files and and go to extracted directories on by one (first go to usb-modeswitch). and run the following command as root
sudo make install
6. Now run the following command
sudo gedit /etc/usb_modeswitch.conf
and it will open gedit and paste the following text in it and save the file
# Configuration for the usb-modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
# This file is evaluated by the wrapper script "usb_modeswitch" in /lib/udev
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
# Everything else counts as "disable"
# Disable automatic mode switching globally (e.g. to access the original
# install storage)
DisableSwitching=0
# Enable logging (results in a extensive report file in /var/log, named
# "usb_modeswitch_"
EnableLogging=1
# Huawei, newer modems
DefaultVendor= 0x12d1
DefaultProduct=0x1446
TargetVendor= 0x12d1
TargetProduct=140b
CheckSuccess=5
Now run the following command and it will again open gedit and paste the above text in it again and save it
sudo gedit /etc/usb-modeswitch.conf
7. Now run the following commands
sudo gedit /etc/wvdial.conf
it will again open gedit and you need to paste the following text in it.
[Dialer netconnect]
New PPPD = yes
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
Username = 93********
Password = 93*********
Phone = #777
Stupid Mode = 1
Auto DNS = 1
Check Def Route = 1
change the username and password with your 10 digit MDN number given on the box of datacard.
8. Now Save the file and reboot the computer. After reboot plugin your datacard and wait for 5 to 6 seconds . Now run the following command
sudo wvdial netconnect
you should see something like below after running the above command
--> Using interface ppp0
--> local IP address 115.242.127.250
--> remote IP address 220.224.141.129
--> primary DNS address 202.138.97.193
Source: http://harbhag.wordpress.com/2010/09/14/reliance-netconnect-broadband-on-ubuntu/
chown root:root /usr/bin/sudo chmod 4755 /usr/bin/sudo
ls -la /etc/sudoers -r--r----- 1 root root 828 2010-08-03 11:19 /etc/sudoers
chown root:root /etc/sudoers
chmod 440 /etc/sudoers
Download the release from the official channels page:
www.mozilla.com/firefox/channels/
A 64 bit build is also available in the x86_64 directory of Mozilla's FTP.
This how-to supposes that the downloaded file is saved in the "Downloads" directory situated in your home directory.
The downloaded file is a compressed .tar.bz2 archive. In case you want to Learn more on these extensions: tar, bzip2. To extract this juicy archive, open the Downloads directory. Look for a file named firefox-12.0.tar.bz2, right-click on it and select "extract here".
Alternatively, you can extract the archive from the command line:
cd ~/Downloads/
tar xjf firefox-12.0.tar.bz2
For those interested, here are the tar arguments used in the command:
x : eXtract
j : deal with bzipped file
f : read from a file (rather than a tape device)
The firefox-12.0.tar.bz2 archive can now be deleted.
External programs like LibreOffice, Google Chrome, Adobe reader, ... are all installed in the /opt directory. If you want more info about why /opt, check out these two links:
Where to install my products on linux?
Filesystem Hierarchy Standard
If you already had a previous Firefox version installed in the /opt directory, remove it with the following command:
sudo rm -r /opt/firefox
Now move the firefox directory (which was created in your Downloads folder during extraction) to /opt:
sudo mv firefox /opt/firefox12
Depending on you usage pattern, follow the instructions for case 1 OR for case 2.
| "Backup" the old Firefox launcher: Create a symbolic link pointing to the new Firefox version: No need to update your icons/shortcuts, they should now launch the new version of Firefox. Your old Firefox version is still installed. If you want to use it, run firefox-old in a terminal or create shortcuts/icons referring to firefox-old. |
| Create a symbolic link pointing to the new Firefox version: Launch the newly installed Firefox by running firefox12 in a terminal, or create shortcuts/icons referring to firefox12. |
Firefox 12 will manage its own updates independently of your system's package manager, an download subsequent releases. There will be no need to repeat the whole "procedure"... Enjoy Firefox 12!