rose-pine / cursor

Soho vibes for Cursors
GNU General Public License v3.0
55 stars 2 forks source link

[Upstream] Strange name on Windows #2

Open purr opened 6 months ago

purr commented 6 months ago
  1. wrong cursors for wrong thingies image
  2. Name thingy thing looking weird, also saves like that to the reg, which breaks the uninstall script :c image
ericrocha97 commented 6 months ago

same error in windows 10, I had to manually configure each icon for each cursor state.

rahaaatul commented 5 months ago

You can use the fix I added there for now #3 or use it directly:

[Version]
signature="$CHICAGO$"
Rosé Pine BreezeX cursors.

[DefaultInstall]
CopyFiles = Scheme.Cur
AddReg    = Scheme.Reg,Wreg

[DestinationDirs]
Scheme.Cur = 10,"%CUR_DIR%"

[Scheme.Reg]
HKCU,"Control Panel\Cursors\Schemes","%SCHEME_NAME%",,"%10%\%CUR_DIR%\%default%,%10%\%CUR_DIR%\%help%,%10%\%CUR_DIR%\%work%,%10%\%CUR_DIR%\%busy%,%10%\%CUR_DIR%\%cross%,%10%\%CUR_DIR%\%ibeam%,%10%\%CUR_DIR%\%handwriting%,%10%\%CUR_DIR%\%unavailiable%,%10%\%CUR_DIR%\%vertical%,%10%\%CUR_DIR%\%horizontal%,%10%\%CUR_DIR%\%diagonal_1%,%10%\%CUR_DIR%\%diagonal_2%,%10%\%CUR_DIR%\%move%,%10%\%CUR_DIR%\%alternate%,%10%\%CUR_DIR%\%link%,%10%\%CUR_DIR%\%link%",%10%\%CUR_DIR%\%link%""

[Wreg]
HKCU,"Control Panel\Cursors",,0x00020000,"%SCHEME_NAME%"
HKCU,"Control Panel\Cursors",Help,0x00020000,"%10%\%CUR_DIR%\%help%"
HKCU,"Control Panel\Cursors",AppStarting,0x00020000,"%10%\%CUR_DIR%\%work%"
HKCU,"Control Panel\Cursors",Wait,0x00020000,"%10%\%CUR_DIR%\%busy%"
HKCU,"Control Panel\Cursors",crosshair,0x00020000,"%10%\%CUR_DIR%\%cross%"
HKCU,"Control Panel\Cursors",precisionhair,0x00020000,"%10%\%CUR_DIR%\%cross%"
HKCU,"Control Panel\Cursors",NWPen,0x00020000,"%10%\%CUR_DIR%\%handwriting%"
HKCU,"Control Panel\Cursors",Grab,0x00020000,"%10%\%CUR_DIR%\%move%"
HKCU,"Control Panel\Cursors",SizeAll,0x00020000,"%10%\%CUR_DIR%\%move%"
HKCU,"Control Panel\Cursors",UpArrow,0x00020000,"%10%\%CUR_DIR%\%alternate%"
HKCU,"Control Panel\Cursors",Hand,0x00020000,"%10%\%CUR_DIR%\%link%"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Runonce\Setup\","",,"rundll32.exe shell32.dll,Control_RunDLL main.cpl @0,1"

[Scheme.Cur]
Help.cur
Work.ani
Busy.ani
Cross.cur
Handwriting.cur
Move.cur
Alternate.cur
Link.cur
Unavailiable.cur
Vertical.cur
Default.cur
Diagonal_1.cur
Horizontal.cur
IBeam.cur
Diagonal_2.cur

[Scheme.Txt]

[Strings]
CUR_DIR             = "Cursors\Rose Pine"
SCHEME_NAME         = "Rose Pine"
default             = "Default.cur"
help                = "Help.cur"
work                = "Work.ani"
busy                = "Busy.ani"
cross               = "Cross.cur"
ibeam               = "IBeam.cur"
handwriting         = "Handwriting.cur"
unavailiable        = "Unavailiable.cur"
vertical            = "Vertical.cur"
horizontal          = "Horizontal.cur"
diagonal_1          = "Diagonal_1.cur"
diagonal_2          = "Diagonal_2.cur"
move                = "Move.cur"
alternate           = "Alternate.cur"
link                = "Link.cur"

For Rose Pine Dawn, Replace at line 62-63:

CUR_DIR             = "Cursors\Rose Pine Dawn"
SCHEME_NAME         = "Rose Pine Dawn"

Note: After installing, when the cursor window appears, you need to select another cursor scheme (don't need to apply) and reselect rose pine scheme, then apply.

mvllow commented 5 months ago

Any thoughts @ThatOneCalculator (some more info in #3)?

ThatOneCalculator commented 5 months ago

I just used the build tool for Windows, I don't personally use or know much about Windows so there's not much I can do on this front sadly :(

ThatOneCalculator commented 5 months ago

@rahaaatul maybe this should be reported to clickgen: https://pypi.org/project/clickgen/

rahaaatul commented 5 months ago

@rahaaatul maybe this should be reported to clickgen: https://pypi.org/project/clickgen/

I though about that, but I think it would be more appropriate for you to open the request yourself. Since you generated the install.inf and failed to set cursors correctly .

I have no idea how it works. Also I found a closed issue that's almost similar to this but not quite > https://github.com/ful1e5/clickgen/issues/61

About the Cursor Name Display issue on Cursor window, image I think the name should be changed in your repo, to something like BreezeX Rose Pine and BreezeX Rose Pine Dawn. The issue is the accent é. Changing it to e, would solve the issue.

ThatOneCalculator commented 5 months ago

The thing is that would be a breaking change for Linux users. Maybe ask clickgen to normalize accents?

mvllow commented 3 months ago

Could we do BreezeX-rose-pine-*? We usually drop the accent and do all lowercase/snake-case for file names. What is the breaking change part?

andremeireles commented 6 days ago

The problem is that the key is being created with the REG_SZ type, but the correct one is REG_EXPAND_SZ. This type supports accents.

For me, just saving the install.inf file with the UTF-16 encoding solve the issue @ThatOneCalculator With Notepad++, i saved it with UTF-16 LE BOM encoding.

ThatOneCalculator commented 6 days ago

Ah, gotcha. This is 100% an upstream issue then. I'll keep this open, and will close if clickgen fixes this.