Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Upstream] Strange name on Windows #2

Open
purr opened this issue Mar 2, 2024 · 10 comments
Open

[Upstream] Strange name on Windows #2

purr opened this issue Mar 2, 2024 · 10 comments

Comments

@purr
Copy link

purr commented Mar 2, 2024

  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
Copy link

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

@rahaaatul
Copy link
Contributor

rahaaatul commented Apr 7, 2024

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
Copy link
Member

mvllow commented Apr 15, 2024

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

@ThatOneCalculator
Copy link
Member

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
Copy link
Member

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

@rahaaatul
Copy link
Contributor

rahaaatul commented Apr 15, 2024

@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 > ful1e5/clickgen#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
Copy link
Member

ThatOneCalculator commented Apr 15, 2024

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

@mvllow
Copy link
Member

mvllow commented Jun 9, 2024

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
Copy link

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
Copy link
Member

ThatOneCalculator commented Sep 7, 2024

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

@ThatOneCalculator ThatOneCalculator changed the title errors on windows 11 [Upstream] Strange name on Windows Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants