Package Details: cursor-bin 0.45.11-1

Git Clone URL: https://aur.archlinux.org/cursor-bin.git (read-only, click to copy)
Package Base: cursor-bin
Description: Cursor App - AI-first coding environment
Upstream URL: https://www.cursor.com/
Licenses: custom:proprietary
Submitter: g.schulz
Maintainer: g.schulz
Last Packager: g.schulz
Votes: 18
Popularity: 5.25
First Submitted: 2024-06-09 14:27 (UTC)
Last Updated: 2025-02-07 18:07 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

garlandKey commented on 2025-02-08 00:47 (UTC) (edited on 2025-02-08 00:51 (UTC) by garlandKey)

I'm confused. Where is the AppImage coming from? It seems as though cursor.com has an API that serves the most recent download automatically from this route:

https://downloader.cursor.sh/linux/appImage/x64

However, this PKGBUILD is getting it from:

https://download.todesktop.com/230313mzl4w4u92/cursor-0.45.11-build-250207y6nbaw5qc-x86_64.AppImage

it seems like that yes but in actuality it comes from todesktop.com which cursor uses as their release platform. And that is where we pull it from, versioned.

@g.schulz How did you figure this out?

Ataj commented on 2025-02-04 22:38 (UTC) (edited on 2025-02-05 00:46 (UTC) by Ataj)

I noticed that cursor-bin currently runs under XWayland on Wayland systems, causing performance issues and incorrect icons due to StartupWMClass being set to cursor-url-helper, which is meant for Wayland. I've fixed this by updating cursor-bin.sh to detect Wayland vs. X11 at runtime and properly launch the app:

#!/bin/bash

XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}

# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/cursor-flags.conf ]]; then
  CURSOR_USER_FLAGS="$(sed 's/#.*//' $XDG_CONFIG_HOME/cursor-flags.conf | tr '\n' ' ')"
fi

# Detect X11, Wayland, or unknown session type at runtime
if [[ $XDG_SESSION_TYPE == "wayland" ]]; then
    exec /opt/cursor-bin/cursor-bin.AppImage \
        --ozone-platform=wayland \
        --enable-features=UseOzonePlatform,WaylandExplicitSynchronization,WaylandOverlayDelegation,UseSkiaRenderer \
        --use-gl=egl \
        --disable-gpu-driver-bug-workarounds \
        --no-sandbox "$@" $CURSOR_USER_FLAGS
elif [[ $XDG_SESSION_TYPE == "x11" ]]; then
    exec /opt/cursor-bin/cursor-bin.AppImage --no-sandbox "$@" $CURSOR_USER_FLAGS
else
    # Default to X11 if unknown
    exec /opt/cursor-bin/cursor-bin.AppImage --no-sandbox "$@" $CURSOR_USER_FLAGS
fi

This ensures Wayland users get native Wayland performance & working icons in the dash. also added more flags to fix tearing issues and graphical bugs

Nexi commented on 2025-01-30 11:03 (UTC)

In pkgbuild, mantainer name and email is Your Name <your.email@example.com>. It's probably a good idea to change that to actual nickname and email. Thanks!

g.schulz commented on 2025-01-22 17:17 (UTC) (edited on 2025-01-24 23:41 (UTC) by g.schulz)

@eternalfloof it seems like that yes but in actuality it comes from todesktop.com which cursor uses as their release platform. And that is where we pull it from, versioned.

eternalfloof commented on 2025-01-12 16:52 (UTC)

Where does the upstream URL come from? download.todesktop.com

If you go to cursor.sh, it pulls from https://downloader.cursor.sh/linux/appImage/x64

(which is unversioned sadly)

w568w commented on 2024-12-04 09:07 (UTC)

It seems that cursor-bin.AppImage also requires gtk3. Please add that to the dependencies.

Quick reproduce:

# pacman -Rscn gtk3 # in a clean VM environment
$ yay -S cursor-bin
$ cursor
/tmp/.mount_cursortJnUbV/cursor: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory

kyckl1ng commented on 2024-11-28 16:54 (UTC)

I believe this was an upstream issue at some point but with Cursor right now it is only an issue when you have set "window.titleBarStyle": "native" (which it is not by default). Instead of the patch, I just saw that you can simply right click on the bar and choose to hide it, but I haven't found the setting for that.

PS I've made you a quick PR.

g.schulz commented on 2024-11-20 19:08 (UTC)

"Double window header on Gnome: please use patch https://github.com/getcursor/cursor/issues/837#issuecomment-2326443145"

Since I never had this issue (although being on Gnome) can anyone confirm that this is solved in mainline by now?

g.schulz commented on 2024-11-20 19:01 (UTC)

jabafett commented on 2024-11-17 19:08 (UTC)Pin comment I submitted a pull request a couple weeks ago adding the vender prefix and the desktop categories. --> I am very sorry, I hadn't checked any PRs in a while. It's merged! And thank you ver y much.

For any other fixes/changes, please create a PR, as I won't have much time till the end of the year to modify anything myself. I will make sure to turn on notifications for PR's so the wait won't be 3 weeks again ;)