Find the answer to your Linux question:
Results 1 to 3 of 3
I was recently trying to make my gnome desktop terminals transparent. I am using a tutorial I found on the issue http://www.ee.oulu.fi/~sta/howto/transp.html . I downloaded transset-df and installed it. I ...
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    54

    Transparent Terminal Hack

    I was recently trying to make my gnome desktop terminals transparent. I am using a tutorial I found on the issue http://www.ee.oulu.fi/~sta/howto/transp.html. I downloaded transset-df and installed it. I am new at using linux in general and I ran into a problem when the tutorial told me to run this script as a .bashrc.
    Code:
    #!/bin/bash
    #make-terminals-transparent.sh
    # Found all running gnome-terminals and set transparency for them.
    # sta [at] ee.oulu.fi 2006-05
    
    if [ -z $1 ]; then
            OPACITY="0.8"
    else
            OPACITY=$1
    fi
    
    for id in $( xwininfo -root -tree | grep gnome-terminal | awk '{print $1}'); do
            transset-df --id $id $OPACITY >/dev/null
    done
    so I copied the code into my text editor and saved it as a .bashrc. I don't no if I was sapost to do this but I than tried to open it in my terminal and got this error:
    linux-mo1c:~/bin # test.bashrc
    bash: test.bashrc: command not found

    what did I do wrong? what do I do next? thanks for reading this and hope you guyz have a solution.

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    That's pretty cool, but you should check out the default options in gnome-terminal. It has had a patch for transparency for a while now, and actually it now works with compiz/beryl to provide true transparency instead of the old desktop snapshots it used to take.


    The problem you are having is that you need to put executables in your system path, and make them executable. The extension actually doesn't matter at all, and it certainly isn't required to be .bashrc as that is the hidden file that contains your bash settings. Try renaming it to just test.sh and then
    Code:
    chmod +x test.sh
    ./test.sh
    This grants execute permission and then the ./ indicates that you want to execute a file in the current directory.
    Last edited by bigtomrodney; 12-16-2006 at 08:42 PM.

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Posts
    54
    well thanks for the help. I got the script running and I checked out the default options and the transparency. Unfortunately it is not true transparency and I was wondering how do I obtain the patch? thank you once again for your help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...