Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-jumper committed Oct 1, 2021
0 parents commit e35b67f
Show file tree
Hide file tree
Showing 8 changed files with 388 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*~
target/
293 changes: 293 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This product includes software developed by Glyptodon, Inc. (https://glyp.to/),
the company founded by the original developers of Apache Guacamole.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
simplify-display-statistics
======================

**simplify-display-statistics** is an extension for Apache Guacamole which
applies cosmetic changes intended to simplify the appearance of the frame
statistics toolbar provided by the "guacamole-display-statistics" extension:

* The Guacamole client and server framerates, mainly of use to developers, are
hidden from view.
* The header for the rate of dropped frames is reworded from "Drop" to "Dropped
Frames".
46 changes: 46 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2021 Glyptodon, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<groupId>com.glyptodon.enterprise</groupId>
<artifactId>simplify-display-statistics</artifactId>
<version>1.3.0-1</version>
<name>simplify-display-statistics</name>
<url>https://glyp.to/</url>

<organization>
<name>Glyptodon, Inc.</name>
<url>https://glyp.to/</url>
</organization>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>manual</distribution>
</license>
</licenses>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

</project>
16 changes: 16 additions & 0 deletions src/main/resources/guac-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{

"guacamoleVersion" : "*",

"name" : "Simplify Display Statistic Toolbar",
"namespace" : "simplify-display-statistics",

"translations" : [
"translations/en.json"
],

"css" : [
"styles/hide-guacamole-statistics.css"
]

}
13 changes: 13 additions & 0 deletions src/main/resources/styles/hide-guacamole-statistics.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

/*
* Hide Guacamole client and server statistics, keeping only the remote desktop
* framerate and rate of dropped frames.
*/

.client-statistics dt.client-statistic.server-fps,
.client-statistics dt.client-statistic.client-fps,
.client-statistics dt.client-statistic.server-fps + dd,
.client-statistics dt.client-statistic.client-fps + dd {
display: none;
}

5 changes: 5 additions & 0 deletions src/main/resources/translations/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"CLIENT" : {
"FIELD_HEADER_DROP_FRAMERATE" : "Dropped Frames:"
}
}

0 comments on commit e35b67f

Please sign in to comment.