Ubuntu 24.04 install and use

I am running Cursor 0.47.9 on ubuntu 24.04 x86.

In my ~/Applications folder, I need to start cursor with

./Cursor-0.47.9-x86_64_...AppImage --no-sandbox

Although this works, I would like to open files with cursor . or similar. What am I doing wrong?

How do I set the current LLM model I am using?

I think there used to be a dropdown menu to select the LLM currently in use???

The following in .bashrc does not seem to work.

cursor() {
    nohup /home/craig/Applications/Cursor-0.47.9.AppImage \
    --no-sandbox \
    "$@" \
    --ozone-platform=wayland \
    > /dev/null 2>&1 &
    
    disown
}