Simple bash menu

I wanted a simple bash menu where arrow keys could be used to select items. So here it is. It requires cuu and cud in the teminfo or it fails to look nice.
Example usage, distro="`smenu ArchLinux Debian Ubuntu Gentoo`"
Feel free to modify and adapt for your own personal usage.
#!/bin/bash
# input: list of menu items
# output: item selected
# exit codes: 0 - normal, 1 - abort, 2 - no menu items, 3 - too many items
# to select item, press enter; to abort press q
[[ $# -lt 1 ]] && exit 2 # no menu items, at least 1 required
[[ $# -gt $(( `tput lines` - 1 )) ]] && exit 3 # more items than rows
# set colors
cn="`echo -e '\r\e[0;1m'`" # normal
cr="`echo -e '\r\e[1;7m'`" # reverse
# keys
au="`echo -e '\e[A'`" # arrow up
ad="`echo -e '\e[B'`" # arrow down
ec="`echo -e '\e'`" # escape
nl="`echo -e '\n'`" # newline
tn="$#" # total number of items
{ # capture stdout to stderr
tput civis # hide cursor
cp=1 # current position
end=false
while ! $end
do
for i in `seq 1 $tn`
do
echo -n "$cn"
[[ $cp == $i ]] && echo -n "$cr"
eval "echo \$$i"
done
read -sn 1 key
[[ "$key" == "$ec" ]] &&
read -sn 2 k2
key="$key$k2"
case "$key" in
"$au")
cp=$(( cp - 1 ))
[[ $cp == 0 ]] && cp=$tn
"$ad")
cp=$(( cp + 1 ))
[[ $cp == $(( tn + 1 )) ]] && cp=1
"$nl")
si=true
end=true
"q")
si=false
end=true
esac
tput cuu $tn
done
tput cud $(( tn - 1 ))
tput cnorm # unhide cursor
echo "$cn" # normal colors
} >&2 # end capture
$si && eval "echo \$$cp"
# eof
Last edited by fsckd (2010-09-29 21:31:17)

livibetter wrote:
Nice code.
I manually added j, k, and o (~Return) into the key checking part. I could use j,k or up,down to choose, but I wonder if that possible you can re-code to make it can accept multiple keys set in $au,$ad, and $nl.
Thanks. In the case statement you can add multiple keys, like:
"$au"|k)
<snip>
"$ad"|j)
livibetter wrote:Also, a new option to clean up the menu after user choice or leave?
I didn't want this which is why it's not in the script. At the bottom of the script, change tput cud $(( tn - 1 )) to tput dl $tn ; tput cuu1 and it should delete the lines.
Bug: does not work with fish shell, set distro (./smenu ArchLinux Debian Ubuntu Gentoo); I wonder how it fares with other shells and terminals.

