-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
lspci -v -s `lspci | awk '/VGA/{print $1}'` | sed -n '/Memory.*, prefetchable/s/.*\[size=\([^]]\+\)\]/\1/p' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[pastebin] | ||
basename = paste.opensuse.org | ||
regexp = "http://paste.opensuse.org" | ||
|
||
[format] | ||
user = name | ||
content = code | ||
title = title | ||
format = lang | ||
submit = submit | ||
expire_options = expire | ||
|
||
[defaults] | ||
submit = "Create" | ||
expire_options = 604800 | ||
format = "text" |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# /home/michal/Baazar/i-nex/src/i-nex/.src/FGraphic.module | ||
# Generated by Gambas compiler | ||
|
||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n""POT-Creation-Date: 2002-11-01 04:27+0100\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
' Gambas module file | ||
|
||
' | ||
Public Sub _inits() | ||
Dim Interfaces_X As String | ||
Dim Avail_Interfaces As Integer | ||
Dim Max_Interfaces As Integer | ||
Dim all_interfaces As String | ||
Debug "Add Interfaces to ComboBox" | ||
Shell "ls /sys/class/drm/ | grep 'card[0-9]-' | wc -l" Wait To all_interfaces | ||
Max_Interfaces = Val(all_interfaces) | ||
For Avail_Interfaces = 1 To Max_Interfaces | ||
Shell "ls /sys/class/drm/ | grep 'card[0-9]-' | sed -n '" & Avail_Interfaces & "p'" Wait To Interfaces_X | ||
Interfaces_X = Replace(Interfaces_X, "\n", "") | ||
Finfosys.ComboBox8.Add(Interfaces_X) | ||
Next | ||
|
||
End | ||
|
||
Public Sub _check() | ||
Dim status, enabled, dpms, edidd As String | ||
Shell "cat /sys/class/drm/" & Finfosys.ComboBox8.Text & "/status" Wait To status | ||
Shell "cat /sys/class/drm/" & Finfosys.ComboBox8.Text & "/enabled" Wait To enabled | ||
Shell "cat /sys/class/drm/" & Finfosys.ComboBox8.Text & "/dpms" Wait To dpms | ||
|
||
If ChkPrm.ChkExec("edid-decode") = True | ||
Shell "edid-decode /sys/class/drm/" & Finfosys.ComboBox8.Text & "/edid | grep 'Monitor name' | cut -d ':' -f 2" Wait To edidd | ||
Finfosys.Label100.Text = "EDID: " & Replace(edidd, "\n", "") | ||
Else | ||
Finfosys.Label100.Text = "Not faund edid-decode" | ||
Endif | ||
|
||
'/sys/class/drm/card0-VGA-1/dpms | ||
Finfosys.Label65.Text = "Status: " & Replace(status, "\n", "") | ||
Finfosys.Label66.Text = "Enabled: " & Replace(enabled, "\n", "") | ||
Finfosys.Label67.Text = "DPMS: " & Replace(dpms, "\n", "") | ||
End |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.