Skip to content

Commit

Permalink
Fix force detect EDID
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jan 17, 2014
1 parent 389419a commit a80aeb8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 27 deletions.
6 changes: 3 additions & 3 deletions src/i-nex/.settings
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ File[4]=".src/About.class:26.3"
File[5]=".src/battery.module:136.82"
File[6]=".src/Disk_Drives.module:2.19"
File[7]=".src/ScreenShot.form"
Active=8
File[8]=".src/ScreenShot.class:69.9"
File[9]=".src/ScreenShotM.module:2.19"
File[10]=".src/USB_Drives.module:2.19"
Expand Down Expand Up @@ -78,9 +77,10 @@ File[50]=".src/Reports/MKERNEL_REPORT.module:19.1"
File[51]=".src/Reports/MInclude.module:72.15"
File[52]=".src/Reports/MDRIVES_REPORT.module:12.40"
File[53]=".src/FInputDate.form"
File[54]=".src/MInit.module:2.19"
Active=54
File[54]=".src/MInit.module:25.23"
File[55]=".src/FEDID.form"
File[56]=".src/FEDID.class:24.6"
File[56]=".src/FEDID.class:29.0"
File[57]=".src/Logger.class:2.19"
File[58]=".src/Formatter.module:2.19"
File[59]=".src/FDirDialog.class:2.19"
Expand Down
5 changes: 1 addition & 4 deletions src/i-nex/.src/FEDID.class
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ Public Sub Form_Open()
Me.Y = Settings["Window/Y", Me.Y]
Endif
Logs("Execute edid", Logger.Info)
Exec ["/bin/bash", "" & User.Home & "/.i-nex/edid"] Wait
Wait 1
Logs("Load " & User.Home & "/.i-nex/edid.conf", Logger.Info)
TextArea1.Text = File.Load("" & User.Home & "/.i-nex/edid.conf")
Shell "xrandr --verbose | inex-edid" Wait To TextArea1.Text

End

Expand Down
6 changes: 3 additions & 3 deletions src/i-nex/.src/FEDID.form
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Gambas Form File 3.0

{ Form Form
MoveScaled(0,0,67,75)
MoveScaled(0,0,68,77)
Font = Font["8"]
Resizable = False
{ VBox1 VBox
MoveScaled(0,0,67,71)
MoveScaled(0,0,68,73)
Expand = True
{ TextArea1 TextArea
MoveScaled(0,0,62,62)
Expand All @@ -17,7 +17,7 @@
}
}
{ Button1 Button
MoveScaled(55,71,11,4)
MoveScaled(59,73,9,4)
Font = Font["Bold,8"]
Text = ("Close")
Picture = Picture["icon:/16/quit"]
Expand Down
4 changes: 0 additions & 4 deletions src/i-nex/.src/MInit.module
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ Public Sub _inits()
Logs("Try to remove files", Logger.Info)
Try Kill User.Home & "/.i-nex/screenfetch-dev"
Try Kill User.Home & "/.i-nex/report-ng.sh"
Try Kill User.Home & "/.i-nex/edid"

Else
Logs("i-nex in home folder not exist", Logger.Error)
Expand All @@ -40,10 +39,7 @@ Public Sub _inits()
Copy "Data/screenfetch-dev" To User.Home &/ ".i-nex/screenfetch-dev"
Logs("Copy report-ng.sh from Data/report-ng.sh to " & User.Home &/ ".i-nex/report-ng.sh", Logger.Info)
Copy "Data/report-ng.sh" To User.Home &/ ".i-nex/report-ng.sh"
Logs("Copy edid from Data/edid to " & User.Home &/ ".i-nex/edid", Logger.Info)
Copy "Data/edid" To User.Home &/ ".i-nex/edid"
Logs("Execute copied files", Logger.Info)

Logs("Execute screenfetch-dev", Logger.Info)
Exec ["/bin/bash", "" & User.Home & "/.i-nex/screenfetch-dev"] Wait To Do_not_print
Do_not_print = Null
Expand Down
13 changes: 0 additions & 13 deletions src/i-nex/Data/edid

This file was deleted.

0 comments on commit a80aeb8

Please sign in to comment.