Category: Office

  • enable NOPASSWD for yourself

    I have some bash scripts which I manually run a lot and they need to run with sudo. I also don’t want to be prompted for any password. Here is the solution. Edit the /etc/sudoers: Add a new entry at the last (USERNAME is your account name). Restart the sudo service. Logout then login again.…

  • Handle notes:// link in Firefox

    It’s very easy after googling… $ cd /usr/share/applications $ sudo cp LotusNotes8.5.desktop LotusNotes8.5-url.desktop $ sudo vi LotusNotes8.5-url.desktop The example: [Desktop Entry] Encoding=UTF-8 Name=Lotus Notes 8.5 Url Type=Application Exec=/opt/ibm/lotus/notes/framework/../notes-wrapper %u Icon=/opt/ibm/lotus/notes/framework/shared/eclipse/features/com.ibm.notes.links.feature_8.5.4.20120906-1255/icons/notes.ico Terminal=false MimeType=x-scheme-handler/notes Categories=Application;Office; NoDisplay=true $ sudo update-desktop-database Versions: Ubuntu 12.04.2 LTS x86_64 IBM Lotus Notes 8.5.4 x86 Reference: Comment 2 for bug 788673 – unable to…

  • Two python versions in system

    We have some python scripts for scheduled jobs. They are moved from a old machine and work very well automatically and manually. When we moved them to another machine, manually run them works fine. But they don’t work when we put them in corn. After some search, there are two python versions in system. One…

  • Install Eclipse on Ubuntu

    Eclipse Kepler (4.3) is released on June 16, 2013. I want to try it on my Ubuntu 12.04 LTS. Follow these steps for the installation: Download Eclipse from eclipse.org Extract the eclipse-xxx-xxx-xxx-linux-gtk-x86_64.tar.gz using Switch to root Copy extracted folder to /opt and rename to eclipse_kepler Create a desktop file and install it. The content of…

  • Hide Users on Welcome Screen in Windows

    If you create some local user accounts in Windows for providing some services, but don’t want to let them show in Welcome Screen. You can add some settings in Windows Registry. I have tried this in Windows 7 and Windows 2008 R2. It works. Google reference: “Hide Users on Welcome Screen in Windows”.