Mohammad_Faraji
315598f5ad
Refactor usb-storage-rules for checking add and remove
6 months ago
Mohammad_Faraji
39ab811cf6
Add usb-socket-sono.socket
6 months ago
Mohammad_Faraji
c788fe92ee
Add usb-socket-sono.service
6 months ago
Mohammad_Faraji
fed494020f
Add usb-storage-action on usb directory
6 months ago
Mohammad_Faraji
e1f78484e9
Add usbDirectory in utils and addUsbScript on it
6 months ago
Mohammad_Faraji
0c1ecbc437
Add usb-storage rules
In this rule check usb connection
6 months ago
Ali Hatami Tajik
b967fa04ec
Add 'src/scripts/autostart'
7 months ago
Ali Hatami Tajik
c6959ac725
Add sleep scripts
2 years ago
Ali Hatami Tajik
5431877c66
Remove xrandr auto
this command was added due to missundrestanding and it was not correct
way to add all monitors to the system.
2 years ago
Ali Hatami Tajik
d6c9a4fc87
Rename python folder to xscript
2 years ago
Ali Hatami Tajik
02038d381c
Update setup script
2 years ago
Ali Hatami Tajik
42d8eb9116
Merge pull request 'Add input support to the sono-os' ( #5 ) from input into master
Reviewed-on: http://194.5.205.38:3000/hatam/sono-os/pulls/5
2 years ago
Ali Hatami Tajik
2a88541eb5
Merge branch 'monitor-support' into input
2 years ago
Ali Hatami Tajik
96aa8bb506
Merge remote-tracking branch 'origin/input' into input
2 years ago
Ali Hatami Tajik
bcc549cbb6
Remove dispatches from x.py
2 years ago
Ali Hatami Tajik
dac08b19eb
Merge branch 'input' into monitor-support
2 years ago
Ali Hatami Tajik
96e2ea6a56
Add sleep utility
This script will executed when sleeping the waking up.
2 years ago
Ali Hatami Tajik
6fa9e4f103
Change relative config file to absolute
2 years ago
Ali Hatami Tajik
2e4b471eac
Move conf folder to src/script/python
2 years ago
Ali Hatami Tajik
39a481eb56
Add drm rules for monitor change event
2 years ago
Ali Hatami Tajik
25a054bd21
Add xrandr policy
2 years ago
Ali Hatami Tajik
dd9d93b0a9
Merge pull request 'fix-xinput-stdout' ( #1 ) from fix-xinput-stdout into input
Reviewed-on: http://194.5.205.38:3000/hatam/sono-os/pulls/1
2 years ago
Ali Hatami Tajik
6577f79250
Add suitable enviornment for rule
xinput needs DISPLAY and XAUTHORITY variables set to work.
2 years ago
Ali Hatami Tajik
7120888afe
Implement get edid name
2 years ago
Ali Hatami Tajik
62eebad3a3
Add prepare monitor
This function will return setup of the monitor systems.
2 years ago
Ali Hatami Tajik
7dda5c15d1
Adds snippet list monitors
2 years ago
Ali Hatami Tajik
93a0a73e90
Remove multipledispatch module
2 years ago
Ali Hatami Tajik
a14c9e5cb2
Stage chenges of x module
2 years ago
Ali Hatami Tajik
e94fca8ab4
Remove unneccessary imports
This reduces the overhead of running the script.
2 years ago
Ali Hatami Tajik
50b9200b17
Update changemouse script
add pointer binding utility to the script.
2 years ago
Ali Hatami Tajik
730cc2325f
Fix create-master system error
2 years ago
Ali Hatami Tajik
61c1f6aa7e
Add get_pointers_categorized
This function will filtered pointers for EZ useage in changemouse script
2 years ago
Ali Hatami Tajik
f1237d72e1
Add get_xi_id_by_name
2 years ago
Ali Hatami Tajik
2d83018fcb
Refactor pointer generation
2 years ago
Ali Hatami Tajik
f8898b464f
Inhance progressbar
2 years ago
Ali Hatami Tajik
d3072117e4
init install script
2 years ago
Ali Hatami Tajik
843835e980
Add get_egalax_drm_pure_name
2 years ago
Ali Hatami Tajik
57b7774ffb
Add get_egalax_edid_path
2 years ago
Ali Hatami Tajik
0ab92a178c
Add get_edid_dev_path function
2 years ago
Ali Hatami Tajik
f114fe248b
Reformat python scripts
2 years ago
Ali Hatami Tajik
f85227f9f2
Add max_match
This function will be used to find eGalax drm device.
2 years ago
Ali Hatami Tajik
e300bd486b
Rename util.common to util.x
2 years ago
Ali Hatami Tajik
611b0da8e6
Move files from xutil to util
2 years ago
Ali Hatami Tajik
5d15d79f1b
Add egalax utility
2 years ago
Ali Hatami Tajik
90eb2582c6
Stage changes
At this point I found out that there is an xlib implementation in python
and there is no need fo xutil. So, I stages these changes and I'm going
to delete/highly modify those utility files.
2 years ago
Ali Hatami Tajik
86c1235598
Add rotation and reflection enums
reflection and rotation are added from man page
2 years ago
Ali Hatami Tajik
14c0b143fa
Add randr module
This module is meant to provide a wrapper around xrandr.
+ Pos enum added which is position of screens
- commandline options should be applied to it.
2 years ago
Ali Hatami Tajik
d99c9d3d6a
Add mouse (hid) bind/unbind rule
2 years ago
Ali Hatami Tajik
dc9db72e57
Fix mouse change bug
BUG: script does not take effect when script is run
---
Test Scenario: Two mouse are attached to the different masters and
then we execute the script
Expected Behavior: both mouses reattach to the Virtual core
Problem: filter in the for-loop gathered all masters not slaves
2 years ago
Ali Hatami Tajik
1774b48e96
Add change mouse script
This script will be attachd to rules corresponding to change action of
mouse/pointer devices. At this time it will gather all pointers add
reattach them to the Virtual core pointer (Overhead of this approach can
be ignored as we will have very limited number of devices and addition
or removal of such devices wouldn't be a common thing.
2 years ago