Search this site

Saturday, July 21, 2012

Show Desktop key (Alt+Control+d) is not working in Ubuntu Linux!!


Open CompizConfig Setting Manager from Ubuntu dashboard, and navigate to Key bindings  tab of General options, as shown below:






Find Show Desktop setting. It may be disabled or bounded to some keys-combination.

To set it to keys-combination of  your choice: click the Disable button: an Edit Show Desktop windows  will pop-up:



You can, select Grab key combination, and type your keys-combination. you can use default: Control Alt d. CompizConfig Setting Manager will show it as <Primary><Alt>d


Now you can toggle to Desktop by pressing keys-combination Control Alt d

Installation of ASP.NET MVC 3: Error 0x80070643 installing ASP.NET MVC 3 / MVC 3 setup fails


While Installing MVC3 for VS2010, it gives installation did not succeed message and the logs show this error:


Here goes the solution.
  1. Uninstall old version of Asp net web pages from you system.
  2. Run the install (even though it fails) but leave it open on the screen at the end that says "Installation Did Not Succeed" (This is very important!)
  3. Now you need to track down the temp files for the installer it should be in a folder D:/Temp/ext46220 (see the above error message screen shot it will give you the folder location)
  4. Make a copy of this entire folder because finishing the installer will delete it.
  5. Now that you have all the install files you just need to run the installers for the different components (to double check what they were you can open the log from the installer and see which msi's it ran)
  6. So install AspNetWebPagesVS2010Tools.msi then AspNetMVC3VS2010Tools.msi form the copied folder.
This should work but after doing this when I was build a MVC3 application it gave errors sunc as missing reference for System.Web.MVC.dll and some Microsoft Web Helper DLLs for this I did following.

Since MVC3 has done major changes in this release as compared to MVC2 so you need to download ASP.NET MVC 3 Beta and NuPack.  download and install them using the Microsoft Web Platform Installer.



Friday, July 06, 2012

Some Password-Change related issues in ubuntu linux.Tested solutions.

Here are some Password-Change related issues in ubuntu linux and their tested solutions:

1."Authentication token manipulation error", while trying to change a Ubuntu user's password:

Possible resaon for this error is that the filesystem night be mounted as read only.  To fix it, simply type:

    mount -o remount,rw /

2. While using sudo passwd  command, it gives "password changed successfully" message., but in reality still taking the same old password, and denying the new password:

To solve this problem, first explicitly switch to the user account whose password you want to change.

    sudo su youusername

Tip: you may use sudo whoami command to find the current user.

now try :

    sudo passwd


Should work.

Unable to switch application-windows using Alt+Tab keys in Ubuntu Linux!

 If you are unable to switch application-windows such as terminal windows, gedit... using Alt+Tab keys in Ubuntu Linux, then you can try fix given below:
Go to   Dash Board > System Settings and select  Keyboard:




Select  Shortcuts tab and go to Navigation on left. Click on Switch applications setting and and set it to Alt+Tab:
 


Reboot the system.

If problem still persist, then you can try Compiz Config Settings Manager. To install  this, type:

sudo apt-get install compizconfig-settings-manager


Open it from Ubuntu Dashboard:


Go to  Window Management and check Application Switcher and Static Application Switcher:





Reboot your system, then again try Alt-Tab, it should work!!!



Tip: Compiz Config Settings Manager can help in solving many shortcut-keys related problem. For example: If show Desktop key (Alt+Control+d) is not working in your Ubuntu Linux, then you can try following steps:

Open CompizConfig Setting Manager from Ubuntu dashboard, and navigate to Key bindings  tab of General options, as shown below:


Find Show Desktop setting. It may be disabled or bounded to some keys-combination.

To set it to keys-combination of  your choice: click the Disable button: an Edit Show Desktop windows  will pop-up:


You can, select Grab key combination, and type your keys-combination. you can use default: Control Alt d. CompizConfig Setting Manager will show it as <Primary><Alt>d


Now you can toggle to Desktop by pressing keys-combination Control Alt d


Tuesday, July 03, 2012

Google Chome & Chromium (Windows/Ubuntu Linux) Internet Browser: Automatically clear cache, history and other browsed data on exit. Important privacy settings.


To protect your privacy, you should make sure that Google Chrome (Windows) & Chromium (Linux) Internet Browser automatically deletes your browsing history, autofill form data, passwords, typed URLs, cookies, and other traces of online activities. Following settings may help:
1. Click the “Customize and control Chromium (or Chrome)”  icon at top-right of the browser and select “Settings”, as shown below:



2.  Navigate to Personal Stuff settings (Linux) or Advanced Settings (Windows):
Password Settings: select “Never save passwords”


Form Autofill setting: uncheck “Enable Autofill to fill out web forms in a single click.”




3.  Navigate to Under the Hood settings  (Linux) or Advanced Settings> Privacy (Windows):




The most important setting required for clearing cache, history and browsing data is:
 Privacy> Content Settings



Check the “Clear cookies and other site and plug-in data when I close my browser”.

Tip: Many websites such as Facebook, Twitter, Flickr, DropBox, Google etc. use encrypted HTTPS at the time of authentication/verification only, after then plain HTTP takes over to avoid performance issues. HTTPS can provide end-to-end encryption and security between the web-application and the web-server. To force HTTPS protocol on your Chome or Chromium browser, you can use Use HTTPS or HTTPS Everywhere extension. These applications search for HTTPS connections available on the  Web-sites and enforce the HTTPS end-to-end communication, if the HTTPS is not available, then they simply re-direct to  plain HTTP connections. Below are pictures of popular HTTPS enforcer applications: