Ubuntu: Difference between revisions
m (→NDISwrapper: layout) |
|||
(12 intermediate revisions by 3 users not shown) | |||
Line 14: | Line 14: | ||
And use the module | And use the module | ||
modprobe ndiswrapper | modprobe ndiswrapper | ||
== Compiz == | |||
To enable compiz install the Nvidia drivers and install CompizConfig Settings Manager | |||
sudo apt-get install simple-ccsm | |||
Now navigate to system > preferences > Appereance And go to the Visual effects tab. Choose custum there | |||
On Kubuntu change the default windows manager | |||
System Settings -> Default Applications -> Windows manager | |||
{| class="wikitable" style="text-align:center" border="1" cellspacing="0" cellpadding="5" | |||
!style="background:#ffdead;"|Desktop Effects | |||
!style="background:#ffdead;"|Keyboard Shortcuts | |||
|- | |||
|Rotate Cube Manually | |||
|Ctrl + Alt + Left Mouse Button | |||
|- | |||
|Expo | |||
|Super + E (toggle) | |||
|- | |||
|Rotate Cube | |||
|Mousewheel on Desktop | |||
|- | |||
|Film Effect | |||
|Ctrl + Alt + Down Arrow | |||
|- | |||
|Scale Windows | |||
|Alt + Shift + Up Arrow | |||
|- | |||
|Ring Switcher | |||
|Super + Tab - overrides Shift Switcher | |||
|} | |||
Super key is the windows key :-) | |||
== Mount Network Share == | |||
First install smbfs | |||
apt-get install smbfs | |||
Then create a folder inside of the /media directory to mount the share on or choose you're own directory | |||
sudo mkdir /media/Storage | |||
Create a credentials file in /root so that you can save your password and have it protected by the root account: | |||
sudo gedit /root/.cifscredentials | |||
Add this to the file | |||
username=Guest | |||
password= | |||
sudo vi /etc/fstab | |||
Add the following line | |||
//192.168.0.10/SHARENAME /media/Storage cifs auto,iocharset=utf8,uid=USER,gid=users,credentials=/root/.cifscredentials,file_mode=0775,dir_mode=0775 0 0 | |||
To check if the file works | |||
sudo mount -a | |||
And you should see you're drives on the desktop | |||
Ik you get error when you shut down the pc ''CIFS VFS: server not responding'' then you have to unmount first. Do this with the following | |||
ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K15umountnfs.sh | |||
ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K15umountnfs.sh | |||
== Citrix Ica client == | |||
Download the Linux citrix ica client from Citrix | |||
http://citrix.com/English/SS/downloads/details.asp?downloadID=3323&productID=-1 | |||
Install the 32bits libraries if youŕe working on a 64bits platform | |||
apt-get install ia32-libs | |||
Install the Open-motif libraries | |||
apt-get install libmotif3 | |||
citrix 11 requires openmotif 2.3.1 Download the rpm package for openmotif 2.3.1, I used: | |||
ftp://ftp.ics.com/openmotif/2.3/2.3.1/openmotif-2.3.1-1.RHEL3.0.i386.rpm | |||
To convert a rpm package to a debian package. Use alien to convert the rpm to a deb package | |||
alien -d openmotif-2.3.1-1.RHEL3.0.i386.rpm | |||
Then install the package in the usual way. Note, before installing the alien'ed package it is best to uninstall the previous version of motif, as this will not update the existing motif package. | |||
dpkg -i openmotif_2.3.1-2_i386.deb | |||
Unpack the package and execute the installation script | |||
./setupwfc | |||
Find the plugin directory of firefox. Probably is /usr/lib/firefox/plugins/ otherwise use | |||
find / -name plugins | grep -i "netscape\|firefox\|mozilla" | |||
Create a symlink to the citrix ica library | |||
ln –s /usr/lib/ICAClient/npica.so npica.so | |||
If you open a connection to your citrix server. The browser will ask you if you want to open or save the session. Browse to the ica client | |||
/usr/lib/ICAClient/wfica | |||
and tell it to use it for all applications. | |||
When you get a ssl error "you have not chosen to thrust....." Then copy the certificate in this location. | |||
/usr/lib/ICAClient/keystore/cacerts/ | |||
For 64Bits OS | |||
Install Needed 32-bit Open Motif libraries to /usr/lib32 | |||
Setup a temporary environment | |||
mkdir -p ~/tmp/Citrix | |||
cd ~/tmp/Citrix | |||
Download a recent i386 libmotif3 .deb package to the above folder | |||
wget http://mirrors.kernel.org/ubuntu/pool/multiverse/o/openmotif/libmotif3_2.2.3-1.4_i386.deb | |||
Use dpkg to extract the package | |||
dpkg -x libmotif3*i386.deb libmotif | |||
Copy the libraries to /usr/lib32 | |||
sudo cp libmotif/usr/lib/*.so.* /usr/lib32/ | |||
sudo cp -r libmotif/usr/lib/X11/bindings /usr/lib32/X11/ | |||
== Make DVD == | |||
To make a video DVD you can burn you're image on the dvd. If you just have the VIDEO_TS files then the easiest way is to convert these into a iso. | |||
mkisofs -dvd-video -o ~/moviename.iso /path/to/the/VIDEO_TS | |||
/path/to/the/VIDEO_TS path is for example /moviename not /moviename/VIDEO_TS | |||
== FFMPEG == | |||
Is a video converter tool | |||
#>/usr/bin/ffmpeg -i "00059.MTS" -vcodec flv -f flv -r 25 -s 356x200 -aspect 16:9 -b 2000k -g 160 -cmp 2 -subcmp 2 -mbd 2 -flags +aic+cbp+mv0+mv4 -trellis 2 -acodec libmp3lame -ac 2 -ar 44100 -ab 256k "stacaravan1.flv" |
Latest revision as of 00:35, 8 February 2010
NDISwrapper
NDISwrapper is a free software driver wrapper that enables the use of Microsoft Windows drivers for wireless network devices.
Download the windows driver wich contains the .inf file
Install with ndiswrapper -i drivername.inf
check the device id with lsusb or lspci -n
Now execute with ndiswrapper -a deviceid driver
ndiswrapper -a 0bda:8197 net8187b
check the installed drivers
ndiswrapper -l
Write the configuration for modprobe
ndiswrapper -m
And use the module
modprobe ndiswrapper
Compiz
To enable compiz install the Nvidia drivers and install CompizConfig Settings Manager
sudo apt-get install simple-ccsm
Now navigate to system > preferences > Appereance And go to the Visual effects tab. Choose custum there
On Kubuntu change the default windows manager
System Settings -> Default Applications -> Windows manager
Desktop Effects | Keyboard Shortcuts |
---|---|
Rotate Cube Manually | Ctrl + Alt + Left Mouse Button |
Expo | Super + E (toggle) |
Rotate Cube | Mousewheel on Desktop |
Film Effect | Ctrl + Alt + Down Arrow |
Scale Windows | Alt + Shift + Up Arrow |
Ring Switcher | Super + Tab - overrides Shift Switcher |
Super key is the windows key :-)
First install smbfs
apt-get install smbfs
Then create a folder inside of the /media directory to mount the share on or choose you're own directory
sudo mkdir /media/Storage
Create a credentials file in /root so that you can save your password and have it protected by the root account:
sudo gedit /root/.cifscredentials
Add this to the file
username=Guest password=
sudo vi /etc/fstab Add the following line
//192.168.0.10/SHARENAME /media/Storage cifs auto,iocharset=utf8,uid=USER,gid=users,credentials=/root/.cifscredentials,file_mode=0775,dir_mode=0775 0 0
To check if the file works
sudo mount -a
And you should see you're drives on the desktop
Ik you get error when you shut down the pc CIFS VFS: server not responding then you have to unmount first. Do this with the following
ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K15umountnfs.sh ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K15umountnfs.sh
Citrix Ica client
Download the Linux citrix ica client from Citrix
http://citrix.com/English/SS/downloads/details.asp?downloadID=3323&productID=-1
Install the 32bits libraries if youŕe working on a 64bits platform
apt-get install ia32-libs
Install the Open-motif libraries
apt-get install libmotif3
citrix 11 requires openmotif 2.3.1 Download the rpm package for openmotif 2.3.1, I used:
ftp://ftp.ics.com/openmotif/2.3/2.3.1/openmotif-2.3.1-1.RHEL3.0.i386.rpm
To convert a rpm package to a debian package. Use alien to convert the rpm to a deb package
alien -d openmotif-2.3.1-1.RHEL3.0.i386.rpm
Then install the package in the usual way. Note, before installing the alien'ed package it is best to uninstall the previous version of motif, as this will not update the existing motif package.
dpkg -i openmotif_2.3.1-2_i386.deb
Unpack the package and execute the installation script
./setupwfc
Find the plugin directory of firefox. Probably is /usr/lib/firefox/plugins/ otherwise use
find / -name plugins | grep -i "netscape\|firefox\|mozilla"
Create a symlink to the citrix ica library
ln –s /usr/lib/ICAClient/npica.so npica.so
If you open a connection to your citrix server. The browser will ask you if you want to open or save the session. Browse to the ica client
/usr/lib/ICAClient/wfica
and tell it to use it for all applications.
When you get a ssl error "you have not chosen to thrust....." Then copy the certificate in this location.
/usr/lib/ICAClient/keystore/cacerts/
For 64Bits OS
Install Needed 32-bit Open Motif libraries to /usr/lib32
Setup a temporary environment
mkdir -p ~/tmp/Citrix cd ~/tmp/Citrix
Download a recent i386 libmotif3 .deb package to the above folder
wget http://mirrors.kernel.org/ubuntu/pool/multiverse/o/openmotif/libmotif3_2.2.3-1.4_i386.deb
Use dpkg to extract the package
dpkg -x libmotif3*i386.deb libmotif
Copy the libraries to /usr/lib32
sudo cp libmotif/usr/lib/*.so.* /usr/lib32/ sudo cp -r libmotif/usr/lib/X11/bindings /usr/lib32/X11/
Make DVD
To make a video DVD you can burn you're image on the dvd. If you just have the VIDEO_TS files then the easiest way is to convert these into a iso.
mkisofs -dvd-video -o ~/moviename.iso /path/to/the/VIDEO_TS
/path/to/the/VIDEO_TS path is for example /moviename not /moviename/VIDEO_TS
FFMPEG
Is a video converter tool
#>/usr/bin/ffmpeg -i "00059.MTS" -vcodec flv -f flv -r 25 -s 356x200 -aspect 16:9 -b 2000k -g 160 -cmp 2 -subcmp 2 -mbd 2 -flags +aic+cbp+mv0+mv4 -trellis 2 -acodec libmp3lame -ac 2 -ar 44100 -ab 256k "stacaravan1.flv"