About Vidyadhar


Website: http://techienote.com
Vidyadhar has written 43 articles so far, you can find them below.


Restart Apple iPod, iPhone, iPad

Sometimes an Apple iPod/iPhone/iPod may freeze/hang. By following below ways you can restart iPod/iPhone/iPod.

Press and hold the following combination of buttons simultaneously for approximately 10 seconds to reset the iPod.
(more…)

Installing fonts on linux

To install new fonts on linux you need to run few commands


In ubuntu

apt-get install ttmkfdir

For single user

If ~/.fonts does not exist, create it:

mkdir ~/.fonts

Copy the font, from the command line, run the following:

cp [fontfile] ~/.fonts

From the command line, run the following:

fc-cache -f -v ~/.fonts

or alternatively, log out, and log back in.

For all users

Installing for system wide use As root, create the fonts directory:

mkdir /usr/share/fonts/myfonts

Copy the font files in:

cp [fontfiles] /usr/share/fonts/myfonts

cd into the fonts directory:

cd /usr/share/fonts/myfonts

Make fonts.dir:

ttmkfdir -c

Copy fonts.dir to fonts.scale:

cp fonts.scale fonts.dir

Now update the font-config cache:

fc-cache -f -v

To add fonts in the future, just run:

cp [fontfiles] /usr/share/fonts/myfonts
cd /usr/share/fonts/myfonts
ttmkfdir -c
cp fonts.scale fonts.dir
fc-cache -f -v


In Fedora

For single user

If ~/.fonts does not exist, create it:

mkdir ~/.fonts

Copy the font, from the command line, run the following:

cp [fontfile] ~/.fonts

From the command line, run the following:

fc-cache -f -v ~/.fonts

or alternatively, log out, and log back in.

For all users

Installing for system wide use As root, create the fonts directory:

mkdir /usr/share/fonts/myfonts

Copy the font files in:

cp [fontfiles] /usr/share/fonts/myfonts

cd into the fonts directory:

cd /usr/share/fonts/myfonts

Make fonts.dir:

ttmkfdir -c

Copy fonts.dir to fonts.scale:

cp fonts.scale fonts.dir

Add the font path:

/usr/sbin/chkfontpath -q --add /usr/share/fonts/myfonts

Now update the font-config cache:

fc-cache -f -v

To add fonts in the future, just run:

/usr/sbin/chkfontpath -q --remove /usr/share/fonts/myfonts
cp [fontfiles] /usr/share/fonts/myfonts
cd /usr/share/fonts/myfonts
ttmkfdir -c
cp fonts.scale fonts.dir
fc-cache -f -v
/usr/sbin/chkfontpath -q --add /usr/share/fonts/myfonts

Firefox Sync – Synchronise your Firefox bookmarks

Ever want to sync Firefox bookmarks, and browsing history between your office PC & Home PC, then Firefox Sync is the answer. Firefox Sync (formerly Labs/Weave) gives you secure access to your bookmarks, open tabs, and browsing history from any computer, as well as mobile Firefox and Firefox Home for iPhone.
With Firefox Sync you can access your history, passwords, bookmarks and even open tabs across all your devices.
Firefox Sync is available for Firefox 3.5 and 3.6. If you are using Firefox 4 Beta, Sync is a feature and you don’t need to download the Add-on.

Install and set up a Firefox Sync

  1. Go to the Mozilla Add-ons Firefox Sync page, and click Add to Firefox.
  2. When you have finished installing Firefox Sync, click Restart Firefox. Firefox will restart with the Add-ons window open.
  3. In the Add-ons window, click Preferences to open the Sync panel.
  4. Click Set Up Firefox Sync
  5. Click I’ve never used Sync before.
  6. Create a username and password. Enter your email address, and check “I agree to the Terms of Service and Privacy Policy”. Click Next to continue.
  7. Create a secret phrase, then click Next.
  8. Choose what information to sync. By default, Firefox Sync will sync everything. For Advanced Users, if you really want to customize your settings, you can Click on Sync Everything and set it to Use my custom settings to pick which items to sync, then click Next.
  9. Enter text from the image, then click Next.
  10. You will see a Setup Complete! message. Click Finish to close the setup window and take you back to the Sync panel.
  11. You do not need to do anything else. Firefox Sync will automatically sync your data in the background from here on. Note: The sync should happen very quickly but may take up to 24 hours.
  12. Make sure the initial sync has completed before you use Firefox Sync on another device. To see if the initial sync is complete, mouse over the Firefox Sync icon in the bottom right corner of the Firefox window. A tool tip should appear with a Last Update time. If there isn’t a time listed or the time is a while ago, the Firefox Sync servers will not have your most recent data.

Installing Firefox Sync on another computer for sync

  1. See steps 1-3 above.
  2. In the Sync panel, click Set Up Firefox Sync.
  3. Click I’m already using Sync on another computer.
  4. Enter your Firefox Sync username and password, then click Next.
  5. Enter your secret passphrase, then click Next.
  6. You will be asked to choose what to do with the data.
    • Merge this computer’s data with your Sync data- this option combines the Firefox settings stored on the server with those on this computer.
    • Replace all data on this computer with your Firefox Sync data- this option allows you to restore your Firefox data from the server copy. Great for when you are setting up a brand new computer, for example.
    • Replace all other devices with your local data- this option will erase the settings on all of your other copies of Firefox and replace them with the ones from this computer.

  7. Choose suitable option & press next
  8. Click Next, then confirm to start syncing your data. You can view your Firefox Sync status in the bottom-right corner of the Firefox window.

Limit the number of connection on a Windows Server 2003 terminal server

By default, with a Windows Server 2003 terminal server in Remote Administration mode, you can have two remote sessions and one console session, for a total of three active sessions. But if you want restrict only one user at a time can connect to a Windows Server 2003 terminal server in Remote Administration Mode remotely or at the console, then you need to limit the number of connection.

Limiting the number of remote sessions on a Windows Server 2003 terminal server

1. Click start > Control Panel > Administrative Tools and then click Terminal Services Configuration.
2. In the console tree, click Connections.
3. In the right-side pane, right-click RDP-Tcp, and then click Properties.
4. On the Network Adapter tab, click to select 1 from the Maximum connections list.
5. On the Permissions tab, click Add, type Everyone in the Enter the object names to select (examples) box, click Check Names, and then click OK.
6. In the Group or user names area, click to select the Everyone group.
7. In the Permissions for Everyone area, click to select the Deny check box to deny permission for Guest Access, and then click OK.

Disabling USB Device in Windows 7

Most of the time we want to prevent users from attaching their USB drives, iPod to the office PC. For the same you can disable USB from BIOS, but due to this you can’t attach USB keyboard or mouse anymore. A simple registry trick can do the job to block USB devices other than keyboard & mouse

1. Open Registry Editor
2. In Registry Editor, navigate to the following registry key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR

3. Locate the start key in the right pane & change its value to 4
(Note: To re-enable USB devices change the value back to 3)

Another trick is user can able to connect and read the data from USB drive but not able to copy anything on it.
To write protect usb devices
1. Open Registry Editor
2. In Registry Editor, navigate to the following registry key

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\StorageDevicePolicies

3. Now add a new DWORD key WriteProtect in the right pane and assign the value as 0.
(Note: To grant writing access to USB devices change the value to 1)

Above settings are also tested on Windows XP & Windows Vista

Page 2 of 9«123456»...Last »
rss twitter facbook

Categories

Archives