Similar Messages

  • A simple list menu(!)

    I’m trying to create a simple list menu that will load my .swf file is a scrolling panel. I have played about with Flash 8 a long time ago so im very rusty and getting myself in knots ….
    Here is my attempt can anyone help
    Thanks
    import fl.controls.List;
    import fl.data.DataProvider;
    import flash.net.navigateToURL;
    var defaultMainDisplay:URLRequest = new URLRequest("home.swf");
    // List box info
    var File_list:Array = [
    {label:"Home File", data:home.swf},
    {label:"File 1", data:swf\File1.swf},
    {label:"File 2", data:swf\File2.swf},
    {label:"File 3", data:swf\File3.swf},
    MyList.dataProvider = new DataProvider(File_list);
    MyList.allowMultipleSelection = true;
    MyList.addEventListener(Event.CHANGE, showData):void{
    // I want the selected (data) .swf file to be loaded into a ScrollPalette on the screen replacing the default home.swf
    removeChild(loader);
    var newMainDisplayRequest:URLRequest = new URLRequest(+ event.target.selectedItem.data);
    loader.load(newMainDisplayRequest);;
    addChild(loader);
    mainDisplay.loadMovie("home.swf");

    I thought I might bright it down a level with using frame levels, but without success AGAIN!....
    import fl.controls.List;
    import fl.data.DataProvider;
    var graphic:Array = [
    {label:"Home Page", data:"home"},
    {label:"About", data:"about"},
    {label:"Index", data:"index"},
    myList.dataProvider = new DataProvider(graphic);
    myList.allowMultipleSelection = false;
    myList.addEventListener(Event.CHANGE, showData);
    function showData (event:Event)
    { gotoAndStop (+ event.target.selectedItem.data);
    /// This should make it {gotoAndStop (home, about or index....);}

  • Simple bash-batch-compiler improvements

    hey there,
    i made a simple bash script for compiling many *.cpp files in one dir.
    #! /bin/bash
    find . -name "*.cpp" -exec g++ {} -o {}.sh \;
    but if an *.sh already exists it shouldn't compile, also it would be nice to have it named program.sh not program.cpp.sh my bash skills are rather limited, think one could help me out folks
    cheers,
    detto

    Mh, got another one here :< Still didn't find a GOOD sed tutorial with regexp. It's so damn complicated in my eyes.
    Well, I figured something out, but it has a error inside
    for f in *.jpg ; do mv "$f" `echo "$f" | sed 's! 1280!!'` ; done
    When executing it prompts for every *jpg file with "mv: specified target »(10).jpg« is no directory". :?
    Last edited by detto (2007-03-15 13:26:52)

  • Simple bash scripting help needed..

    I want to learn som simple bash scripting in order to automate various tasks.. Im totally noob, so bear with me
    First of all I would like to set configs without using nano.. is there a simple command for this? For example if i want change my hostname in /etc/rc.conf.. how can i print the current vallue and how can i change it`?
    i was thinking something like this to get the current value:
    # cat /etc/rc.conf | grep HOSTNAME=
    which returns HOSTNAME="myhostname"
    how can i change this value with one or more commands whitout touching the rest of the file?

    abesto wrote:
    A slightly naive solution:
    CHOICE="lisa"
    NAMES="homer marge lisa bart maggie"
    if [ "`echo \" $NAMES \" | grep \" $CHOICE \"`" ]; then
    echo "this is how you do it"
    fi
    The extra spaces inside the escaped quotes are to ensure that only a whole word is "matched".
    You can also replace the elif's with a loop through a list of "the other variables". Then you'd use the loop variable instead of $CHOICE above.
    grep can check on word-bounderies with \< and \>, or with the -w switch. The -q switch suppresses any messages and exits with exit-code 0 when the first match is found:
    if echo "${NAMES}" | grep -qw "${CHOICE}"; then
    Nice and readable, should work, but i haven't tested it
    EDIT:
    Procyon wrote:CHOICE="lisa"
    NAMES="homer marge lisa bart maggie"
    if [[ $NAMES =~ $CHOICE ]]; then echo match; fi
    This one also matches elisa, ie. no check on word bounderies. You should be carefull with that
    Last edited by klixon (2009-04-23 09:40:22)

  • Solaris 11 - run a simple BASH script on computer startup

    I need to have a simple BASH script run on my Solaris 11 machine automatically whenever the computer (re)starts. It should be run with root permissions and after the computer has fully booted. What is the easiest way to do that?
    Thank you
    Dusan

    Hi user9368043
    Yes, that should be right, and be intended this way.
    See /etc/rc3.d/README and the following part from smf(5):
    Legacy Startup Scripts
    Startup programs in the /etc/rc?.d directories are executed
    as part of the corresponding run-level milestone:
    /etc/rcS.d milestone/single-user:default
    /etc/rc2.d milestone/multi-user:default
    /etc/rc3.d milestone/multi-user-server:default
    Your question concerning upgrading to Solaris 11.1:
    In the Gnome menus, you should look for (and start)
    System --> Administration --> Update Manager
    Let it do its work. It will give you a new boot environment, containing Solaris 11.1. Possibly, you have to perform upgrading twice. With "beadm activate", see beadm(1M), you can go back to Solaris 11.0 whenever you want.
    "Local" parts of your zfs root pool, like /usr/local, home directories, /root, and so on, should be in separated file systems, and be mounted outside the root pool before upgrading. They are availlable then from any boot environment, and will not be duplicated. See more in zfs(1M), zpool(1M).
    I strongly recommend upgrading. Solaris 11.1 is great.

  • How to call an event from simple tree menu

    I have a simple tree menu that when I click on a menu item,
    id like a picture or other data to appear on the right side of the
    page.
    Thank you in advance,
    Jim

    The reason why it becomes zero when you press stop is that you selected the control to get the default value in the event structure if it's not connected. You can fix it by connecting it like I did in the first picture.
    To make it stop when you press the stop button you have to connect one stop button to the loop exit terminal. The reason for the sequence structure that I added is to make sure that the loop exits the first time you press the stop button, try removing it and you'll see what I mean.
    You have one additional problem. You rely on the x+1 output of the sub vi as an input for the next iteration. However, that is not reliable since if you can the subvi from somewhere else it might mess up the count. You're better of using a shift register and passing in the last value to the subvi in each iteration.
    Attachments:
    1.png ‏9 KB
    2.png ‏10 KB

  • Simple BASH script to update subversion files

    This is just a simple BASH script that will update all .svn files in a specified directory.  If an update fails, it will attempt to update all the subdirectories in the failed one, so as much will be updated as possible.  Theoretically, you should be able to supply this script with only your root directory ( / ), and all the .svn files on your computer will be updated.
    #! /bin/bash
    # Contributor: Dylon Edwards <[email protected]>
    # ================================
    # svnup: Updates subversion files.
    # ================================
    #  If the user supplies no arguments
    #+ then, update the current directory
    #+ else, update each of those specified
    [[ $# == 0 ]] \
        && dirs=($PWD) \
        || dirs=($@)
    # Update the target directories
    for target in ${dirs[@]}; do
        # If the target file contains a .svn file
        if [[ -d $target/.svn ]]; then
            # Update the target
            svn up $target || {
                # If the update fails, update each of its subdirectories
                for subdir in $( ls $target ); do
                    [[ -d $target/$subdir ]] &&
                        ( svnup $target/$subdir )
                done
        # If the target file doesn't contain a .svn file
        else
            # Update each of its subdirectories
            for subdir in $( ls $target ); do
                [[ -d $target/$subdir ]] &&
                    ( svnup $target/$subdir )
            done;
        fi
    done

    Cerebral wrote:
    To filter out blank lines, you could just modify the awk command:
    ${exec awk '!/^$/ { print "-", $_ }' stuffigottado.txt}
    very nice; awk and grep: two commands that never cease to amaze me.

  • Watchless - a simple Bash helper for LESS to CSS compilation

    Here is a simple Bash tool for LESS files compilation, watching your .less files using inotifywait and compiling CSS on file change.
    Supports @import-ed files. Compiled files can go in the current directory or in another directory, keeping the directory structure intact (~/Project/less/style.less to ~/Project/css/style.css for example)
    Not well tested, may be dangerous.
    AUR: https://aur.archlinux.org/packages/watchless/

    I place all my LESS files, along with all of the JavaScript files in a sub-directory called _src (for source files). The _scr folder is Cloaked so that it is not included in file transfers. The structure looks like
    _src
        js
              bootstrap
                  ..... // files go here
              fonts
                  ..... // files go here
              jquery
                  ..... // files go here
              myscripts.js // scripts of my own that I want added
              scripts.js  // contains imported JS files that are combined and minified into one production script
        less
              bootstrap
                  ..... // files go here
              fonts
                  ..... // files go here
              footer.less //
              form.less //
              header.less  // these files are for the various parts of the template and or documents
              main.less //
              nav.less //
              styles.less // contains imported LESS files that are combined and minified into one production style sheet
    I will then use PrePros to compile the JS and CSS files making for just two HTTP requests.
    Have a look at source code (lines 7 and 110) of this site.
    Incidentally, by using PrePros, not only do the LESS and JS files get compiled automatically, any saved changes are immediately visible in my browser without having to refresh each time.

  • Another simple bash script to clean pacman cache

    here is a simple script that I have written which cleans pacman cache folder in a way that only the packages which are now "updated" in the repositories, will get removed. This is different from what "pacman -Sc" does. pacman -Sc also removes any package which is not installed, while this script keeps all the packages which are updated whether they are installed or not.
    The functionality is some how like what "apt-get autoclean" does in debian.
    to use this script you need to run it with "list" or "clean" arguments.  you can also use the "help" argument for more help.
    I hope it helps
    #! /bin/bash
    # clcache - This script cleans pacman cache folder in a way that only the packages
    #+ which are now updated in the repositories, will get removed. This is
    #+ different from what "pacman -Sc" does. pacman -Sc also removes any package
    #+ which is not installed, while this script keeps all the packages which are
    #+ updated whether they are installed or not.
    # I have tweaked this script to be as fast as possible, it might still need a
    #+ couple of minutes to compelete based on the size of your cache folder.
    # to use this script you need to run it with "list" or "clean" arguments.
    # you can also use the "help" argument for more help.
    # This script is written by "Ali Mousavi". Please report bugs to [email protected]
    DIR="/var/cache/pacman/pkg" #the default directory of pacman cache.
    ROOT_UID=0 #Only users with $UID 0 have root privilages.
    TMPFILE="/tmp/cache.tmp"
    # Run as root
    if [ "$UID" -ne "$ROOT_UID" ]
    then
    echo "Must be root to run this script"
    exit 1
    fi
    # Check for the arguments
    if [ -z "$1" ]
    then
    echo -e 'What should I do?\nValid Argument are "list", "clean" or "help"'
    exit 1
    elif [ "$1" = "list" ]
    then
    ACTION="ls"
    MESSAGE="Are you sure you want to continue?"
    elif [ "$1" = "clean" ]
    then
    ACTION="rm -vf"
    MESSAGE="Are you sure you want to remove outdated packages? This process can not be undone!"
    elif [ "$1" = "help" -o "$1" = "-h" -o "$1" = "--help" ]
    then
    echo -e "This script checks the packages in your pacman cache directory and removes the packages that are outdated. It doesn't matter if the package is installed or not.\n\n3 arguments can be passed to the script:\n\nlist:\n\tchecks for package that are outdated and prints the names.\n\nclean:\n\tremoves outdated packages.\n\nhelp,-h,--help:\n\tprints this help text.\n\nThis script is written by \"Ali Mousavi\". Please report bugs to [email protected]"
    exit 0
    else
    echo 'Valid Argument are "list", "clean" or "help"'
    exit 1
    fi
    # Check if the user is sure!
    echo "This might take a while based on the amount of cached packages."
    echo -n "$MESSAGE(y/n) "
    read ANS
    if [ $ANS = "y" -o $ANS = "Y" -o $ANS = "yes" ]
    then
    echo "Processing packages..."
    elif [ $ANS = "n" -o $ANS = "N" -o $ANS = "No" ]
    then
    echo "Exiting on user request"
    exit 0
    else
    echo "Invalid answer"
    exit 1
    fi
    # Process the packages
    cd $DIR #change to cache directory.
    pacman -Sl | awk '{ print $2" "$3; }' > $TMPFILE
    for f in $(ls $DIR)
    do
    pname=$(file $f | cut -d: -f1) #Produces filename, like: fetchmail-6.3.19-1-i686.pkg.tar.xz"
    spname=$(echo $pname | sed 's/-[0-9][0-9]*.*//g') #removes package version: fetchmail
    pver=$(echo $pname | sed 's/.*-\([0-9\-\.][0-9\-\.]*-[0-9\-\.][0-9\-\.]*\).*/\1/g') #using pacman -Qi for all files takes a lot of time.
    if [ $(echo $pver | grep '[^0-9\-\.\-\-]' | wc -l) != 0 ] #checks if package version is alright
    then
    pver=$(pacman -Qpi $f | grep Version | awk '{print $3}')
    fi
    newpver=$(grep -e "^$spname " $TMPFILE | awk '{ print $2 }')
    if [[ $newpver != $pver ]]
    then
    $ACTION $f
    fi
    done
    rm -f $TMPFILE
    echo "Outdated packages processed successfully!"
    exit 0
    Last edited by tuxitop (2011-09-13 09:24:26)

    tuxitop wrote:# Check for the arguments
    if [ -z "$1" ]
    then
    echo -e 'What should I do?\nValid Argument are "list", "clean" or "help"'
    exit 1
    elif [ "$1" = "list" ]
    then
    ACTION="ls"
    MESSAGE="Are you sure you want to continue?"
    elif [ "$1" = "clean" ]
    then
    ACTION="rm -vf"
    MESSAGE="Are you sure you want to remove outdated packages? This process can not be undone!"
    elif [ "$1" = "help" -o "$1" = "-h" -o "$1" = "--help" ]
    then
    echo -e "This script checks the packages in your pacman cache directory and removes the packages that are outdated. It doesn't matter if the package is installed or not.\n\n3 arguments can be passed to the script:\n\nlist:\n\tchecks for package that are outdated and prints the names.\n\nclean:\n\tremoves outdated packages.\n\nhelp,-h,--help:\n\tprints this help text.\n\nThis script is written by \"Ali Mousavi\". Please report bugs to [email protected]"
    exit 0
    else
    echo 'Valid Argument are "list", "clean" or "help"'
    exit 1
    fi
    1. `echo -e 'foo\nbar\nbaz'` gets long and unreadable quickly. Instead, use here documents:
    cat <<EOF
    What should I do?
    Valid Argument are "list", "clean" or "help"
    EOF
    2. Use a case command, looks cleaner:
    case "$1" in
    list) ... ;;
    clean) ... ;;
    help|-h|--hep) ... ;;
    # Check if the user is sure!
    echo "This might take a while based on the amount of cached packages."
    echo -n "$MESSAGE(y/n) "
    read ANS
    if [ $ANS = "y" -o $ANS = "Y" -o $ANS = "yes" ]
    then
    echo "Processing packages..."
    elif [ $ANS = "n" -o $ANS = "N" -o $ANS = "No" ]
    then
    echo "Exiting on user request"
    exit 0
    else
    echo "Invalid answer"
    exit 1
    fi
    Try:
    read -p "hello: " -r
    echo $REPLY
    And again, `case` should be cleaner in this case.
    # Process the packages
    cd $DIR #change to cache directory.
    pacman -Sl | awk '{ print $2" "$3; }' > $TMPFILE
    While you quoted a lot, you left these two out. "$DIR" and "$TMPFILE" should be quoted, otherwise whitespaces will break the code.
    for f in $(ls $DIR)
    Apart from the same missing quotes, calling `ls` is a waste here. The following is sufficient and (maybe surprisingly) more accurate:
    for f in *
    How is it more accurate? Run this test script:
    #!/bin/bash
    DIR=/tmp/foo
    mkdir -p "$DIR"
    cd "$DIR"
    touch a\ b c$'\n'd
    for i in *; do
    printf '+%s+\n' "$i"
    done
    printf '%s\n' ---
    for i in $(ls $DIR); do
    printf '+%s+\n' "$i"
    done
    Let's not go too far here. Just get the idea.
    do
    pname=$(file $f | cut -d: -f1) #Produces filename, like: fetchmail-6.3.19-1-i686.pkg.tar.xz"
    Calling `file` here is, again, unnecessary. Also, filename of a package can contain ":", e.g., vi-1:050325-1-i686.pkg.tar.xz, which breaks your code.
    Don't complicate things:
    pname=$f
    spname=$(echo $pname | sed 's/-[0-9][0-9]*.*//g') #removes package version: fetchmail
    Broken for ntfs-3g-2011.4.12-1-i686.pkg.tar.xz, nvidia-173xx-utils-173.14.31-1-i686.pkg.tar.xz, etc...   Something less lousy:
    sed 's/\(-[^-]\+\)\{3\}$//' <<< "$pname"
    pver=$(echo $pname | sed 's/.*-\([0-9\-\.][0-9\-\.]*-[0-9\-\.][0-9\-\.]*\).*/\1/g') #using pacman -Qi for all files takes a lot of time.
    Although this might work for now, this would break if we had an architecture that starts with a digit, e.g. 686.  Something less lousy:
    sed 's/\(.*\)-\([^-]\+-[^-]\+\)-[^-]\+$/\2/' <<< "$pname"
    if [ $(echo $pver | grep '[^0-9\-\.\-\-]' | wc -l) != 0 ] #checks if package version is alright
    then
    pver=$(pacman -Qpi $f | grep Version | awk '{print $3}')
    fi
    Again, calling `wc` here is a waste. Anyway, why is this check necessary at all?
    newpver=$(grep -e "^$spname " $TMPFILE | awk '{ print $2 }')
    if [[ $newpver != $pver ]]
    then
    $ACTION $f
    fi
    done
    rm -f $TMPFILE
    echo "Outdated packages processed successfully!"
    exit 0
    The post is getting too long, so so much from me. If there's anything you don't understand yet, read bash(1).
    If I sound harsh or anything, don't be discouraged. Just keep reading, keep improving.
    Last edited by lolilolicon (2011-09-13 12:53:04)

  • Creating a simple DVD menu with text as buttons...

    Hi, I am rather new to DVDSP but fairly accomplished at the software designers earlier product, DVD Virtuoso (still use it). Can anyone tell me where there is a tutorial to create a simple text DVD menu? I would like to place a colored rectangle (opacity) behind the text to help it stand off the background and have access to some fairly basic text tools like Bevel & Emboss, Stroke and Drop Shadow. Thank you.

    http://discussions.apple.com/thread.jspa?messageID=2082015&#2082015
    http://discussions.apple.com/thread.jspa?messageID=2601618&#2601618
    Has some discussion and examples I posted elsewhere which should help get you going. Best to do graphics in Photoshop, then make sure all text/layers rasterized, then make them flattened picts. One will be background layer, the other grayscale overlays to map colors (these examples should start you off I think)
    PS I know Hal has a great example with better step by steps, and if I get a chance later I can also fill in details on what I did

  • [solved] Help with simple bash script

    #!/bin/bash
    current_state=cat /home/phil/.screen_state
    if ["$current_state" = "laptop"];
    then
    disper -S
    echo TV > .screen_state
    else
    disper -s
    echo laptop > .screen_state
    fi
    [phil@pwned ~]$ ./screenswitch.sh
    ./screenswitch.sh: line 3: /home/phil/.screen_state: Permission denied
    ./screenswitch.sh: line 5: [: missing `]'
    [phil@pwned ~]$ cat /home/phil/.screen_state
    laptop
    [phil@pwned ~]$
    I'm not sure why I'm getting the permission denied, and also I can't see whats wrong with line 5.
    Last edited by Dethredic (2011-08-21 19:46:57)

    IIRC you need spaces
    if [ "foo" = "foo" ]; then
    between '[' and another character.
    Edit: Got it.
    current_state=cat /home/phil/.screen_state
    This is plain wrong. I get 'Permission denied' too.
    Try
    current_state=$(cat /home/phil/.screen_state)
    Last edited by karol (2011-08-21 17:59:16)

  • Simple bash script to add a '-' [Solved]

    I need to write a small bash script to add a '-' to each line in a file before displaying via conky!
    Todo
    - Get Milk
    - Buy Food
    - Pay Bills
    Currently I use
    TEXT
    Todo
    ${hr}
    ${head /home/mrgreen/.stuffigottado.txt 30 20}
    In .conkyrc but have to add '-' each time I edit .stuffigottado.txt
    Thanks in advance....

    Cerebral wrote:
    To filter out blank lines, you could just modify the awk command:
    ${exec awk '!/^$/ { print "-", $_ }' stuffigottado.txt}
    very nice; awk and grep: two commands that never cease to amaze me.

  • Use autocomplete in simple bash command/aliases

    I have a really cheesy alias basically to use to cd into directory in public_html
    cdw() {
    cd ~/public_html/$*
    how do I get that to use autocomplete with it?
    Thanks

    you'll have to write a completion file under /etc/bash_completion.d/.  you can take a look at some of the ones in there for examples (try to find a simple one). 
    you basically have to build a list of what to complete (probably ~/public_html/* in your case), then hand that off to a completion function, source the file and try it.

  • Simple spry menu question

    Hi
    I just need to know how to change the height of my spry menu.
    i did it once before but forgot how to. i think i've tried height
    on every SpryMenuBarHorizontal.css that is there there...
    Thanks

    Great thank you very much, added the code and its working
    now...
    Just one more question, hope this makes sense: I want to put
    the menu along a line that is the same color as the menu so i put
    to menu into a table and used a color background, is this the best
    way to do it? The problem i am having is that the table has this
    padding that i can't get rid of, i want it the same size as the
    menu, but i can make the table any smaller...
    Appreciate the help

  • I cant get HD DVD clip with a simple Ps menu

    Hello all,
    Encore is driving me nuts. am trying to get an HD quality movie. I have 4GB of RAM.
    In Encore, I only have one menu with a video background created in AE. The menu is imported from Photoshop, supposed to be HD at 1920 x 1080. It looks fine in Encore resolution wise. Then when I export to DVD folder, the quality is horrible. I clicked edit menu in Photoshop, then made the menu twice as big, Encore recognizes the changes and the resolution is further enhanced in the menu, but the DVD export yields the same results, and identical file size no matter what the res. of the menu is. I went up to 7680 x 4320...same story. I changed the pixel aspect ratio from square to 1.333, didnt do a thing, I changed the projects settings bit rate from 8 to 9.4...same thing. Please help.
    Thanks
    Raffi

    Hello Ruud, thanks for your reply.
    It is a DVD project indeed, but I am a little lost when it comes to HD vs SD. I am given no option to select any when creating a DVD, I think they are only available for Blu-ray?
    One more note, when I export to blu-ray, the resolution is much better, am using 1920 width. The problem is I dont have a blue-ray burner, so I burn to a blu-ray folder. Encore creates loads of sub folders inside the main one. The only files I can play are inside a folder called Stream and they have a .m2ts extension. When I play any of those, the buttons wont work. Any suggestions?

Maybe you are looking for

  • Report service is not working after install Discoverer..............

    Hello, I have installed Oracle Developer Suite 10gR2 (Forms/Reports) on my desktop, they were both working fine for a long time. I installed Discoverer 10gR2 (Administrator and Desktop) on the same machine recently. The Oracle Forms is still good, I

  • Error message when trying to add transitions

    can't add transitions in imovie 6, but I could 2 days ago. It was also failing to render titles.I tried these suggestions from this great forum: trashed iMovie prefs,repaired permissions, checked for 3rd party plug-ins, ran repair hard disk,ran MacJa

  • Problems using JAXB in windows(Failed to load Main-Class manifest)

    Friends, I am trying to use JAXB in windows environment. I have already included rt and xjc jar files in my system classpath. I have sucessfully created java files using the xjc compiler(without the xjs map file). They rock!! But I am facing problems

  • Rotating line width

    A tangental question to the arrow issue previously posted. I tagged this question to the end of the other thread but it may have gotten lost. http://www.youtube.com/watch?v=RnRZn_p8MFk In the example I gave the arrow thickness was only in the vertica

  • BO Universe/Reprots Versioning

    Hi All I am using BOXI R2. I want to know how versioning is handled in Business Object. How can you do a source control/Versioning of BO Universes and Reports. Is there a specific tool used to do this? Or is it internally handled by Business Objects?