The other day I wanted to minimize the gnome-terminal to the system tray. Why? Because I thought I should be able to, if I wanted to.
Some apps, such as gaim, the instant messenger already support minimizing to the system tray. So if you click the close button in gaim when you are logged in, the app disappears from the list of windows, and an icon appears in the system tray, which you can then click to bring the main window back to life.
Turns out, with AllTray, you can minimize any app to the system tray. To install, you can use this repository that is linked-to from the alltray homepage. This is probably one of the few cases when the software I wanted wasn’t already in the Ubuntu reporsitories.
Wednesday, September 9, 2009
Sunday, September 6, 2009
Software needed in ubuntu
1st set the proxy variable in ubuntu.
Than do sudo apt-get update
Then you can want any software through sudo apt-get update or searching in the synaptic manager.
Following software will be needed:-
1. java(sun)
In synaptic manager search the java and install java 6 sun.
2. Right click open in terminal
a) Search open terminal and then find nautilus-open-terminal and install it.
b) sudo aptitude install nautilus-open-terminal
3. Media related plug-ins
Just open movie player and open various files to find which plug in you need and install them.
4. Auto mount the ntfs-files in ubuntu
a) Search ntfs-3g and install ntfs config
5. Wine
6. JDK
7. Proxy tunneling
a) Tor using vidalia
8. Yakuake
9.nmap
10. Apex dc++ from exe
11. xchm as chm viewer
12.Some anonymity software
13.Minimise any application to tray
Than do sudo apt-get update
Then you can want any software through sudo apt-get update or searching in the synaptic manager.
Following software will be needed:-
1. java(sun)
In synaptic manager search the java and install java 6 sun.
2. Right click open in terminal
a) Search open terminal and then find nautilus-open-terminal and install it.
b) sudo aptitude install nautilus-open-terminal
3. Media related plug-ins
Just open movie player and open various files to find which plug in you need and install them.
- Play mp3 file
- Play flv file
4. Auto mount the ntfs-files in ubuntu
a) Search ntfs-3g and install ntfs config
5. Wine
6. JDK
7. Proxy tunneling
a) Tor using vidalia
8. Yakuake
9.nmap
10. Apex dc++ from exe
11. xchm as chm viewer
12.Some anonymity software
13.Minimise any application to tray
Thursday, August 27, 2009
Installing tor and vidalia
Vidalia runs on most platforms supported by Qt 4.1 or later, including Windows, Mac OS X, and Linux or other Unix variants using the X11 window system.
Prepare your system
sudo apt-get install libevent
Now you need to get the latest tor source code from here
wget http://www.torproject.org/dist/tor-0.2.0.22-rc.tar.gz
tar zxvf tor-0.2.0.22-rc.tar.gz
cd tor-0.2.0.22-rc
./configure
make
sudo make install
Install Vidalia GUI
You need to edit the /etc/apt/sources.list file
sudo gedit /etc/apt/sources.list
add the following lines
deb http://ppa.launchpad.net/adnarim/ubuntu gutsy main
deb-src http://ppa.launchpad.net/adnarim/ubuntu gutsy main
Save and exit the file
Update the source list
sudo apt-get update
Install vidalia
sudo apt-get install vidalia
Once installed press alt F2 and open the run prompt and type in “vidalia” without the quotes, this will start tor, vidalia and you can configure tor/vidalia by right clicking on the tray applet and click on settings, right there you can view all the nodes and choose what to connect to, see node uptimes, os’s and locations with a graphical map.
For web browsing in firefox I prefer using an extention named FoxyProxy it works well with firefox and swiftfox, you can grab this extention directly from here
If you prefer stronger anonymity & protection I strongly Suggest Torbutton for firefox you can download from here
Install the addon and go through the Tor wizard and it will set you up for you and you can view which tor nodes you connect through actively via vidalia
Speed Tweaks for tor
Lets get to editing our torrc so we can improve the speed!
gedit ~/.vidalia/torrc
Paste this at the beginning of the torrc:
# Set the Tor Circuit Build time to find faster tor servers, increments of seconds
CircuitBuildTimeout 2
# connections while Tor is not in use.
KeepalivePeriod 60
# Force Tor to consider whether to build a new circuit every NUM seconds.
NewCircuitPeriod 15
# Set How many entry guards we should we keep at a time
NumEntryGuards 8
Prepare your system
sudo apt-get install libevent
Now you need to get the latest tor source code from here
wget http://www.torproject.org/dist/tor-0.2.0.22-rc.tar.gz
tar zxvf tor-0.2.0.22-rc.tar.gz
cd tor-0.2.0.22-rc
./configure
make
sudo make install
Install Vidalia GUI
You need to edit the /etc/apt/sources.list file
sudo gedit /etc/apt/sources.list
add the following lines
deb http://ppa.launchpad.net/adnarim/ubuntu gutsy main
deb-src http://ppa.launchpad.net/adnarim/ubuntu gutsy main
Save and exit the file
Update the source list
sudo apt-get update
Install vidalia
sudo apt-get install vidalia
Once installed press alt F2 and open the run prompt and type in “vidalia” without the quotes, this will start tor, vidalia and you can configure tor/vidalia by right clicking on the tray applet and click on settings, right there you can view all the nodes and choose what to connect to, see node uptimes, os’s and locations with a graphical map.
For web browsing in firefox I prefer using an extention named FoxyProxy it works well with firefox and swiftfox, you can grab this extention directly from here
If you prefer stronger anonymity & protection I strongly Suggest Torbutton for firefox you can download from here
Install the addon and go through the Tor wizard and it will set you up for you and you can view which tor nodes you connect through actively via vidalia
Speed Tweaks for tor
Lets get to editing our torrc so we can improve the speed!
gedit ~/.vidalia/torrc
Paste this at the beginning of the torrc:
# Set the Tor Circuit Build time to find faster tor servers, increments of seconds
CircuitBuildTimeout 2
# connections while Tor is not in use.
KeepalivePeriod 60
# Force Tor to consider whether to build a new circuit every NUM seconds.
NewCircuitPeriod 15
# Set How many entry guards we should we keep at a time
NumEntryGuards 8
Assign Custom Shortcut Keys on Ubuntu Linux
Ubuntu includes a very limited shortcut key configuration utility which doesn’t allow you to assign hotkeys to your own applications or scripts. To get around this limitation, we can use the built-in gconf-editor utility to assign them ourselves.
First you’ll want to load up gconf-editor by typing it into the Alt+F2 Run dialog.
Once in the application, navigate to the following key. If you are familiar with regedit on Windows, this is very similar.
Double-click on command_1 and enter in the full path to your script or executable that you are trying to run. (Note that you can use the which command from the shell to find the path most of the time)
Now navigate to the key “global_keybindings”, which is directly above the one we were on.
Here you will want to select run_command_1. Enter in the shortcut key in plain text. For instance, for Alt+T, you’ll doT. You could use T or T, or whatever you want to assign to the key.
You can also create custom commands in the keybinding_commands and assign them in the global_keybindings if you want. Just remember that the keybindings will start with run_(name of command).
2nd way(better way)
Go to System->Preferences->Keyboard shortcuts
There if you find in the list , fine...........otherwise click add and add your custom shortcut and application.
First you’ll want to load up gconf-editor by typing it into the Alt+F2 Run dialog.
Once in the application, navigate to the following key. If you are familiar with regedit on Windows, this is very similar.
apps \ metacity \ keybinding_commandsYou’ll notice a bunch of values on the right. These are the available commands that you can create for assigning to shortcut keys in the next step.
Double-click on command_1 and enter in the full path to your script or executable that you are trying to run. (Note that you can use the which command from the shell to find the path most of the time)
Now navigate to the key “global_keybindings”, which is directly above the one we were on.
Here you will want to select run_command_1. Enter in the shortcut key in plain text. For instance, for Alt+T, you’ll do
You can also create custom commands in the keybinding_commands and assign them in the global_keybindings if you want. Just remember that the keybindings will start with run_(name of command).
2nd way(better way)
Go to System->Preferences->Keyboard shortcuts
There if you find in the list , fine...........otherwise click add and add your custom shortcut and application.
List of shortcuts in ubuntu
Alt-Ctrl-L Locks the screen.
Alt-F1 opens the Applications menu, then use the arrow keys to navigate the submenus.
Alt-F2 opens the Run Application dialog box.
Alt-F3 opens the Deskbar Applet (F3 opens the search bar at the bottom of the window).
Alt-F4 closes the current window.
Alt-F5 unmaximizes the current window (if it’s maximized, of course).
Alt-F7, followed by arrow keys or mouse movement, adjusts the current window’s position.
Alt-F8 resizes the current window.
Alt-F9 minimizes the current window.
Alt-F10 maximizes the current window.
Alt-spacebar opens the window menu.
Alt-Tab moves between open windows.
Ctrl-Alt-Tab moves between open panels on the desktop.
Ctrl-W closes the current window.
Ctrl-Q closes the current application.
Here are some keyboard shortcuts for working in the Terminal window:
Ctrl-C kills the current process.
Ctrl-Z sends the current process to the background.
Ctrl-D logs you out.
Ctrl-R finds the last command matching the entered letters.
Tab followed by entered letters lists the available commands beginning with those letters.
Ctrl-U deletes the current line.
Ctrl-K deletes from the cursor right.
Ctrl-W deletes the word before the cursor.
Ctrl-L clears the terminal output.
Shift-Insert pastes the contents of the clipboard.
Alt-F moves forward one word.
Alt-B moves backward one word.
Alt-F1 opens the Applications menu, then use the arrow keys to navigate the submenus.
Alt-F2 opens the Run Application dialog box.
Alt-F3 opens the Deskbar Applet (F3 opens the search bar at the bottom of the window).
Alt-F4 closes the current window.
Alt-F5 unmaximizes the current window (if it’s maximized, of course).
Alt-F7, followed by arrow keys or mouse movement, adjusts the current window’s position.
Alt-F8 resizes the current window.
Alt-F9 minimizes the current window.
Alt-F10 maximizes the current window.
Alt-spacebar opens the window menu.
Alt-Tab moves between open windows.
Ctrl-Alt-Tab moves between open panels on the desktop.
Ctrl-W closes the current window.
Ctrl-Q closes the current application.
Here are some keyboard shortcuts for working in the Terminal window:
Ctrl-C kills the current process.
Ctrl-Z sends the current process to the background.
Ctrl-D logs you out.
Ctrl-R finds the last command matching the entered letters.
Tab followed by entered letters lists the available commands beginning with those letters.
Ctrl-U deletes the current line.
Ctrl-K deletes from the cursor right.
Ctrl-W deletes the word before the cursor.
Ctrl-L clears the terminal output.
Shift-Insert pastes the contents of the clipboard.
Alt-F moves forward one word.
Alt-B moves backward one word.
Sunday, May 31, 2009
Lenovo 3000 G430 touchpad Problem with ubuntu 8.10
I had a problem using touchpad in ubuntu as it was not working, so I searched on net and find that we have to enable SHMConfig. First, open your terminal, then type this comand:
sudo gedit /etc/hal/fdi/policy/shmconfig.fdiCopy and paste this into the file:
Copy and paste this into the file:Copy and paste this into the file:<?xml version=”1.0″ encoding=”UTF-8″?>
<deviceinfo version=”0.2″>
<device>
<match key=”input.x11_driver” string=”synaptics”>
<merge key=”input.x11_options.SHMConfig” type=”string”>True</merge>
</match>
</device>
</deviceinfo>
I have not yet installed ubuntu 9, hope problem would have been solved...
Tuesday, May 26, 2009
Some Customization that are good in ubuntu
1. Open terminal in my right click context menu.
sudo aptitude install nautilus-open-terminal
2. VLC media player
sudo apt-get install vlc
sudo aptitude install nautilus-open-terminal
2. VLC media player
sudo apt-get install vlc
Exporting proxy variable in ubuntu
In terminal type:
gedit $HOME/.bashrc
At the end of the file add:
export http_proxy=http:// your_proxy_ user:your_ proxy_user_ password@ your_proxy_ ip:your_proxy_port
gedit $HOME/.bashrc
At the end of the file add:
export http_proxy=http://
Sunday, April 26, 2009
Setting K meleon
K meleon as a browser lacks various things, but still it can be made customisable.
1. Set the proxy
To make gmail working , u can do 1 thing that u fill the entries in http, ssl and ftp seperately. It is bad that it don't have any check box like set the same proxy for all services like firefox and flock have.
2. Add delicious bookmarking facility
Hit F12 to post to del.icio.us.
Hit Shift-F12 to set the del.icio.us user name.
F12 will also prompt you for the del.icio.us user name if you haven't previously set one up.
To install macros, either download this from here or go to edit -> configuration -> user-defined macros
and create delicious.kmm and edit it with notepad and write the following code.
3. Speed up.kmm
(code)
download
4. Set some hotlinks in it.
These are stored in pref.js in c:/documents and settings/ user/ Application Data/ Kmeleon
I have saved it in my google site.
1. Set the proxy
To make gmail working , u can do 1 thing that u fill the entries in http, ssl and ftp seperately. It is bad that it don't have any check box like set the same proxy for all services like firefox and flock have.
2. Add delicious bookmarking facility
Hit F12 to post to del.icio.us.
Hit Shift-F12 to set the del.icio.us user name.
F12 will also prompt you for the del.icio.us user name if you haven't previously set one up.
To install macros, either download this from here or go to edit -> configuration -> user-defined macros
and create delicious.kmm and edit it with notepad and write the following code.
3. Speed up.kmm
(code)
download
4. Set some hotlinks in it.
These are stored in pref.js in c:/documents and settings/ user/ Application Data/ Kmeleon
I have saved it in my google site.
Monday, April 13, 2009
Opening tab next to present tab in firefox
Firefox always opens new tabs on the extreme right when you click on a link. If several tabs are open at the same time it becomes a pain to navigate between tabs.
The free add-on ‘Tab Control’changes the behavior of the browser in such a way that it opens the new tabs to the immediate right of the tab in use. This link directs you to the download page. Now, the new positioning of tabs is set as default. Moreover, the tab to the immediate left is activated when you close a tab. This also simplifies the configuration of other properties of the index tab, setting of minimum and maximum breadth, and the symbol for closing.
To customize, open ‘Tools | Add-ons’ and activate ‘options’. Then click on ‘Tab Control’ in the list and then on the accompanying ‘Settings’ button. Increase the minimum breadth of the tabs to ‘50’ because one cannot identify the contents of the tab if it is small. Select the ‘only on active tab’ setting in the combination field ‘Close key’ to prevent the accidental closing of a tab when hanging to an inactive tab. Confirm the configuration with ‘OK’. You're done!
The free add-on ‘Tab Control’changes the behavior of the browser in such a way that it opens the new tabs to the immediate right of the tab in use. This link directs you to the download page. Now, the new positioning of tabs is set as default. Moreover, the tab to the immediate left is activated when you close a tab. This also simplifies the configuration of other properties of the index tab, setting of minimum and maximum breadth, and the symbol for closing.
To customize, open ‘Tools | Add-ons’ and activate ‘options’. Then click on ‘Tab Control’ in the list and then on the accompanying ‘Settings’ button. Increase the minimum breadth of the tabs to ‘50’ because one cannot identify the contents of the tab if it is small. Select the ‘only on active tab’ setting in the combination field ‘Close key’ to prevent the accidental closing of a tab when hanging to an inactive tab. Confirm the configuration with ‘OK’. You're done!
Sunday, April 12, 2009
Command typed in run in windows
Windows Run Commands | |
Accessibility Controls | access.cpl |
Add Hardware Wizard | hdwwiz.cpl |
Add/Remove Programs | appwiz.cpl |
Administrative Tools | control admintools |
Automatic Updates | wuaucpl.cpl |
Bluetooth Transfer Wizard | fsquirt |
Calculator | calc |
Certificate Manager | certmgr.msc |
Character Map | charmap |
Check Disk Utility | chkdsk |
Clipboard Viewer | clipbrd |
Command Prompt | cmd |
Component Services | dcomcnfg |
Computer Management | compmgmt.msc |
timedate.cpl | ddeshare |
Device Manager | devmgmt.msc |
Direct X Control Panel (If Installed)* | directx.cpl |
Direct X Troubleshooter | dxdiag |
Disk Cleanup Utility | cleanmgr |
Disk Defragment | dfrg.msc |
Disk Management | diskmgmt.msc |
Disk Partition Manager | diskpart |
Display Properties | control desktop |
Display Properties | desk.cpl |
Display Properties (w/Appearance Tab Preselected) | control color |
Dr. Watson System Troubleshooting Utility | drwtsn32 |
Driver Verifier Utility | verifier |
Event Viewer | eventvwr.msc |
File Signature Verification Tool | sigverif |
Findfast | findfast.cpl |
Folders Properties | control folders |
Fonts | control fonts |
Fonts Folder | fonts |
Free Cell Card Game | freecell |
Game Controllers | joy.cpl |
Group Policy Editor (XP Prof) | gpedit.msc |
Hearts Card Game | mshearts |
Iexpress Wizard | iexpress |
Indexing Service | ciadv.msc |
Internet Properties | inetcpl.cpl |
IP Configuration (Display Connection Configuration) | ipconfig /all |
IP Configuration (Display DNS Cache Contents) | ipconfig /displaydns |
IP Configuration (Delete DNS Cache Contents) | ipconfig /flushdns |
IP Configuration (Release All Connections) | ipconfig /release |
IP Configuration (Renew All Connections) | ipconfig /renew |
IP Configuration (Refreshes DHCP & Re-Registers DNS) | ipconfig /registerdns |
IP Configuration (Display DHCP Class ID) | ipconfig /showclassid |
IP Configuration (Modifies DHCP Class ID) | ipconfig /setclassid |
Java Control Panel (If Installed) | jpicpl32.cpl |
Java Control Panel (If Installed) | javaws |
Keyboard Properties | control keyboard |
Local Security Settings | secpol.msc |
Local Users and Groups | lusrmgr.msc |
Logs You Out Of Windows | logoff |
Microsoft Chat | winchat |
Minesweeper Game | winmine |
Mouse Properties | control mouse |
Mouse Properties | main.cpl |
Network Connections | control netconnections |
Network Connections | ncpa.cpl |
Network Setup Wizard | netsetup.cpl |
Notepad | notepad |
Nview Desktop Manager (If Installed) | nvtuicpl.cpl |
Object Packager | packager |
ODBC Data Source Administrator | odbccp32.cpl |
On Screen Keyboard | osk |
Opens AC3 Filter (If Installed) | ac3filter.cpl |
Password Properties | password.cpl |
Performance Monitor | perfmon.msc |
Performance Monitor | perfmon |
Phone and Modem Options | telephon.cpl |
Power Configuration | powercfg.cpl |
Printers and Faxes | control printers |
Printers Folder | printers |
Private Character Editor | eudcedit |
Quicktime (If Installed) | QuickTime.cpl |
Regional Settings | intl.cpl |
Registry Editor | regedit |
Registry Editor | regedit32 |
Remote Desktop | mstsc |
Removable Storage | ntmsmgr.msc |
Removable Storage Operator Requests | ntmsoprq.msc |
Resultant Set of Policy (XP Prof) | rsop.msc |
Scanners and Cameras | sticpl.cpl |
Scheduled Tasks | control schedtasks |
Security Center | wscui.cpl |
Services | services.msc |
Shared Folders | fsmgmt.msc |
Shuts Down Windows | shutdown |
Sounds and Audio | mmsys.cpl |
Spider Solitare Card Game | spider |
SQL Client Configuration | cliconfg |
System Configuration Editor | sysedit |
System Configuration Utility | msconfig |
System File Checker Utility (Scan Immediately) | sfc /scannow |
System File Checker Utility (Scan Once At Next Boot) | sfc /scanonce |
System File Checker Utility (Scan On Every Boot) | sfc /scanboot |
System File Checker Utility (Return to Default Setting) | sfc /revert |
System File Checker Utility (Purge File Cache) | sfc /purgecache |
System File Checker Utility (Set Cache Size to size x) | sfc /cachesize=x |
System Properties | sysdm.cpl |
Task Manager | taskmgr |
Telnet Client | telnet |
User Account Management | nusrmgr.cpl |
Utility Manager | utilman |
Windows Firewall | firewall.cpl |
Windows Magnifier | magnify |
Windows Management Infrastructure | wmimgmt.msc |
Windows System Security Tool | syskey |
Windows Update Launches | wupdmgr |
Windows XP Tour Wizard | tourstart |
Wordpad | write |
Subscribe to:
Posts (Atom)