ful1e5 / clickgen Goto Github PK
View Code? Open in Web Editor NEWThe hassle-free cursor building toolbox.
License: MIT License
The hassle-free cursor building toolbox.
License: MIT License
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
ctgen: error: unrecognized arguments: "bitmaps/Bibata... " shown while providing destinantion with the -d argument
Some KDE Cursors using hex links. Verticle Resize
is one of them. Look like it has the wrong implementation with Horizontal Resize
.
Resizing rectangular screenshot in Spectacle(KDE Screenshot app).
Issue Video: imgur
Software | Name/Version |
---|---|
Operating System | Kubuntu 20.04 |
Hi so i'm creating a .ani as you are showing:
`
cur = open_blob(self.frames, hotspot=(0, 0))
# save Windows animated cursor
ext, result = to_win(cur.frames)
with open(f"test-ani{ext}", "wb") as o:
o.write(result) # between in your readme a typo is introduced before result
`
But the file created isn't usable. i can display one frame, by retriving the first frame of the .ani on my app, but the icon is the default file on the file explorer. And when i'm changing the cursor i can see in the registry that it was changed. But it still display the precedent one.
even using your wait-00x.png sample it doesn't works
But for .cur everything works fine :D
OSError: dlopen(apple_cursor-main/builder/venv/lib/python3.8/site-packages/clickgen-1.1.8-py3.8.egg/clickgen/xcursorgen.so, 6): no suitable image found. Did find:
apple_cursor-main/builder/venv/lib/python3.8/site-packages/clickgen-1.1.8-py3.8.egg/clickgen/xcursorgen.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
apple_cursor-main/builder/venv/lib/python3.8/site-packages/clickgen-1.1.8-py3.8.egg/clickgen/xcursorgen.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
I'd be happy to update the AUR package to 2.1.5, however...
โฏ ctgen --help
Traceback (most recent call last):
File "/usr/bin/ctgen", line 5, in <module>
from clickgen.scripts.ctgen import main
File "/usr/lib/python3.11/site-packages/clickgen/scripts/ctgen.py", line 16, in <module>
from clickgen.configparser import parse_config_file
File "/usr/lib/python3.11/site-packages/clickgen/configparser.py", line 12, in <module>
from clickgen.libs.colors import print_warning
ModuleNotFoundError: No module named 'clickgen.libs'
Am I missing something?
When I update clickgen to the latest version and generate a new cursor theme, the cursor icons are wrong.
I see some different from install.inf between old and new themes.
Old
[Version]
signature="$CHICAGO$"
Breeze by the KDE VDG
https://github.com/akiirui/breeze-for-windows
[DefaultInstall]
CopyFiles = Scheme.Cur, Scheme.Txt
AddReg = Scheme.Reg
[DestinationDirs]
Scheme.Cur = 10,"%CUR_DIR%"
Scheme.Txt = 10,"%CUR_DIR%"
[Scheme.Reg]
HKCU,"Control Panel\Cursors\Schemes","%SCHEME_NAME%",,"%10%\%CUR_DIR%\%pointer%,%10%\%CUR_DIR%\%help%,%10%\%CUR_DIR%\%work%,%10%\%CUR_DIR%\%busy%,%10%\%CUR_DIR%\%Cross%,%10%\%CUR_DIR%\%Text%,%10%\%CUR_DIR%\%Hand%,%10%\%CUR_DIR%\%Unavailiable%,%10%\%CUR_DIR%\%Vert%,%10%\%CUR_DIR%\%Horz%,%10%\%CUR_DIR%\%Dgn1%,%10%\%CUR_DIR%\%Dgn2%,%10%\%CUR_DIR%\%move%,%10%\%CUR_DIR%\%alternate%,%10%\%CUR_DIR%\%link%"
; -- Installed files
[Scheme.Cur]
"Work.ani"
"Busy.ani"
"Default.cur"
"Help.cur"
"Link.cur"
"Move.cur"
"Diagonal_2.cur"
"Vertical.cur"
"Horizontal.cur"
"Diagonal_1.cur"
"Handwriting.cur"
"Cross.cur"
"IBeam.cur"
"Unavailiable.cur"
"Alternate.cur"
[Strings]
CUR_DIR = "Cursors\Breeze Cursors"
SCHEME_NAME = "Breeze Cursors"
pointer = "Default.cur"
help = "Help.cur"
work = "Work.ani"
busy = "Busy.ani"
cross = "Cross.cur"
text = "IBeam.cur"
hand = "Handwriting.cur"
unavailiable = "Unavailiable.cur"
vert = "Vertical.cur"
horz = "Horizontal.cur"
dgn1 = "Diagonal_1.cur"
dgn2 = "Diagonal_2.cur"
move = "Move.cur"
alternate = "Alternate.cur"
link = "Link.cur"
New
; ===========================================================
; Auto-Generated File
; ===========================================================
; This file has been automatically generated by a tool
; called 'clickgen'. For more information,
; visit: https://www.github.com/ful1e5/clickgen
; ===========================================================
; Breeze Cursors
; Breeze by the KDE VDG https://github.com/akiirui/breeze-for-windows
[Version]
signature="$CHICAGO$"
Breeze by the KDE VDG
[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%\%help%,%10%\%CUR_DIR%\%work%,%10%\%CUR_DIR%\%busy%,%10%\%CUR_DIR%\%cross%,%10%\%CUR_DIR%\%handwriting%,%10%\%CUR_DIR%\%move%,%10%\%CUR_DIR%\%alternate%,%10%\%CUR_DIR%\%link%,%10%\%CUR_DIR%\%diagonal_1%,%10%\%CUR_DIR%\%horizontal%,%10%\%CUR_DIR%\%vertical%,%10%\%CUR_DIR%\%ibeam%,%10%\%CUR_DIR%\%default%,%10%\%CUR_DIR%\%diagonal_2%,%10%\%CUR_DIR%\%unavailiable%"
[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
Diagonal_1.cur
Horizontal.cur
Vertical.cur
IBeam.cur
Default.cur
Diagonal_2.cur
Unavailiable.cur
[Scheme.Txt]
[Strings]
CUR_DIR = "Cursors\Breeze Cursors"
SCHEME_NAME = "Breeze Cursors"
help = "Help.cur"
work = "Work.ani"
busy = "Busy.ani"
cross = "Cross.cur"
handwriting = "Handwriting.cur"
move = "Move.cur"
alternate = "Alternate.cur"
link = "Link.cur"
diagonal_1 = "Diagonal_1.cur"
horizontal = "Horizontal.cur"
vertical = "Vertical.cur"
ibeam = "IBeam.cur"
default = "Default.cur"
diagonal_2 = "Diagonal_2.cur"
unavailiable = "Unavailiable.cur"
Copy the old install.inf to new theme and install it, works fine.
clickgen.util.PNGProvider
get() method fail to retrieve pngs, If key
matches to similarly named files.
For example, Retrieve cross from these bitmaps ๐ gave the same list.
cross.png
crossed_circle.png
crosshair-01.png
crosshair-02.png
CodeFactor found multiple issues:
clickgen_main_.py:116
clickgen_main_.py:116
clickgen_main_.py:80
OS: Arch Linux
PKGBUILD
Build is failing with:
ERROR Missing dependencies:
setuptools>=40.9.0
jaraco.text -> inflect -> pydantic>=1.9.1 -> typing-extensions>=4.2.0
==> ERROR: A failure occurred in build().
Aborting...
while all these dependencies are installed with latest version
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.