it is possible to use the nautilus-open-terminal software.
Download it with
sudo apt-get install nautilus-open-terminalThen restart nautilus with logging out and in again, or with
nautilus -qThis should do the trick.
&& Have fun using it!
This is a tutorial for HP-Compaq TC4400 Users on Ubuntu. Note, that I'm a total beginner with Linux, so this page will contain everything I did with my Notebook called Alice :-)
sudo apt-get install nautilus-open-terminalThen restart nautilus with logging out and in again, or with
nautilus -qThis should do the trick.
xsetwacom set 'Serial Wacom Tablet' Rotate [NONE | CW | CCW | HALF]
xsetwacom set 'Serial Wacom Tablet eraser' Rotate [NONE | CW | CCW | HALF]
xsetwacom --set "Serial Wacom Tablet" "TwinView" none
xsetwacom --set "Serial Wacom Tablet eraser" "TwinView" none
xinput -set-prop "Serial Wacom Tablet" "Wacom Tablet Area" x1, y1, x2, y2
xinput -set-prop "Serial Wacom Tablet eraser" "Wacom Tablet Area" x1, y1, x2, y2
Here's how to do it:pre {
background-color: #DFDFDF;
color: #000000;
border: 1px dotted gray;
width: 95%;
padding: 10px;
/* to make the text inside the pre tag wrap: */
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
<pre><code>and </code></pre> like this:<pre><code> import pygame from pygame.locals import * print "Pygame imported without errors." </code></pre>
< for < signs and > for > signs. In case you actually need to embed an ampersand followed by some characters followed by a semicolon, you will need to replace the ampersand with &. Yes, this is annoying. Unfortunately I can find no better way to do this on Blogger at the moment.#!/bin/bash
#Ubuntu 10.04 Lucid Lynx
#Automatization of "scanimage" to create sequentially numbered output.
#START
echo "WELCOME TO AUTOMATED SCANIMAGE"
echo ""
echo "Please give me the size of scan area in mm"
echo -n "width: "; read x
echo -n "height: "; read y
#make it failsafe:
if [[ $x>213.8 || $x = "" ]]; then x="213.8"; fi
if [[ $y>300 || $y = "" ]]; then y="300"; fi
echo "Scan area will be: $x x $y mm"
echo ""
echo "Please choose scan mode: L for Lineart, G for Gray. Press enter for Color."; read mode
#make it failsafe:
if [[ $mode == [Ll] ]]; then mode="Lineart" && ext="pbm"
elif [[ $mode == [Gg] ]]; then mode="Gray" && ext="pnm"
else mode="Color" && ext="pnm"
fi
echo "Scan mode will be $mode"
#print "to start printing press enter to quit press escape"
#scan and save
#go back to enter or escape
date=1
while true; do
echo -n "Press 'enter' to scan; anything else to quit' "; read scan;
if [[ $scan = "" ]]; then
let "date =`date +%Y%m%d%H%M%S`"
echo "Scanning will progress with the following parameters:"
echo "size: $x x $y, mode $mode, filename: $date.$ext"
scanimage -x $x -y $y --mode $mode > $date.$ext
else break
fi
done
echo "Finished scanning. Thank you for using this script :-*"