Linux: Making Life Easy

Status
Not open for further replies.

praka123

left this forum longback
well,this metacity compositing makes crash many apps in my Debian(latest 2.22.1).So removed the compositing option.
 
OP
subratabera

subratabera

Just another linux lover.
Ok, let's prove that AWN (& other similar eye-candies) can be enabled on latest Gnome desktop (e.g. Ubuntu Hardy) with Metacity compositing WITHOUT USING COMPIZ.

Here I am using Ubuntu Hardy installed as a virtual machine using VirtualBox. And AFAIK VirtualBox don't support 3D accelaration.

1) Now let us remove compiz completely.

*lh6.ggpht.com/subratabera1/SCgEtGttBiI/AAAAAAAAAI0/r_yA8bAXD0s/s288/Clipboard01.jpg *lh6.ggpht.com/subratabera1/SCgEtGttBjI/AAAAAAAAAI8/gJV_DbykYmA/s288/Clipboard02.jpg

2) Then install AWN. (Here are the instructions)

*lh3.ggpht.com/subratabera1/SCgEtWttBkI/AAAAAAAAAJE/zZAmS5x4S24/s288/Clipboard03.jpg

3) Enable Metacity compositing

*lh3.ggpht.com/subratabera1/SCgEtWttBlI/AAAAAAAAAJM/mZrn1QzRkc4/s288/Clipboard04.jpg

4) Now you can run Avant Window Manager

*lh3.ggpht.com/subratabera1/SCgEtWttBmI/AAAAAAAAAJU/Pm7IeYrBcjM/s288/Clipboard05.jpg

[Link to my album]

I think it is enough to prove that compiz is NOT REQUIRED to run AWN. Please share your experience.

Regards

SB.
 

mediator

Technomancer
Well I made this a looooong time back, might help someone!

#CREATED by mediator (digit forum)
#License : GPL3

if [ -z $1 ];then
echo "Argument 0 (DROP) or 1 (ACCEPT) required"
exit
fi


if [ $1 = '1' ];then
perm='ACCEPT'
else
perm='DROP'
fi


#Sites to block, add ur sites or IPs here
echo $perm
site=( microsoft.com youtube.com )
for (( i = 0; i < ${#site
[*]}; i++ ))
do
/sbin/iptables -I INPUT 1 -s ${site[$i]} -j $perm
/sbin/iptables -I OUTPUT 1 -d ${site[$i]} -j $perm
/sbin/iptables -I FORWARD 1 -d ${site[$i]} -j $perm
/sbin/iptables -I FORWARD 1 -s ${site[$i]} -j $perm
done
Aim : To block sites (packets), in and out and when forwarding packets.

Step to be taken :
1. "Save as say, 'mblock'"
2. "chmod +x mblock"

Usage :
"./mblock 0" => to drop
"./mblock 1" => to accept
"./mblock" => tells u what to do

U can add ur sites or IPs as shown in the bold in the quotes.

Helpful for the admins here! Though u can do the same via squid, but I find iptables and terminals much more realtime. U can also put the script in ur path to have an easy accessibilty. ;)
 
Last edited:
Status
Not open for further replies.
Top Bottom