Flash and Java for 64-bit debian sid/sidux in Iceweasel
Note:
Flash
First of all you need to install nspluginwrapper:
apt-get install nspluginwrapper
Now go get flash9 here and unpack the file to somewhere logical. I unpack it to /home/thomas/flash for example (to unpack do this in the directory where you have placed the tar.gz file :unp filename.tar.gz). When you’ve unpacked it you will find one file of interest : libflashplayer.so
Shut down Iceweasel. Now go to ~/.mozilla/plugins then do this:
nspluginwrapper -i /home/homedir/folder/install_flash_player_9_linux/libflashplayer.so
When you start up Iceweasel again flash should be installed.
PS: This is my way to do it….. there may be other more correct ways to get there.
Java
Java may not work on all sites with this solution but it works generally, and it’s easy to install. Shut down Iceweasel and do this:
apt-get install java-gcj-compat-plugin
Thats it! Just fire up Iceweasel again and it should work.
Good luck!
PS: I’ve tested these two methods only once, there may be errors. Contact me by commenting here or send an e-mail to fredforfaen at gmail dot com if it doesn’t work.
How to make a simple tar archive from the command-line
Just wanted to make a quick note on how to make a simple tar archive. Do this:
tar -cvzf archivename.tgz /path/to/file/or/folder
Do a man tar to get more info.
Enjoy!
Removing KDE
Note:
This applies to all Debian based systems.This will REMOVE KDE, and all packages that are dependent on it.USE THIS COMMAND ON YOUR OWN RISK!!!
Here we go :
su
Password:
apt-get remove ksysgardd koffice* kde* kivio-data
If you get a error message like E: Couldn’t find package XXXX just remove that from the command and run it again.
If you haven’t already, you should install another window-manager, there are several to choose from but use apt-cache search XXXX to find your wm of choice.
I’ll give you an example on how to install Ion3:
apt-get install ion3
And you probably want to use the ion3 scripts for stuff like weather, RSS and etc.If so do this:
apt-get install ion3-scripts
Now what you may say….well restart X and choose ion3 as session….. but if you’re wondering how to configure ion3 thats another matter….maybe I’ll make a note here on that too.But if you don’t like the command-line or keyboard you should maybe go for something like XFCE4.Use apt-cache search XXXX to find it.
Good luck!
PS:Haven’t seen ion3 before……here is my setup:
Search a drive for large files in Linux
Note:
How can i find large files on my Linux box ?
Well crack open your terminal and try this:
find / -type f -size +200M
This finds all files larger than 200 mb. Of-course you can turn that around and look for files smaller than 200 mb ….if so, just do this:
find / -type f -size -200M
The / can be anything of your choice … for example if i want to search my home dir for files i would do this:
find /home/thomas -type f -size +200M
This would find all files larger than 200 mb in /home/thomas.
Now you would maybe want to search or save the output of this command. To search it you could just use grep, like this :
find /home/thomas -type f -size +200M|grep avi
All files larger than 200 mb containing the keyword avi will be shown. Now you may want to save your output in a file, do this
find /home/thomas -type f -size +200M > largefilelist
This finds all files larger than 200 mb in /home/thomas and saves it as a text file called largefilelist. Well now you may want to search that file, do this:
cat /your/path/to/largefilelist|grep avi
This finds all files containing the keyword avi in the file largefilelist. If you have several output files you want to combine, do this:
cat file1 file2 file3 > joinedfiles
This combines file1, 2 and 3 in one merged file called joinedfiles.
Hope this is usefull in some way.Thats all for now