This is one of the many reason I love Linux. My desktop was acting up since a couple of days. I finally found I was having bad sectors on my hard drive. Checking bad sector badblocks is the command in linux which can scan or test hard diskfor bad sectors. Bad sectors or bad blocks Read More …
If you use Linux, with wireless mouse which has a on/off switch, which you forget to switch off while going home,this is what you need to do, write a script.I’m a newbie to shell scripting and loving the things that can be done using it.Okay,I’m using ubuntu 12.04, I read couple of forums and found, Read More …
General keyboard shortcuts
Ctrl + A = Select all
Ctrl + C = Copy the highlighted content to clipboard
Ctrl + V = Paste the clipboard content
Ctrl + N = New (Create a new document, not in terminal)
Ctrl + O = Open a document
Ctrl + S = Save the current document
Ctrl + P = Print the current document
Ctrl + W = Close the close document
Ctrl + Q = Quit the current application
Keyboard shortcuts for GNOME desktop
Ctrl + Alt + F1 = Switch to the first virtual terminal
Ctrl + Alt + F2(F3)(F4)(F5)(F6) = Select the different virtual terminals
Ctrl + Alt + F7 = Restore back to the current terminal session with X
Ctrl + Alt + Backspace = Restart GNOME
Alt + Tab = Switch between open programs
Ctrl + Alt + L = Lock the screen.
Alt + F1 = opens the Applications menu
Alt + F2 = opens the Run Application dialog box.
Alt + F3 = opens the Deskbar Applet
Alt + F4 = closes the current window.
Alt + F5 = unmaximizes the current window.
Alt + F7 = move the current window
Alt + F8 = resizes the current window.
Alt + F9 = minimizes the current window.
Alt + F10 = maximizes the current window.
Alt + Space = opens the window menu.
Ctrl + Alt + + = Switch to next X resolution
Ctrl + Alt + - = Switch to previous X resolution
Ctrl + Alt + Left/Right = move to the next/previous workspace
Keyboard shortcuts for Terminal
Ctrl + A = Move cursor to beginning of line
Ctrl + E = Move cursor to end of line
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.
Enter a letter, followed by Tab + Tab = lists the available commands beginning with those letters.
Ctrl + U = deletes the current line.
Ctrl + K = deletes the command from the cursor right.
Ctrl + W = deletes the word before the cursor.
Ctrl + L = clears the terminal output
Shift + Ctrl + C = copy the highlighted command to the clipboard.
Shift + Ctrl + V (or Shift + Insert) = pastes the contents of the clipboard.
Alt + F = moves forward one word.
Alt + B = moves backward one word.
Arrow Up/Down = browse command history
Shift + PageUp / PageDown = Scroll terminal output
Keyboard shortcuts for Compiz
Alt + Tab = switch between open windows
Win + Tab = switch between open windows with Shift Switcher or Ring Switcher effect
Win + E = Expo, show all workspace
Ctrl + Alt + Down = Film Effect
Ctrl + Alt + Left mouse button = Rotate Desktop Cube
Alt + Shift + Up = Scale Windows
Ctrl + Alt + D = Show Desktop
Win + Left mouse button = take screenshot on selected area
Win + Mousewheel = Zoom In/Out
Alt + Mousewheel = Transparent Window
Alt + F8 = Resize Window
Alt + F7 = Move Window
Win + P = Add Helper
F9 = show widget layer
Shift + F9 = show water effects
Win + Shift + Left mouse button = Fire Effects
Win + Shift + C = Clear Fire Effects
Win + Left mouse button = Annotate: Draw
Win + 1 = Start annotation
Win + 3 = End annotation
Win + S = selects windows for grouping
Win + T = Group Windows together
Win + U = Ungroup Windows
Win + Left/Right = Flip Windows
Keyboard shortcut for Nautilus
Shift + Ctrl + N = Create New Folder
Ctrl + T = Delete selected file(s) to trash
Alt + ENTER = Show File/Folder Properties
Ctrl + 1 = Toggle View As Icons
Ctrl + 2 = Toggle View As List
Shift + Right = Open Directory (Only in List View)
Shift + Left = Close Directory (Only in List View)
Ctrl + S = Select Pattern
F2 = Rename File
Ctrl + A = Select all files and folders
Ctrl + W = Close Window
Ctrl + Shift + W = Close All Nautilus Windows
Ctrl + R = Reload Nautilus Window
Alt + Up = Open parent directory
Alt + Left = Back
Alt + Right = Forward
Alt + Home = go to Home folder
Ctrl + L = go to location bar
F9 = Show sidepane
Ctrl + H = Show Hidden Files
Ctrl + + = Zoom In
Ctrl + - = Zoom Out
Ctrl + 0 = Normal Size
I found out how to do this recently and thought it might be helpful to some people. To output this information to a file in your home directory you would use, Code:
dpkg --get-selections > installed-software
And if you wanted to use the list to reinstall this software on a fresh ubuntu setup, Code:
dpkg --set-selections < installed-software
followed by Code: Read More …
One way would be to create a small bash script that will kick off those programs, then create a startup script that calls it via at. So, create your bash script, something like lazy-startup.sh: Script 1:
Then create your kickoff script lazy-startup-kickoff.sh Script 2, that will execute Script 1
at -f /path/to/lazy-startup.sh now + 5 minutes
LYX: sudo apt-get install texlive-publishers sudo apt-get install texlive-science Miscellaneous chown chmod chgrp lsmod lsmod lspci lsusb grep dmesg dmesg | grep tty Programming AVR
avrdude -c stk500v2 -P robokitsusbprog -p atmega32 -U flash:w:robokits.hex -U hfuse:w:0xD9:m -U lfuse:w:0xE1:m
sudo avrdude -p atmega168 -P /dev/ttyS0 -c ponyser -U hfuse:w:0xdd:m -U lfuse:w:0xff:m -U efuse:w:0×00:m
sudo avrdude -p atmega328p -P /dev/ttyS0 -c ponyser -U flash:w:main.hex
Package Related install .rpm directly
sudo alien -i package_file.rpm
convert .rpm to .deb
sudo alien package_file.rpm
install converted .deb package
sudo dpkg -i package_file.deb
Get window borders back
enter the command in RUN aoss gtick Read More …
Remove partial packages, unused dependences, orphaned packages You have installed a lot of applications, uninstalled them. A lot of times when you apt-get remove all those dependencies stay behind. There are a lot that think aptitude is the answer but I have found that when you aptitude remove an application it removes stuff you don’t Read More …
Manually There are various locations in GNU/Linux in which fonts can be kept. These locations are defined in /etc/fonts/fonts.conf; standard ones include /usr/share/fonts, /usr/local/share/fonts, and /home/<username>/.fonts (where <username> is your user name). The easiest way to install a truetype font is to press alt-F2 and enter the following code (this will open nautilus in the Read More …
Email to Ubuntu One Support: “I cannot sign in using existing account,when I enter sign in details, it shows authentication failure, I’m certain the information I entered is 100% correct, moreover when I click on the ‘forgot password’ link, and enter my email ID, it says ‘Sorry we did not recognize the email address’ ” Read More …