1
0
Fork 0

Adding upstream version 48.1.

Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
Daniel Baumann 2025-06-22 21:03:59 +02:00
parent c1844edcc8
commit f92ba00cb1
Signed by: daniel.baumann
GPG key ID: BCC918A2ABD66424
287 changed files with 243544 additions and 0 deletions

22
.editorconfig Normal file
View file

@ -0,0 +1,22 @@
root = true
# Basic options that are true for most files.
[{*.{c,h,cpp,py,md,yml},meson.build}]
insert_final_newline = true
charset = utf-8
[*.{c,h,cpp}]
indent_style = space
indent_size = 2
[*.py]
indent_style = space
indent_size = 4
[meson.build]
indent_style = space
indent_size = 2
[*.yml]
indent_style = space
indent_size = 2

132
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,132 @@
# Test whether building gnome-system-monitor works on fedora and ubuntu.
# Tests against the latest libtop master version.
stages:
- check
- build
- release
variables:
FEDORA_LIBGTOP_DEPENDENCIES: # packages required to build libgtop on fedora.
gettext-devel
gobject-introspection-devel
gtk-doc
texinfo-tex
FEDORA_DEPENDENCIES: # packages required to build the system monitor on fedora.
appstream
catch
catch-devel
gcc-c++
git
glibmm2.68-devel
gtkmm4.0-devel
libadwaita-devel
itstool
librsvg2-devel
libxml2-devel
meson
UBUNTU_LIBGTOP_DEPENDENCIES: # packages required to build libgtop on ubuntu.
automake
autopoint
gettext
gtk-doc-tools
libgirepository1.0-dev
libtool
make
texinfo
texlive
UBUNTU_DEPENDENCIES: # packages required to build the system monitor on ubuntu.
appstream-util
catch2
git
itstool
libglibmm-2.68-dev
libgtkmm-4.0-dev
libadwaita-1-dev
librsvg2-dev
libsystemd-dev
libxml2-dev
meson
MESON_BUILD_DIR: _build
TARBALL_ARTIFACT_PATH: "${MESON_BUILD_DIR}/meson-dist/${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.xz"
include:
- component: gitlab.gnome.org/GNOME/citemplates/release-service@master
inputs:
job-stage: release
dist-job-name: "build-release-tarball"
tarball-artifact-path: "${TARBALL_ARTIFACT_PATH}"
# Based on https://gitlab.gnome.org/GNOME/mutter/-/blob/main/.gitlab-ci.yml
check-code-style:
image: fedora:latest
stage: check
allow_failure: true
before_script:
- dnf install -y python3 git patch uncrustify
script:
- if [[ x"$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" != "x" ]]; then
git remote add target $CI_MERGE_REQUEST_PROJECT_URL.git;
git fetch target $CI_MERGE_REQUEST_TARGET_BRANCH_NAME;
export common_parent_sha=$(diff --old-line-format='' --new-line-format='' <(git rev-list --first-parent "target/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME") <(git rev-list --first-parent HEAD) | head -1);
./check-style.py --dry-run --sha $common_parent_sha;
else
echo "Not a merge request";
fi
build-fedora:
image: fedora:rawhide
stage: build
except:
- tags
before_script:
- dnf update -y --nogpgcheck
- dnf install -y --nogpgcheck $FEDORA_LIBGTOP_DEPENDENCIES $FEDORA_DEPENDENCIES
script:
- git clone https://gitlab.gnome.org/gnome/libgtop.git/ # build and install libgtop
- cd libgtop
- mkdir "${MESON_BUILD_DIR}"
- cd "${MESON_BUILD_DIR}"
- ../autogen.sh --disable-dependency-tracking --prefix=/usr --libdir=/usr/lib64
- make
- make install
- cd ../.. # build and install gnome-system-monitor
- meson "${MESON_BUILD_DIR}" -Dsystemd=false
- ninja -C "${MESON_BUILD_DIR}"
- ninja -C "${MESON_BUILD_DIR}" install
build-ubuntu:
image: ubuntu:oracular
stage: build
except:
- tags
before_script:
- apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -y $UBUNTU_LIBGTOP_DEPENDENCIES $UBUNTU_DEPENDENCIES
script:
- git clone https://gitlab.gnome.org/gnome/libgtop.git/ # build and install libgtop
- cd libgtop
- mkdir "${MESON_BUILD_DIR}"
- cd "${MESON_BUILD_DIR}"
- ../autogen.sh
- make
- make install
- cd ../.. # build and install gnome-system-monitor
- meson "${MESON_BUILD_DIR}"
- ninja -C "${MESON_BUILD_DIR}"
- ninja -C "${MESON_BUILD_DIR}" install
build-release-tarball:
image: fedora:latest
stage: build
before_script:
- dnf update -y --nogpgcheck
- dnf install -y --nogpgcheck $FEDORA_DEPENDENCIES gettext libgtop2-devel systemd-devel
script:
- meson setup "${MESON_BUILD_DIR}"
- meson dist -C "${MESON_BUILD_DIR}" --include-subprojects
artifacts:
name: "${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
when: always
paths:
- "${TARBALL_ARTIFACT_PATH}"

10
AUTHORS Normal file
View file

@ -0,0 +1,10 @@
Kevin Vandersloot <kfv101@psu.edu>
Erik Johnsson <zaphod@linux.nu> - icon support
Jorgen Scheibengruber
Benoît Dejean <benoit@placenet.org>
Paolo Borelli <pborelli@katamail.com>
Baptiste Mille-Mathias - artwork
Karl Lattimer <karl@qdh.org.uk>
Robert Roth <robert.roth.off@gmail.com> - maintainer
Jacob Barkdull <jacobbarkdull@gmail.com>
Óscar Fernández Díaz <oscarfernandezdiaz@gnome.org> - maintainer

339
COPYING Normal file
View file

@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

2
ChangeLog Normal file
View file

@ -0,0 +1,2 @@
The ChangeLog is auto-generated during 'make dist'. If you are
seeing this, use 'git log' for a detailed list of changes.

6241
ChangeLog.pre-git Normal file

File diff suppressed because it is too large Load diff

30
HACKING Normal file
View file

@ -0,0 +1,30 @@
# Dependencies - can be found in meson.build
sudo apt-get install meson gettext appstream-util catch2 itstool libglibmm-2.4-dev libgtkmm-4.0-dev libgtop2-dev librsvg2-dev libxml2-dev libsystemd-dev libadwaita-dev
# Meson
## configure creates the build directory
meson build --prefix /home/benoit/gnome
## build - compiles the source
ninja -C build
## install - required to be able to run the application
ninja -C build install
## clean - removes built files to do a clean build
ninja -C build -t clean
## start from scratch
rm -rf build
# Old
## configure
./autogen.sh --prefix=/home/benoit/gnome
## build
make

6
MAINTAINERS Normal file
View file

@ -0,0 +1,6 @@
Robert Roth
E-mail: robert.roth.off@gmail.com
IRC/Matrix: evfool
Óscar Fernández Díaz
E-mail: oscarfernandezdiaz@gnome.org

2374
NEWS Normal file

File diff suppressed because it is too large Load diff

59
README.md Normal file
View file

@ -0,0 +1,59 @@
# System Monitor
GNOME System Monitor is a GNOME process viewer and system monitor with an attractive,
easy-to-use interface, It has features, such as a tree view for process dependencies,
icons for processes, the ability to hide processes that you don't want to see,
graphical time histories of CPU/memory/swap usage,
the ability to kill/renice processes needing root access,
as well as the standard features that you might expect from a process viewer.
## License
This project is licensed under the **GNU General Public License v2.0**. [Learn more](https://choosealicense.com/licenses/gpl-2.0/)
## Building
The steps described below show how to compile and install _GNOME System Monitor_ from its source.
### Install required dependencies
To build the application, the following dependencies are required:
#### Apt (Debian/Ubuntu/Derivatives - Debian-Based Package Management)
Use the following command to install dependencies:
`sudo apt install meson gettext appstream-util catch2 itstool libglibmm-2.68-dev libgtkmm-4.0-dev libgtop2-dev librsvg2-dev libxml2-dev libadwaita-1-dev libsystemd-dev uncrustify`
#### DNF (Fedora/Centos/Derivatives - RPM-Based Package Management)
Use the following command to install dependencies:
`sudo dnf install meson gettext appstream itstool glibmm2.68-devel gtkmm4.0-devel libgtop2-devel librsvg2-devel libxml2-devel libadwaita-devel systemd-devel catch catch-devel uncrustify`
#### Optional dependencies:
- polkit - recommended
- gksu2
- libgnomesu
- libselinux
- lsb_release in PATH - recommended on linux
- libwnck
### Building and installing
Before following the steps below, clone the repository and change to its working directory.
##### Configure and create the build directory with Meson.
`meson setup build`
Where `build` is just a directory name, and is up to your chosing.
##### Build the application - this compiles the source.
`ninja -C build`
##### Install the application on your system - required to run _GNOME System Monitor_.
`ninja -C build install`
### Cleanup
##### Use the following command to clean up the build directory and remove old build files.
`ninja -C build -t clean`
##### Remove the build directory to rebuild from scratch.
`rm -rf build`
## Bugs
Please file System-Monitor bugs at:
https://gitlab.gnome.org/GNOME/gnome-system-monitor/issues

View file

@ -0,0 +1,226 @@
{
"app-id": "org.gnome.SystemMonitor.Devel",
"runtime": "org.gnome.Platform",
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
"command": "gnome-system-monitor",
"finish-args": [
"--device=dri",
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--share=network",
"--filesystem=host",
"--talk-name=org.gtk.vfs.*",
"--filesystem=xdg-run/gvfsd",
"--filesystem=xdg-run/dconf",
"--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf",
"--env=DCONF_USER_CONFIG_DIR=.config/dconf",
"--add-policy=Tracker3.dbus:org.freedesktop.Tracker3.Miner.Files=tracker:FileSystem"
],
"cleanup": [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules": [
{
"name": "catch2",
"buildsystem": "meson",
"sources": [
{
"type": "git",
"url": "https://github.com/catchorg/Catch2.git",
"branch": "devel"
}
]
},
{
"name": "mm-common",
"buildsystem": "meson",
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/mm-common/1.0/mm-common-1.0.5.tar.xz",
"sha256": "705c6d29f4116a29bde4e36cfc1b046c92b6ef8c6dae4eaec85018747e6da5aa"
}
]
},
{
"name": "sigc++-3.0",
"buildsystem": "meson",
"config-opts": [
"-Dbuild-examples=false",
"-Dbuild-documentation=false",
"-Dbuild-tests=false"
],
"sources": [
{
"type": "git",
"url": "https://github.com/libsigcplusplus/libsigcplusplus.git"
}
]
},
{
"name": "cairomm",
"buildsystem": "meson",
"config-opts": [
"-Dbuild-documentation=false",
"-Dbuild-examples=false",
"-Dbuild-tests=false"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.freedesktop.org/cairo/cairomm.git"
}
]
},
{
"name": "glibmm",
"buildsystem": "meson",
"config-opts": [
"-Dbuild-documentation=false",
"-Dbuild-examples=false"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/glibmm.git"
}
]
},
{
"name": "pango",
"buildsystem": "meson",
"config-opts": [
"-Dbuild-testsuite=false",
"-Dbuild-examples=false"
],
"sources": [
{
"type": "git",
"branch": "main",
"url": "https://gitlab.gnome.org/GNOME/pango.git"
}
]
},
{
"name": "pangomm",
"buildsystem": "meson",
"config-opts": [
"-Dbuild-documentation=false"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/pangomm.git"
}
]
},
{
"name": "libsass",
"buildsystem": "meson",
"sources": [
{
"type": "git",
"url": "https://github.com/lazka/libsass.git",
"branch": "meson"
}
]
},
{
"name": "sassc",
"buildsystem": "meson",
"sources": [
{
"type": "git",
"url": "https://github.com/lazka/sassc.git",
"branch": "meson"
}
]
},
{
"name": "gtk4",
"buildsystem": "meson",
"config-opts": [
"-Ddocumentation=false",
"-Dbuild-demos=false",
"-Dbuild-examples=false",
"-Dbuild-tests=false",
"-Dvulkan=disabled"
],
"build-options": {
"cxxflags": "-O2 -g -std=c++20"
},
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/gtk.git",
"branch": "main"
}
]
},
{
"name": "gtkmm",
"buildsystem": "meson",
"config-opts": [
"-Dbuild-documentation=false",
"-Dbuild-demos=false",
"-Dbuild-tests=false"
],
"build-options": {
"cxxflags": "-O2 -g -std=c++20"
},
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/gtkmm.git"
}
]
},
{
"name": "libgtop-2.0",
"buildsystem" : "autotools",
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/libgtop.git"
}
]
},
{
"name": "catch2",
"buildsystem": "meson",
"sources": [
{
"type": "git",
"url": "https://github.com/catchorg/Catch2.git",
"branch": "devel"
}
]
},
{
"name": "gnome-system-monitor",
"builddir": true,
"buildsystem": "meson",
"run-tests": true,
"config-opts": [
"-Ddevelopment=true"
],
"sources": [
{
"type": "dir",
"path": "../../"
}
]
}
]
}

133
check-style.py Executable file
View file

@ -0,0 +1,133 @@
#!/bin/env python3
# Based on https://gitlab.gnome.org/GNOME/mutter/-/blob/main/check-style.py
import argparse
import os
import re
import shutil
import subprocess
import sys
import tempfile
# Path relative to this script
uncrustify_cfg = 'tools/gtk.cfg'
def check_progs():
git = shutil.which('git')
patch = shutil.which('patch')
uncrustify = shutil.which('uncrustify')
return git is not None and uncrustify is not None and patch is not None
def find_files(sha, all):
if all:
files = []
for dirpath, dirnames, filenames in os.walk('src'):
for filename in filenames:
files.append(os.path.join(dirpath, filename))
else:
proc = subprocess.Popen(
["git", "diff", "--name-only", sha, "HEAD"],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
files = proc.stdout.read().strip().decode('utf-8')
files = files.split('\n')
files_filtered = []
for file in files:
if file.endswith('.cpp') or file.endswith('.c') or file.endswith('.h'):
files_filtered.append(file)
return files_filtered
def reformat_files(files, rewrite):
changed = None
for file in files:
# uncrustify chunk
proc = subprocess.Popen(
["uncrustify", "-c", uncrustify_cfg, "-f", file],
stdout=subprocess.PIPE)
reformatted_raw = proc.stdout.readlines()
proc.wait()
if proc.returncode != 0:
continue
reformatted_tmp = tempfile.NamedTemporaryFile()
for line in reformatted_raw:
reformatted_tmp.write(line)
reformatted_tmp.seek(0)
if dry_run is True:
# Show changes
proc = subprocess.Popen(
["diff", "-up", "--color=always", file, reformatted_tmp.name],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
diff = proc.stdout.read().decode('utf-8')
if diff != '':
output = re.sub('\t', '\t', diff)
print(output)
changed = True
else:
# Apply changes
diff = subprocess.Popen(
["diff", "-up", file, reformatted_tmp.name],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
patch = subprocess.Popen(["patch", file], stdin=diff.stdout)
diff.stdout.close()
patch.communicate()
reformatted_tmp.close()
return changed
parser = argparse.ArgumentParser(description='Check code style.')
parser.add_argument('--all', type=bool,
action=argparse.BooleanOptionalAction,
help='Format all source files')
parser.add_argument('--sha', metavar='SHA', type=str,
help='SHA for the commit to compare HEAD with')
parser.add_argument('--dry-run', '-d', type=bool,
action=argparse.BooleanOptionalAction,
help='Only print changes to stdout, do not change code')
parser.add_argument('--rewrite', '-r', type=bool,
action=argparse.BooleanOptionalAction,
help='Whether to amend the result to the last commit (e.g. \'git rebase --exec "%(prog)s -r"\')')
# Change CWD to script location, necessary for always locating the configuration file
os.chdir(os.path.dirname(os.path.abspath(sys.argv[0])))
args = parser.parse_args()
all = args.all
sha = args.sha or 'HEAD^'
rewrite = args.rewrite
dry_run = args.dry_run
if all and args.sha is not None:
print("Flags --all and --sha are mutualy exclusive")
sys.exit(1)
if check_progs() is False:
print("Make sure git, patch and uncrustify are installed")
sys.exit(1)
files = find_files(sha, all)
changed = reformat_files(files, rewrite)
if dry_run is not True and rewrite is True:
proc = subprocess.Popen(
["git", "commit", "--all", "--amend", "-C", "HEAD"],
stdout=subprocess.DEVNULL)
sys.exit(0)
elif dry_run is True and changed is True:
print("\nIssue the following command in your local tree to apply the suggested changes:\n\n $ git rebase origin/main --exec \"./check-style.py -r\" \n")
sys.exit(2)
sys.exit(0)

356
data/disks.ui Normal file
View file

@ -0,0 +1,356 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GsmDisksView" parent="GtkWidget">
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<child>
<object class="GtkColumnView" id="column_view">
<property name="single-click-activate">True</property>
<property name="model">
<object class="GtkSingleSelection" id="selection">
<property name="model">
<object class="GtkSortListModel">
<property name="model">
<object class="GListStore" id="list_store"/>
</property>
<binding name="sorter">
<lookup name="sorter">column_view</lookup>
</binding>
</object>
</property>
</object>
</property>
<child>
<object class="GtkColumnViewColumn">
<property name="id">device</property>
<property name="title" translatable="yes">Device</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="device" type="DisksData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="spacing">6</property>
<child>
<object class="GtkImage">
<property name="icon-size">large</property>
<binding name="paintable">
<lookup name="paintable" type="DisksData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
<style>
<class name="icon-dropshadow"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel">
<binding name="label">
<lookup name="device" type="DisksData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</child>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="id">directory</property>
<property name="title" translatable="yes">Directory</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="directory" type="DisksData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="directory" type="DisksData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="id">type</property>
<property name="title" translatable="yes">Type</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="type" type="DisksData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="type" type="DisksData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="id">total</property>
<property name="title" translatable="yes">Total</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkNumericSorter">
<property name="expression">
<lookup name="total" type="DisksData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">1</property>
<binding name="label">
<closure type="gchararray" function="format_size">
<lookup name="total" type="DisksData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</closure>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="id">free</property>
<property name="title" translatable="yes">Free</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkNumericSorter">
<property name="expression">
<lookup name="free" type="DisksData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">1</property>
<binding name="label">
<closure type="gchararray" function="format_size">
<lookup name="free" type="DisksData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</closure>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="id">available</property>
<property name="title" translatable="yes">Available</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkNumericSorter">
<property name="expression">
<lookup name="available" type="DisksData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">1</property>
<binding name="label">
<closure type="gchararray" function="format_size">
<lookup name="available" type="DisksData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</closure>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="id">used</property>
<property name="title" translatable="yes">Used</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkNumericSorter">
<property name="expression">
<lookup name="used" type="DisksData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="spacing">12</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkBox">
<property name="hexpand">True</property>
<property name="orientation">horizontal</property>
<child>
<object class="GtkLabel">
<property name="hexpand">True</property>
<property name="halign">start</property>
<property name="width-chars">15</property>
<property name="xalign">0</property>
<binding name="label">
<closure type="gchararray" function="format_size">
<lookup name="used" type="DisksData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</closure>
</binding>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="halign">end</property>
<property name="hexpand">True</property>
<property name="width-chars">5</property>
<property name="xalign">1</property>
<binding name="label">
<closure type="gchararray" function="format_percentage">
<lookup name="percentage" type="DisksData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</closure>
</binding>
</object>
</child>
</object>
</child>
<child>
<object class="GtkLevelBar">
<property name="hexpand">True</property>
<property name="valign">center</property>
<property name="min-value">0</property>
<property name="max-value">100</property>
<binding name="value">
<lookup name="percentage" type="DisksData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</child>
</object>
</child>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>

View file

@ -0,0 +1,15 @@
[Desktop Entry]
Name=GNOME System Monitor
Comment=View current processes and monitor system state
TryExec=gnome-system-monitor
Exec=gnome-system-monitor
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=@APP_ID@
Terminal=false
Type=Application
StartupNotify=true
StartupWMClass=gnome-system-monitor
Categories=GNOME;GTK;System;Monitor;
OnlyShowIn=KDE;
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=Monitor;System;Process;CPU;Memory;Network;History;Usage;

140
data/help-overlay.ui Normal file
View file

@ -0,0 +1,140 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<object class="GtkShortcutsWindow" id="help_overlay">
<property name="modal">true</property>
<child>
<object class="GtkShortcutsSection">
<property name="section-name">shortcuts</property>
<property name="max-height">13</property>
<child>
<object class="GtkShortcutsGroup">
<property name="title" translatable="yes" context="shortcut window">General</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">F1</property>
<property name="action-name">app.help</property>
<property name="title" translatable="yes" context="shortcut window">Show help</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">F10</property>
<property name="title" translatable="yes" context="shortcut window">Open menu</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="action-name">app.preferences</property>
<property name="title" translatable="yes" context="shortcut window">Show preferences</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">true</property>
<property name="accelerator">&lt;Primary&gt;question</property>
<property name="action-name">win.show-help-overlay</property>
<property name="title" translatable="yes" context="shortcut window">Keyboard shortcuts</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;Q</property>
<property name="action-name">app.quit</property>
<property name="title" translatable="yes" context="shortcut window">Quit</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;F</property>
<property name="title" translatable="yes" context="shortcut window">Search</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Alt&gt;1</property>
<property name="title" translatable="yes" context="shortcut window">Show Resources</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Alt&gt;2</property>
<property name="title" translatable="yes" context="shortcut window">Show Processes</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Alt&gt;3</property>
<property name="title" translatable="yes" context="shortcut window">Show File Systems</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;R</property>
<property name="action-name">win.refresh</property>
<property name="title" translatable="yes" context="shortcut window">Refresh</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkShortcutsGroup">
<property name="title" translatable="yes" context="shortcut window">Processes</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;D</property>
<property name="action-name">win.show-dependencies</property>
<property name="title" translatable="yes" context="shortcut window">Show dependencies</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Alt&gt;Return</property>
<property name="action-name">win.process-properties</property>
<property name="title" translatable="yes" context="shortcut window">Show process properties</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;M</property>
<property name="action-name">win.memory-maps</property>
<property name="title" translatable="yes" context="shortcut window">Memory maps</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;O</property>
<property name="action-name">win.open-files</property>
<property name="title" translatable="yes" context="shortcut window">Open files</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;S</property>
<property name="title" translatable="yes" context="shortcut window">Send stop signal</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;C</property>
<property name="title" translatable="yes" context="shortcut window">Send continue signal</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;T</property>
<property name="title" translatable="yes" context="shortcut window">Send Terminate signal</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="accelerator">&lt;Primary&gt;K</property>
<property name="title" translatable="yes" context="shortcut window">Send Kill signal</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>

5
data/icons/meson.build Normal file
View file

@ -0,0 +1,5 @@
install_subdir(
join_paths('public', 'hicolor'),
install_dir: join_paths(datadir, 'icons')
)

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.9 KiB

View file

@ -0,0 +1,290 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="128"
height="128"
id="svg11300"
version="1.0"
style="display:inline;enable-background:new"
viewBox="0 0 128 128">
<title
id="title4162">Adwaita Icon Template</title>
<defs
id="defs3">
<linearGradient
id="linearGradient1076">
<stop
style="stop-color:#d5d3cf;stop-opacity:1"
offset="0"
id="stop1064" />
<stop
id="stop1066"
offset="0.03571428"
style="stop-color:#e4e1de;stop-opacity:1" />
<stop
style="stop-color:#d5d3cf;stop-opacity:1"
offset="0.07142857"
id="stop1068" />
<stop
id="stop1070"
offset="0.9285714"
style="stop-color:#d5d3cf;stop-opacity:1" />
<stop
style="stop-color:#e4e1de;stop-opacity:1"
offset="0.96428573"
id="stop1072" />
<stop
style="stop-color:#d5d3cf;stop-opacity:1"
offset="1"
id="stop1074" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient1076"
id="linearGradient1444-2-3-2"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.25,0,0,0.25,-22,109.00903)"
x1="120"
y1="619.96387"
x2="568"
y2="619.96387" />
<linearGradient
xlink:href="#linearGradient985"
id="linearGradient1106-8"
x1="335.86829"
y1="33.559235"
x2="112.13174"
y2="33.559235"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.25,0,0,0.25,-12,225)" />
<linearGradient
id="linearGradient985">
<stop
id="stop981"
offset="0"
style="stop-color:#f9f06b;stop-opacity:1" />
<stop
id="stop983"
offset="1"
style="stop-color:#f9f06b;stop-opacity:0" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient1020"
id="radialGradient1030"
cx="64.846146"
cy="194.19048"
fx="64.846146"
fy="194.19048"
r="44"
gradientTransform="matrix(-4.7272726,1.1058296e-6,-3.0301491e-7,-1.2272727,250.54547,-21.6754)"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient1020">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop1016" />
<stop
style="stop-color:#ffffff;stop-opacity:0.09411765"
offset="1"
id="stop1018" />
</linearGradient>
<linearGradient
y2="619.96387"
x2="568"
y1="619.96387"
x1="120"
gradientTransform="matrix(0.25,0,0,0.25,-22.00001,-50.99097)"
gradientUnits="userSpaceOnUse"
id="linearGradient1444-2-3-3"
xlink:href="#linearGradient1076" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-4.1363634,1.2532736e-6,-2.6513804e-7,-1.3909091,319.22728,170.63455)"
r="44"
fy="194.19048"
fx="63.999996"
cy="194.19048"
cx="63.999996"
id="radialGradient1030-8"
xlink:href="#linearGradient1020" />
<linearGradient
gradientTransform="matrix(0.25,0,0,0.25,-2.00001,61)"
gradientUnits="userSpaceOnUse"
y2="33.559235"
x2="104"
y1="33.559235"
x1="301"
id="linearGradient1106-2"
xlink:href="#linearGradient985" />
</defs>
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>GNOME Design Team</dc:title>
</cc:Agent>
</dc:creator>
<dc:source />
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
<dc:title>Adwaita Icon Template</dc:title>
<dc:subject>
<rdf:Bag />
</dc:subject>
<dc:date />
<dc:rights>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:publisher>
<dc:identifier />
<dc:relation />
<dc:language />
<dc:coverage />
<dc:description />
<dc:contributor>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:contributor>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<rect
style="display:inline;opacity:1;vector-effect:none;fill:#f6f5f4;fill-opacity:1;stroke:none;stroke-width:0.01129821px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
id="rect929-36-9-9"
width="112"
height="86"
x="8"
y="28"
rx="7.9999995"
ry="7.999999" />
<rect
rx="3.9999998"
style="display:inline;opacity:1;vector-effect:none;fill:#241f31;fill-opacity:1;stroke:none;stroke-width:0.01129821px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
id="rect946-0-7-4"
width="92"
height="76"
x="12"
y="32"
ry="4" />
<path
style="display:inline;opacity:1;vector-effect:none;fill:url(#linearGradient1444-2-3-3);fill-opacity:1;stroke:none;stroke-width:0.01129821px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
d="m 7.99999,104 v 4 c 0,4.432 3.568,8 8,8 h 96 c 4.432,0 8,-3.568 8,-8 v -4 c 0,4.432 -3.568,8 -8,8 h -96 c -4.432,0 -8,-3.568 -8,-8 z"
id="rect929-3-6-3-9" />
<rect
y="-104"
x="16"
height="68"
width="84"
id="rect968-2"
style="display:inline;opacity:0.05;vector-effect:none;fill:url(#radialGradient1030-8);fill-opacity:1;stroke:none;stroke-width:0.01121096px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
transform="scale(1,-1)" />
<path
id="path1092-6-1-3-7-5-5"
style="display:inline;opacity:0.23600003;fill:none;stroke:#e5a50a;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;enable-background:new"
d="m 15.99999,74 h 26 l 10,-23 6,39 8,-16 h 34" />
<path
id="path1092-6-1-3-7-5-1-0"
style="display:inline;opacity:1;fill:none;stroke:url(#linearGradient1106-2);stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;enable-background:new"
d="m 15.99999,74 h 26 l 10,-23 6,39 8,-16 h 6" />
<g
transform="translate(0,-170)"
id="g1063">
<path
style="display:inline;opacity:1;vector-effect:none;fill:#949390;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
d="m 115.99999,232 v 4 c 0,2.20914 -1.79086,4 -4,4 -2.20914,0 -4,-1.79086 -4,-4 v -2 l 4,-2 z"
id="path1066" />
<path
id="path1074"
d="m 115.99999,248 v 6 h -4 c -2.216,0 -4,-1.784 -4,-4 v -2 z"
style="display:inline;opacity:1;vector-effect:none;fill:#949390;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<path
id="path1076"
d="m 115.99999,252 v -4 a 4,3.9999998 0 0 0 -4,-4 4,3.9999998 0 0 0 -4,4 4,3.9999998 0 0 0 4,4 z"
style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<ellipse
ry="1.0000002"
rx="1"
cy="250"
cx="-113.99997"
id="ellipse1078"
style="display:inline;opacity:1;vector-effect:none;fill:#68676b;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
transform="scale(-1,1)" />
<path
style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
d="m 115.99999,230 v 4 a 4,3.9999998 0 0 1 -4,4 4,3.9999998 0 0 1 -4,-4 4,3.9999998 0 0 1 4,-4 z"
id="path1080" />
<ellipse
transform="scale(-1)"
style="display:inline;opacity:1;vector-effect:none;fill:#68676b;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
id="ellipse1082"
cx="-113.99997"
cy="-232"
rx="1"
ry="1.0000002" />
<path
id="path1084"
d="m 107.99999,218 v 4 c 0,2.20914 1.79086,4 4,4 2.20914,0 4,-1.79086 4,-4 v -2 l -4,-2 z"
style="display:inline;opacity:1;vector-effect:none;fill:#949390;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<path
id="path1086"
d="m 107.99999,216 v 4 a 4,3.9999998 0 0 0 4,4 4,3.9999998 0 0 0 4,-4 4,3.9999998 0 0 0 -4,-4 z"
style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<ellipse
ry="1.0000002"
rx="1"
cy="-218"
cx="109.99997"
id="ellipse1088"
style="display:inline;opacity:1;vector-effect:none;fill:#68676b;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
transform="scale(1,-1)" />
<path
style="display:inline;opacity:1;vector-effect:none;fill:#949390;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
d="m 115.99999,206 v 6 h -4 c -2.216,0 -4,-1.784 -4,-4 v -2 z"
id="path1090" />
<path
style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
d="m 115.99999,210 v -4 a 4,3.9999998 0 0 0 -4,-4 4,3.9999998 0 0 0 -4,4 4,3.9999998 0 0 0 4,4 z"
id="path1092" />
<ellipse
transform="scale(-1,1)"
style="display:inline;opacity:1;vector-effect:none;fill:#68676b;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
id="ellipse1094"
cx="-113.99997"
cy="208"
rx="1"
ry="1.0000002" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<g font-weight="400" fill="#2e3436">
<path d="M2.188 2C.982 2 0 3.018 0 4.219v7.562C0 12.982.982 14 2.188 14h11.624C15.018 14 16 12.982 16 11.781V4.22C16 3.018 15.018 2 13.812 2zm0 2h11.624c.12 0 .188.08.188.219v7.562c0 .139-.067.219-.188.219H2.188c-.12 0-.188-.08-.188-.219V4.22C2 4.08 2.067 4 2.188 4z" style="line-height:normal;-inkscape-font-specification:'Bitstream Vera Sans';text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none" color="#bebebe" font-family="Bitstream Vera Sans" overflow="visible"/>
<path d="M7.486 5a.5.5 0 0 0-.447.309L5.916 8H3v1h3.25a.5.5 0 0 0 .46-.309l.62-1.488.68 3.395a.5.5 0 0 0 .89.203L10.25 9H13V8h-3a.5.5 0 0 0-.4.2L8.77 9.304l-.78-3.903A.5.5 0 0 0 7.485 5z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal" color="#000" font-family="sans-serif" white-space="normal" overflow="visible"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 4.992188 2.996094 v 10 h 1 c 0.175781 0 0.347656 -0.039063 0.5 -0.125 l 7 -4 c 0.308593 -0.171875 0.46875 -0.523438 0.46875 -0.875 c 0 -0.351563 -0.160157 -0.703125 -0.46875 -0.875 l -7 -4 c -0.152344 -0.085938 -0.324219 -0.125 -0.5 -0.125 z m 0 0" fill="#222222"/></svg>

After

Width:  |  Height:  |  Size: 409 B

View file

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16.011" height="16">
<g fill="#2e3436">
<path d="M8.017 1.001c-2.049 0-4.098.78-5.656 2.338-3.116 3.116-3.116 8.197 0 11.313a1 1 0 101.414-1.414 5.984 5.984 0 010-8.485 5.984 5.984 0 018.485 0 5.984 5.984 0 010 8.485 1 1 0 101.414 1.414c3.116-3.116 3.116-8.197 0-11.313a7.975 7.975 0 00-5.657-2.338z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;white-space:normal;shape-padding:0;isolation:auto;mix-blend-mode:normal;solid-color:#000;solid-opacity:1;marker:none" color="#000" font-weight="400" font-family="sans-serif" overflow="visible"/>
<path d="M10.017 8.995a2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2 2 2 0 012 2z"/>
<path d="M4.01 4.238a.75.75 0 00-.524 1.289l3 3A.751.751 0 107.55 7.464l-3-3a.75.75 0 00-.54-.226zM7.517 1.995v2h1v-2z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;white-space:normal;shape-padding:0;isolation:auto;mix-blend-mode:normal;solid-color:#000;solid-opacity:1" color="#000" font-weight="400" font-family="sans-serif" overflow="visible" fill-rule="evenodd"/>
<path d="M3.422 3.693l-.707.707 1.414 1.414.707-.707zM1.017 8.495v1h2v-1zM13.017 8.495v1h2v-1zM12.613 3.693L11.2 5.107l.707.707L13.32 4.4zM4.129 12.177l-1.414 1.414.707.707 1.414-1.414zM11.906 12.177l-.707.707 1.414 1.414.707-.707z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;white-space:normal;shape-padding:0;isolation:auto;mix-blend-mode:normal;solid-color:#000;solid-opacity:1" color="#000" font-weight="400" font-family="sans-serif" overflow="visible" fill-rule="evenodd"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

411
data/interface.ui Normal file
View file

@ -0,0 +1,411 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<requires lib="libadwaita" version="1.0"/>
<object class="AdwApplicationWindow" id="main_window">
<property name="title" translatable="yes">System Monitor</property>
<property name="icon-name">org.gnome.SystemMonitor</property>
<child>
<object class="AdwToolbarView" id="main_box">
<property name="width-request">620</property>
<property name="height-request">480</property>
<child type="top">
<object class="AdwHeaderBar" id="header_bar">
<child type="title">
<object class="AdwViewSwitcher" id="view_switcher">
<property name="policy">wide</property>
<property name="stack">stack</property>
</object>
</child>
<child type="start">
<object class="GtkToggleButton" id="search_button">
<property name="tooltip-text" translatable="yes">Search</property>
<property name="icon-name">edit-find-symbolic</property>
<property name="action-name">win.search</property>
</object>
</child>
<child type="end">
<object class="GtkMenuButton" id="app_menu_button">
<property name="tooltip-text" translatable="yes">Main Menu</property>
<property name="icon-name">open-menu-symbolic</property>
<property name="primary">true</property>
</object>
</child>
</object>
</child>
<child type="top">
<object class="GtkSearchBar" id="proc_searchbar">
<property name="search-mode-enabled"
bind-source="search_button"
bind-property="active"
bind-flags="bidirectional"/>
<property name="child">
<object class="GtkSearchEntry" id="proc_searchentry">
<property name="placeholder-text" translatable="yes">Search processes and users</property>
<property name="width-request">300</property>
</object>
</property>
</object>
</child>
<property name="content">
<object class="AdwViewStack" id="stack">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<child>
<object class="AdwViewStackPage">
<property name="name">resources</property>
<property name="use-underline">True</property>
<property name="title" translatable="yes">_Resources</property>
<property name="icon-name">resources-symbolic</property>
<property name="child">
<object class="GtkScrolledWindow" id="res_scrolled">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="child">
<object class="GtkBox" id="res_box">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="margin-top">12</property>
<property name="margin-bottom">30</property>
<property name="margin-start">24</property>
<property name="margin-end">24</property>
<property name="orientation">vertical</property>
<property name="spacing">10</property>
<child>
<object class="GtkExpander" id="cpu_expander">
<property name="vexpand">True</property>
<property name="expanded">True</property>
<child>
<object class="GtkBox" id="cpu_graph_box">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="orientation">vertical</property>
<property name="margin-top">6</property>
<property name="spacing">6</property>
<child>
<object class="GtkGrid" id="cpu_table">
<property name="margin-start">21</property>
<property name="hexpand">True</property>
<property name="row-spacing">1</property>
<property name="column-spacing">6</property>
<property name="row-homogeneous">True</property>
<property name="column-homogeneous">True</property>
</object>
</child>
</object>
</child>
<child type="label">
<object class="GtkBox" id="cpu_header">
<property name="margin-start">6</property>
<child>
<object class="GtkLabel" id="cpu_label">
<property name="halign">start</property>
<property name="label" translatable="yes">CPU</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkExpander" id="mem_expander">
<property name="vexpand">True</property>
<property name="expanded">True</property>
<child>
<object class="GtkBox" id="mem_graph_box">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="orientation">vertical</property>
<property name="margin-top">6</property>
<property name="spacing">6</property>
<child>
<object class="GtkGrid" id="mem_table">
<property name="margin-start">54</property>
<property name="hexpand">True</property>
<property name="column-spacing">6</property>
<property name="row-homogeneous">True</property>
<child>
<object class="GtkLabel" id="memory_label">
<property name="hexpand">True</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Memory</property>
<layout>
<property name="column">1</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="swap_label">
<property name="hexpand">True</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Swap</property>
<layout>
<property name="column">3</property>
<property name="row">0</property>
</layout>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="label">
<object class="GtkBox" id="mem_header">
<property name="margin-start">6</property>
<child>
<object class="GtkLabel" id="mem_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Memory and Swap</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkExpander" id="net_expander">
<property name="vexpand">True</property>
<property name="expanded">True</property>
<child>
<object class="GtkBox" id="net_graph_box">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="orientation">vertical</property>
<property name="margin-top">6</property>
<property name="spacing">6</property>
<child>
<object class="GtkGrid" id="net_table">
<property name="margin-start">54</property>
<property name="margin-end">12</property>
<property name="hexpand">True</property>
<property name="column-spacing">6</property>
<property name="row-homogeneous">True</property>
<child>
<object class="GtkLabel" id="receiving_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Receiving</property>
<layout>
<property name="column">1</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="total_received_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Total Received</property>
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="sending_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Sending</property>
<layout>
<property name="column">5</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="total_sent_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Total Sent</property>
<layout>
<property name="column">5</property>
<property name="row">1</property>
</layout>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="label">
<object class="GtkBox" id="net_header">
<property name="margin-start">6</property>
<child>
<object class="GtkLabel" id="net_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Network</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkExpander" id="disk_expander">
<property name="vexpand">True</property>
<property name="expanded">True</property>
<child>
<object class="GtkBox" id="disk_graph_box">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="orientation">vertical</property>
<property name="margin-top">6</property>
<property name="spacing">6</property>
<child>
<object class="GtkGrid" id="disk_table">
<property name="margin-start">54</property>
<property name="margin-end">12</property>
<property name="hexpand">True</property>
<property name="column-spacing">6</property>
<property name="row-homogeneous">True</property>
<child>
<object class="GtkLabel" id="reading_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Reading</property>
<layout>
<property name="column">1</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="total_read_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Total Read</property>
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="writing_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Writing</property>
<layout>
<property name="column">5</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="total_written_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Total Written</property>
<layout>
<property name="column">5</property>
<property name="row">1</property>
</layout>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="label">
<object class="GtkBox" id="disk_header">
<property name="margin-start">6</property>
<child>
<object class="GtkLabel" id="disk_label">
<property name="halign">start</property>
<property name="label" translatable="yes">Disk</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</property>
</object>
</property>
</object>
</child>
<child>
<object class="AdwViewStackPage">
<property name="name">processes</property>
<property name="use-underline">True</property>
<property name="title" translatable="yes">_Processes</property>
<property name="icon-name">processes-symbolic</property>
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow" id="processes_scrolled">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
</object>
</child>
<child>
<object class="GtkRevealer" id="proc_actionbar_revealer">
<property name="transition-type">slide-up</property>
<property name="child">
<object class="GtkActionBar" id="proc_actionbar">
<child>
<object class="GtkButton" id="end_process_button">
<property name="label" translatable="yes" context="interface">_End Process…</property>
<property name="receives-default">True</property>
<property name="halign">start</property>
<property name="use-underline">True</property>
<property name="action-name">win.send-signal-term</property>
<child>
<object class="GtkShortcutController">
<property name="scope">managed</property>
<child>
<object class="GtkShortcut">
<property name="trigger">Delete</property>
<property name="action">activate</property>
</object>
</child>
</object>
</child>
<style>
<class name="destructive-action"/>
</style>
</object>
</child>
<child type="end">
<object class="GtkButton" id="proc_properties_button">
<property name="tooltip-text" translatable="yes">Process Properties</property>
<property name="icon-name">document-properties-symbolic</property>
<property name="action-name">win.process-properties</property>
</object>
</child>
</object>
</property>
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="AdwViewStackPage">
<property name="name">disks</property>
<property name="use-underline">True</property>
<property name="title" translatable="yes">_File Systems</property>
<property name="icon-name">drive-harddisk-symbolic</property>
<property name="child">
<object class="GsmDisksView" id="disks_view"/>
</property>
</object>
</child>
</object>
</property>
</object>
</child>
<style>
<class name="view" />
</style>
</object>
</interface>

204
data/lsof.ui Normal file
View file

@ -0,0 +1,204 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="AdwWindow" id="lsof_dialog">
<property name="title" translatable="1" context="Window title for Search for Open Files dialog">Search for Open Files</property>
<property name="default-width">575</property>
<property name="default-height">400</property>
<property name="destroy-with-parent">True</property>
<property name="content">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<child type="start">
<object class="GtkToggleButton" id="search_button">
<property name="icon-name">edit-find-symbolic</property>
</object>
</child>
</object>
</child>
<child type="top">
<object class="GtkSearchBar" id="search_bar">
<property name="search-mode-enabled"
bind-source="search_button"
bind-property="active"
bind-flags="bidirectional"/>
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkSearchEntry" id="search_entry">
<property name="placeholder-text" translatable="1">Filter files by name</property>
<property name="width-request">300</property>
</object>
</child>
<child>
<object class="GtkCheckButton" id="case_button">
<property name="label" translatable="yes">Case Insensitive</property>
</object>
</child>
</object>
</property>
</object>
</child>
<property name="content">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow">
<property name="vexpand">True</property>
<child>
<object class="GtkColumnView" id="lsof_view">
<property name="model">
<object class="GtkNoSelection">
<property name="model">
<object class="GtkSortListModel">
<property name="model">
<object class="GListStore" id="lsof_store"/>
</property>
<binding name="sorter">
<lookup name="sorter">lsof_view</lookup>
</binding>
</object>
</property>
</object>
</property>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes">Process</property>
<property name="expand">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="process" type="LsofData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="spacing">6</property>
<child>
<object class="GtkImage">
<binding name="paintable">
<lookup name="paintable" type="LsofData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</child>
<child>
<object class="GtkLabel">
<binding name="label">
<lookup name="process" type="LsofData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</child>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes">PID</property>
<property name="expand">True</property>
<property name="sorter">
<object class="GtkNumericSorter">
<property name="expression">
<lookup name="pid" type="LsofData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="pid" type="LsofData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes">Filename</property>
<property name="expand">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="filename" type="LsofData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="filename" type="LsofData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</property>
</object>
</property>
<child>
<object class="GtkShortcutController">
<property name="scope">managed</property>
<child>
<object class="GtkShortcut" id="shortcut">
<property name="trigger">Escape</property>
<property name="action">action(window.close)</property>
</object>
</child>
</object>
</child>
<style>
<class name="view"/>
</style>
</object>
</interface>

521
data/memmaps.ui Normal file
View file

@ -0,0 +1,521 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GsmMemMapsView" parent="AdwWindow">
<property name="width-request">360</property>
<property name="height-request">294</property>
<property name="default-width">620</property>
<property name="default-height">400</property>
<property name="destroy-with-parent">True</property>
<property name="content">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<property name="title-widget">
<object class="AdwWindowTitle" id="window_title">
<property name="title" translatable="yes">Memory Maps</property>
</object>
</property>
</object>
</child>
<property name="content">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<child>
<object class="GtkColumnView" id="column_view">
<property name="model">
<object class="GtkNoSelection">
<property name="model">
<object class="GtkSortListModel">
<property name="model">
<object class="GListStore" id="list_store"/>
</property>
<binding name="sorter">
<lookup name="sorter">column_view</lookup>
</binding>
</object>
</property>
</object>
</property>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes">Filename</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="filename" type="MemMapsData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="filename" type="MemMapsData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
<style>
<class name="numeric"/>
</style>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes" comments="virtual memory start">VM Start</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="vmstart" type="MemMapsData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="vmstart" type="MemMapsData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
<style>
<class name="monospace"/>
<class name="numeric"/>
</style>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes" comments="virtual memory end">VM End</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="vmend" type="MemMapsData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="vmend" type="MemMapsData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
<style>
<class name="monospace"/>
<class name="numeric"/>
</style>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes" comments="virtual memory syze">VM Size</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkNumericSorter">
<property name="expression">
<lookup name="vmsize" type="MemMapsData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">1</property>
<binding name="label">
<closure type="gchararray" function="format_size">
<lookup name="vmsize" type="MemMapsData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</closure>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes">Flags</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="flags" type="MemMapsData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="flags" type="MemMapsData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
<style>
<class name="monospace"/>
<class name="numeric"/>
</style>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes" comments="virtual memory offset">VM Offset</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="vmoffset" type="MemMapsData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="vmoffset" type="MemMapsData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
<style>
<class name="monospace"/>
<class name="numeric"/>
</style>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes" comments="memory that has not been modified since it has been allocated">Private Clean</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkNumericSorter">
<property name="expression">
<lookup name="privateclean" type="MemMapsData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">1</property>
<binding name="label">
<closure type="gchararray" function="format_size">
<lookup name="privateclean" type="MemMapsData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</closure>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes" comments="memory that has been modified since it has been allocated">Private Dirty</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkNumericSorter">
<property name="expression">
<lookup name="privatedirty" type="MemMapsData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">1</property>
<binding name="label">
<closure type="gchararray" function="format_size">
<lookup name="privatedirty" type="MemMapsData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</closure>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes" comments="shared memory that has not been modified since it has been allocated">Shared Clean</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkNumericSorter">
<property name="expression">
<lookup name="sharedclean" type="MemMapsData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">1</property>
<binding name="label">
<closure type="gchararray" function="format_size">
<lookup name="sharedclean" type="MemMapsData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</closure>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes" comments="shared memory that has been modified since it has been allocated">Shared Dirty</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkNumericSorter">
<property name="expression">
<lookup name="shareddirty" type="MemMapsData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">1</property>
<binding name="label">
<closure type="gchararray" function="format_size">
<lookup name="shareddirty" type="MemMapsData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</closure>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes">Device</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="device" type="MemMapsData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="device" type="MemMapsData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
<style>
<class name="numeric"/>
</style>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes">Inode</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkNumericSorter">
<property name="expression">
<lookup name="inode" type="MemMapsData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="inode" type="MemMapsData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
<style>
<class name="numeric"/>
</style>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</property>
</object>
</property>
<child>
<object class="GtkShortcutController">
<property name="scope">managed</property>
<child>
<object class="GtkShortcut">
<property name="trigger">Escape</property>
<property name="action">action(memmaps.close)</property>
</object>
</child>
</object>
</child>
<style>
<class name="view"/>
</style>
</template>
</interface>

164
data/menus.ui Normal file
View file

@ -0,0 +1,164 @@
<?xml version="1.0"?>
<interface>
<requires lib="gtk" version="4.0"/>
<menu id="generic-window-menu">
<section>
<item>
<attribute name="label" translatable="yes" context="Menu item to Open Search for Open Files dialog">_Search for Open Files</attribute>
<attribute name="action">app.lsof</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Preferences</attribute>
<attribute name="action">app.preferences</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Help</attribute>
<attribute name="action">app.help</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
<attribute name="action">win.show-help-overlay</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_About System Monitor</attribute>
<attribute name="action">win.about</attribute>
</item>
</section>
</menu>
<menu id="process-window-menu">
<section>
<item>
<attribute name="label" translatable="yes">_Refresh</attribute>
<attribute name="action">win.refresh</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Ac_tive Processes</attribute>
<attribute name="action">win.show-whose-processes</attribute>
<attribute name="target">active</attribute>
</item>
<item>
<attribute name="label" translatable="yes">All Pro_cesses</attribute>
<attribute name="action">win.show-whose-processes</attribute>
<attribute name="target">all</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_My Processes</attribute>
<attribute name="action">win.show-whose-processes</attribute>
<attribute name="target">user</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Show _Dependencies</attribute>
<attribute name="action">win.show-dependencies</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes" context="Menu item to Open Search for Open Files dialog">_Search for Open Files</attribute>
<attribute name="action">app.lsof</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Preferences</attribute>
<attribute name="action">app.preferences</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Help</attribute>
<attribute name="action">app.help</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
<attribute name="action">win.show-help-overlay</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_About System Monitor</attribute>
<attribute name="action">win.about</attribute>
</item>
</section>
</menu>
<menu id="process-popup-menu">
<section>
<item>
<attribute name="label" translatable="yes">_Properties</attribute>
<attribute name="action">win.process-properties</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Memory Maps</attribute>
<attribute name="action">win.memory-maps</attribute>
</item>
<item>
<attribute name="label" translatable="yes" comments="Translators: this means 'Files that are open' (open is not a verb here)">_Open Files</attribute>
<attribute name="action">win.open-files</attribute>
</item>
</section>
<section>
<submenu>
<attribute name="label" translatable="yes">_Change Priority</attribute>
<section>
<item>
<attribute name="label" translatable="yes">_Very High</attribute>
<attribute name="action">win.priority</attribute>
<attribute name="target" type="i">-20</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_High</attribute>
<attribute name="action">win.priority</attribute>
<attribute name="target" type="i">-5</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Normal</attribute>
<attribute name="action">win.priority</attribute>
<attribute name="target" type="i">0</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Low</attribute>
<attribute name="action">win.priority</attribute>
<attribute name="target" type="i">5</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Ve_ry Low</attribute>
<attribute name="action">win.priority</attribute>
<attribute name="target" type="i">19</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Cus_tom</attribute>
<attribute name="action">win.priority</attribute>
<attribute name="target" type="i">32</attribute>
</item>
</section>
</submenu>
<item>
<attribute name="label" translatable="yes">Set _Affinity…</attribute>
<attribute name="action">win.set-affinity</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Stop…</attribute>
<attribute name="action">win.send-signal-stop</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Resume</attribute>
<attribute name="action">win.send-signal-cont</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Terminate…</attribute>
<attribute name="action">win.send-signal-term</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Force Stop…</attribute>
<attribute name="action">win.send-signal-kill</attribute>
</item>
</section>
</menu>
</interface>

78
data/meson.build Normal file
View file

@ -0,0 +1,78 @@
################################################################################
# Generate files
desktop_files = []
desktop_files += i18n.merge_file(
input: configure_file(
input: 'org.gnome.SystemMonitor.desktop.in.in',
output: '@0@.desktop.in'.format(app_id),
configuration: dataconf,
),
output: '@0@.desktop'.format(app_id),
type: 'desktop',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
)
desktop_files += i18n.merge_file(
input: configure_file(
input: 'gnome-system-monitor-kde.desktop.in.in',
output: 'gnome-system-monitor-kde.desktop.in',
configuration: dataconf,
),
output: 'gnome-system-monitor-kde.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
)
metainfo_file = i18n.merge_file(
input : configure_file(
configuration: dataconf,
input : 'org.gnome.SystemMonitor.metainfo.xml.in.in',
output: '@0@.metainfo.xml.in'.format(app_id),
),
output: '@0@.metainfo.xml'.format(app_id),
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo'),
)
i18n.merge_file(
input : configure_file(
configuration: dataconf,
input : 'org.gnome.gnome-system-monitor.policy.in.in',
output: 'org.gnome.gnome-system-monitor.policy.in'
),
output: 'org.gnome.gnome-system-monitor.policy',
po_dir: '../po',
data_dirs: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'polkit-1', 'actions'),
)
################################################################################
# Tests
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test('validate_metainfo',
appstreamcli,
args: [ 'validate', '--no-net', '--explain', metainfo_file ],
)
endif
desktop_validate = find_program('desktop-file-validate', required: false)
if desktop_validate.found()
test('validate_desktop',
desktop_validate,
args: [ desktop_files ],
)
endif
subdir('icons')

170
data/openfiles.ui Normal file
View file

@ -0,0 +1,170 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="OpenFilesData" type-func="openfiles_data_get_type"/>
<object class="AdwWindow" id="openfiles_dialog">
<property name="width-request">360</property>
<property name="height-request">294</property>
<property name="default-width">575</property>
<property name="default-height">400</property>
<property name="destroy-with-parent">1</property>
<property name="content">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<property name="title-widget">
<object class="AdwWindowTitle" id="window_title">
<property name="title" translatable="yes">Open Files</property>
</object>
</property>
</object>
</child>
<property name="content">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<child>
<object class="GtkColumnView" id="openfiles_view">
<property name="model">
<object class="GtkNoSelection">
<property name="model">
<object class="GtkSortListModel">
<property name="model">
<object class="GListStore" id="openfiles_store"/>
</property>
<binding name="sorter">
<lookup name="sorter">openfiles_view</lookup>
</binding>
</object>
</property>
</object>
</property>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes" context="FD here means File Descriptor. Use a short translation if possible, and at most 2-3 characters">FD</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkNumericSorter">
<property name="expression">
<lookup name="fd" type="OpenFilesData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="fd" type="OpenFilesData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes">Type</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="type" type="OpenFilesData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="type" type="OpenFilesData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes">Object</property>
<property name="expand">True</property>
<property name="resizable">True</property>
<property name="sorter">
<object class="GtkStringSorter">
<property name="expression">
<lookup name="object" type="OpenFilesData"/>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<binding name="label">
<lookup name="object" type="OpenFilesData">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</property>
</template>
</interface>
]]></property>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</property>
</object>
</property>
<child>
<object class="GtkShortcutController">
<property name="scope">managed</property>
<child>
<object class="GtkShortcut" id="shortcut">
<property name="trigger">Escape</property>
<property name="action">action(openfiles.close)</property>
</object>
</child>
</object>
</child>
<style>
<class name="view"/>
</style>
</object>
</interface>

View file

@ -0,0 +1,15 @@
[Desktop Entry]
Name=System Monitor
Comment=View current processes and monitor system state
TryExec=gnome-system-monitor
Exec=gnome-system-monitor
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=@APP_ID@
Terminal=false
Type=Application
StartupNotify=true
StartupWMClass=gnome-system-monitor
Categories=GNOME;GTK;System;Monitor;
NotShowIn=KDE;
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=Monitor;System;Process;CPU;Memory;Network;History;Usage;Performance;Task;Manager;Activity;

View file

@ -0,0 +1,213 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2016 Robert Roth -->
<component type="desktop">
<id>@APP_ID@</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<name>System Monitor</name>
<summary>View and manage system resources</summary>
<description>
<p>
System Monitor is a process viewer and system monitor with
an attractive, easy-to-use interface.
</p>
<p>
System Monitor can help you find out what applications are using the processor
or the memory of your computer, can manage the running applications, force
stop processes not responding, and change the state or priority of existing
processes.
</p>
<p>
The resource graphs feature shows you a quick overview of what is going on with your
computer displaying recent network, memory and processor usage.
</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://gitlab.gnome.org/GNOME/gnome-system-monitor/raw/HEAD/data/screenshots/Processes.png</image>
<caption>Process list view</caption>
</screenshot>
<screenshot>
<image>https://gitlab.gnome.org/GNOME/gnome-system-monitor/raw/HEAD/data/screenshots/Resources.png</image>
<caption>Resources overview</caption>
</screenshot>
<screenshot>
<image>https://gitlab.gnome.org/GNOME/gnome-system-monitor/raw/HEAD/data/screenshots/Disks.png</image>
<caption>File Systems view</caption>
</screenshot>
</screenshots>
<update_contact>robert.roth.off_at_gmail.com</update_contact>
<project_group>GNOME</project_group>
<content_rating type="oars-1.1" />
<translation type="gettext">gnome-system-monitor</translation>
<launchable type="desktop-id">@APP_ID@.desktop</launchable>
<developer id="org.gnome">
<name>The GNOME Project</name>
</developer>
<url type="bugtracker">https://gitlab.gnome.org/GNOME/gnome-system-monitor/issues</url>
<url type="contribute">https://welcome.gnome.org/app/SystemMonitor/</url>
<url type="donation">https://www.gnome.org/donate/</url>
<url type="help">https://help.gnome.org/users/gnome-system-monitor/stable/</url>
<url type="homepage">https://apps.gnome.org/SystemMonitor/</url>
<url type="translate">https://l10n.gnome.org/module/gnome-system-monitor/</url>
<url type="vcs-browser">https://gitlab.gnome.org/GNOME/gnome-system-monitor</url>
<provides>
<binary>gnome-system-monitor</binary>
<id>org.gnome.SystemMonitor.desktop</id>
</provides>
<releases>
<release date="2025-04-12" version="48.1" type="stable">
<description>
<ul>
<li>Updated translations</li>
<li>Save expander states (Elias Projahn)</li>
</ul>
</description>
</release>
<release date="2025-03-15" version="48.0" type="stable">
<description>
<ul>
<li>Updated translations</li>
</ul>
</description>
</release>
<release date="2025-03-01" version="48~rc" type="development">
<description>
<ul>
<li>Updated translations</li>
</ul>
</description>
</release>
<release date="2025-02-01" version="48~beta" type="development">
<description>
<ul>
<li>Updated translations</li>
<li>Code improvements (David Stone)</li>
<li>Fixed increasing memory usage caused by graph drawing (Matthew House)</li>
</ul>
</description>
</release>
<release date="2025-01-11" version="48~alpha" type="development">
<description>
<ul>
<li>Updated translations</li>
<li>Ensure search button is only active on processes page !161 (Óscar Fernández Díaz)</li>
<li>Drop lsof ellipses following Human Interface Guidelines !163 (Óscar Fernández Díaz)</li>
<li>Fix resuming from suspended state #304 !166 (Balló György)</li>
<li>Fix high disks writes during window resize #327 !167 (Óscar Fernández Díaz)</li>
</ul>
</description>
</release>
<release date="2024-09-14" version="47.0" type="stable">
<description>
<ul>
<li>Updated translations</li>
<li>Fix blurred background on HiDPI screens !160 #300 (Qiu Wenbo)</li>
</ul>
</description>
</release>
<release date="2024-08-31" version="47~rc" type="development">
<description>
<ul>
<li>Updated translations</li>
<li>Minor improvements in defaults and settings loading (Óscar Fernández Díaz)</li>
</ul>
</description>
</release>
<release date="2024-08-02" version="47~beta" type="development">
<description>
<ul>
<li>Updated translations</li>
<li>Fix help and version crashing the application #260 !148 (luiz)</li>
<li>UI modernization for dialogs and disks view !150, !152, !153, !154 (Óscar Fernández Díaz)</li>
<li>Improve initial loadgraph points #248 !151 (Luiz França)</li>
</ul>
</description>
</release>
<release date="2024-06-29" version="47~alpha" type="development">
<description>
<ul>
<li>Updated translations</li>
<li>Improved flatpak app icon search !132 (Óscar Fernández Díaz)</li>
<li>Set affinity for all tasks !134 (Yannis Gerlach)</li>
<li>Use new Adwaita adaptive dialogs !125 (Óscar Fernández Díaz)</li>
<li>Use same translatable for CPU charts and affinty #203 (Robert Roth)</li>
<li>Several migrations from deprecated treeview to columnview (Óscar Fernández Díaz)</li>
<li>Migrate color button to GtkColorDialog (Óscar Fernández Díaz)</li>
<li>Add one column per group of 32 core labels !144 (Yannis Guyon)</li>
<li>Various interface improvements to match HIG (Óscar Fernández Díaz)</li>
</ul>
</description>
</release>
<release date="2024-03-16" version="46.0" type="stable">
<description>
<ul>
<li>Updated translations</li>
<li>style: Blend header bar with window contents !126 (kramo)</li>
</ul>
</description>
</release>
<release date="2024-03-02" version="46~rc" type="development">
<description>
<ul>
<li>Updated translations</li>
<li>interface: Readd Delete key as shortcut to end process !128 (Óscar Fernández Díaz)</li>
<li>Fixed memory leak in affinity change !129 (Yannis Gerlach)</li>
<li>Updated app links !130 (Óscar Fernández Díaz)</li>
<li>Metainformation improvements: correct developer and platform added (Sophie Herold)</li>
</ul>
</description>
</release>
<release date="2024-02-11" version="46~beta" type="development">
<description>
<ul>
<li>Updated translations</li>
<li>Fixed several memory leaks (Barnabás Pőcze)</li>
<li>Fixed several plotting issues (Barnabás Pőcze)</li>
<li>Partial rework of graph class hierarchy (Robert Roth)</li>
<li>Remember window state #295 (Óscar Fernández Díaz)</li>
<li>Renamed appdata to match desktop file !124 (Óscar Fernández Díaz)</li>
</ul>
</description>
</release>
<release date="2024-01-06" version="46~alpha" type="development">
<description>
<ul>
<li>Updated translations</li>
<li>Application ported to GTK4 (Ondřej Míchal)</li>
<li>Fixed shortcuts #262 (Robert Roth)</li>
<li>Fixed highcontrast graph labels #266 (Robert Roth)</li>
<li>Fixed argument type mismatch !82 (Barnabás Pőcze)</li>
<li>Updated UI to match Human Interface Guidelines !84 (Automeris Naranja)</li>
<li>Ported various application components to adwaita (Óscar Fernández Díaz)</li>
<li>Added flatpak build manifest !113 (Óscar Fernández Díaz)</li>
<li>Various code improvements (Óscar Fernández Díaz)</li>
<li>Appdata updates !114 (Sabri Ünal)</li>
</ul>
</description>
</release>
<release date="2023-09-16" version="45.0.2" type="stable">
<description>
<p>Updated translations</p>
</description>
</release>
<release date="2023-09-02" version="45.0.1" type="stable">
<description>
<p>Updated translations</p>
<p>GTK4 port preparations (Ondřej Míchal)</p>
<p>Remove visible property from window !51 (Óscar Fernández Díaz)</p>
</description>
</release>
<release date="2023-08-16" version="45.0" type="stable">
<description>
<p>Updated translations</p>
</description>
</release>
<release date="2023-03-17" version="44.0" type="stable"/>
</releases>
</component>

View file

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
<vendor>The GNOME Project</vendor>
<vendor_url>http://www.gnome.org/</vendor_url>
<icon_name>org.gnome.SystemMonitor</icon_name>
<action id="org.gnome.gnome-system-monitor.kill">
<description>Kill process</description>
<message>Privileges are required to control other users processes</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">@pkglibexecdir@/gsm-kill</annotate>
</action>
<action id="org.gnome.gnome-system-monitor.renice">
<description>Renice process</description>
<message>Privileges are required to change the priority of processes</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">@pkglibexecdir@/gsm-renice</annotate>
</action>
</policyconfig>

177
data/preferences.ui Normal file
View file

@ -0,0 +1,177 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<requires lib="libadwaita" version="1.0"/>
<object class="AdwPreferencesDialog" id="preferences_dialog">
<property name="title" translatable="yes">Preferences</property>
<property name="content-width">700</property>
<property name="content-height">700</property>
<property name="search-enabled">True</property>
<child>
<object class="AdwPreferencesPage" id="resources">
<property name="title" translatable="yes">Resources</property>
<property name="icon-name">resources-symbolic</property>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Behavior</property>
<child>
<object class="AdwSpinRow" id="resources_interval_spinner">
<property name="use-underline">True</property>
<property name="title" translatable="yes">_Update Interval in Seconds</property>
<property name="climb-rate">1</property>
<property name="digits">2</property>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="use-underline">True</property>
<property name="title" translatable="yes">_Chart Data Points</property>
<child>
<object class="GtkScale" id="graph_data_points_scale">
<property name="hexpand">True</property>
<property name="orientation">horizontal</property>
<property name="draw-value">True</property>
<property name="value-pos">right</property>
<property name="digits">0</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="draw_smooth_switch">
<property name="use-underline">True</property>
<property name="title" translatable="yes">Draw Charts as S_mooth Graphs</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">CPU</property>
<child>
<object class="AdwSwitchRow" id="draw_stacked_switch">
<property name="use-underline">True</property>
<property name="title" translatable="yes">_Draw CPU Chart as Stacked Area Chart</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Memory and Swap</property>
<child>
<object class="AdwSwitchRow" id="res_mem_in_iec_switch">
<property name="use-underline">True</property>
<property name="title" translatable="yes">Show Memory and Swap in IEC</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="logarithmic_scale_switch">
<property name="use-underline">True</property>
<property name="title" translatable="yes">Show Memory in Logarithmic Scale</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Network</property>
<child>
<object class="AdwSwitchRow" id="bits_switch">
<property name="use-underline">True</property>
<property name="title" translatable="yes">_Show Network Speed in Bits</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="bits_total_switch">
<property name="use-underline">True</property>
<property name="title" translatable="yes">Show Network _Totals in Bits</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesPage" id="processes">
<property name="title" translatable="yes">Processes</property>
<property name="icon-name">processes-symbolic</property>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Behavior</property>
<child>
<object class="AdwSpinRow" id="processes_interval_spinner">
<property name="use-underline">True</property>
<property name="title" translatable="yes">_Update Interval in Seconds</property>
<property name="climb-rate">1</property>
<property name="digits">2</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="smooth_switch">
<property name="use-underline">True</property>
<property name="title" translatable="yes">Enable _Smooth Refresh</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="check_switch">
<property name="use-underline">True</property>
<property name="title" translatable="yes">Alert Before Ending or _Force Stopping Processes</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="solaris_switch">
<property name="use-underline">True</property>
<property name="title" translatable="yes">_Divide CPU Usage by CPU Count</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="proc_mem_in_iec_switch">
<property name="use-underline">True</property>
<property name="title" translatable="yes">Show Memory in IEC</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup" id="proctree">
<property name="title" translatable="yes">Information Fields</property>
<property name="description" translatable="yes">Process information shown in list</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesPage" id="disks">
<property name="title" translatable="yes">File Systems</property>
<property name="icon-name">drive-harddisk-symbolic</property>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Behavior</property>
<child>
<object class="AdwSpinRow" id="devices_interval_spinner">
<property name="use-underline">True</property>
<property name="title" translatable="yes">_Update Interval in Seconds</property>
<property name="climb-rate">1</property>
<property name="digits">2</property>
</object>
</child>
<child>
<object class="AdwSwitchRow" id="all_devices_check">
<property name="use-underline">True</property>
<property name="title" translatable="yes">Show _All File Systems</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup" id="disksview">
<property name="title" translatable="yes">Information Fields</property>
<property name="description" translatable="yes">File system information shown in list</property>
</object>
</child>
</object>
</child>
</object>
</interface>

259
data/procproperties.ui Normal file
View file

@ -0,0 +1,259 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="AdwWindow" id="procprop_dialog">
<property name="width-request">360</property>
<property name="height-request">294</property>
<property name="default-width">600</property>
<property name="default-height">675</property>
<property name="destroy-with-parent">True</property>
<property name="content">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar"/>
</child>
<property name="content">
<object class="AdwPreferencesPage" id="procprop_page">
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Details</property>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Process ID</property>
<child>
<object class="GtkLabel" id="pid_label"/>
</child>
<accessibility>
<relation name="described-by">pid_label</relation>
</accessibility>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">User</property>
<child>
<object class="GtkLabel" id="user_label"/>
</child>
<accessibility>
<relation name="described-by">user_label</relation>
</accessibility>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Status</property>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Started</property>
<child>
<object class="GtkLabel" id="started_label"/>
</child>
<accessibility>
<relation name="described-by">started_label</relation>
</accessibility>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Priority</property>
<child>
<object class="GtkLabel" id="priority_label"/>
</child>
<accessibility>
<relation name="described-by">priority_label</relation>
</accessibility>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Status</property>
<child>
<object class="GtkLabel" id="status_label"/>
</child>
<accessibility>
<relation name="described-by">status_label</relation>
</accessibility>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Usage</property>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">CPU</property>
<child>
<object class="GtkLabel" id="cpu_label"/>
</child>
<accessibility>
<relation name="described-by">cpu_label</relation>
</accessibility>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Memory</property>
<child>
<object class="GtkLabel" id="memory_label"/>
</child>
<accessibility>
<relation name="described-by">memory_label</relation>
</accessibility>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">CPU Time</property>
<child>
<object class="GtkLabel" id="cputime_label"/>
</child>
<accessibility>
<relation name="described-by">cputime_label</relation>
</accessibility>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Virtual Memory</property>
<child>
<object class="GtkLabel" id="vmemory_label"/>
</child>
<accessibility>
<relation name="described-by">vmemory_label</relation>
</accessibility>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Resident Memory</property>
<child>
<object class="GtkLabel" id="rmemory_label"/>
</child>
<accessibility>
<relation name="described-by">rmemory_label</relation>
</accessibility>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Writable Memory</property>
<child>
<object class="GtkLabel" id="wmemory_label"/>
</child>
<accessibility>
<relation name="described-by">wmemory_label</relation>
</accessibility>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Shared Memory</property>
<child>
<object class="GtkLabel" id="smemory_label"/>
</child>
<accessibility>
<relation name="described-by">smemory_label</relation>
</accessibility>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<child>
<object class="AdwActionRow" id="securitycontext_row">
<property name="title" translatable="yes">Security Context</property>
<style>
<class name="property"/>
</style>
</object>
</child>
<child>
<object class="AdwActionRow" id="commandline_row">
<property name="title" translatable="yes">Command Line</property>
<style>
<class name="property"/>
</style>
</object>
</child>
<child>
<object class="AdwActionRow" id="waitingchannel_row">
<property name="title" translatable="yes">Waiting Channel</property>
<style>
<class name="property"/>
</style>
</object>
</child>
<child>
<object class="AdwActionRow" id="controlgroup_row">
<property name="title" translatable="yes">Control Group</property>
<style>
<class name="property"/>
</style>
</object>
</child>
</object>
</child>
</object>
</property>
<child type="bottom">
<object class="GtkActionBar">
<property name="margin-bottom">6</property>
<property name="margin-end">6</property>
<property name="margin-start">6</property>
<property name="margin-top">6</property>
<child type="center">
<object class="GtkBox">
<property name="hexpand">True</property>
<property name="homogeneous">True</property>
<property name="margin-end">6</property>
<property name="margin-start">6</property>
<property name="orientation">horizontal</property>
<property name="spacing">12</property>
<child>
<object class="GtkButton" id="stop_button">
<property name="label" translatable="yes">_Stop…</property>
<property name="action-name">procprop.send-signal-stop</property>
<property name="use-underline">True</property>
</object>
</child>
<child>
<object class="GtkButton" id="force_stop_button">
<property name="label" translatable="yes">_Force Stop…</property>
<property name="action-name">procprop.send-signal-kill</property>
<property name="use-underline">True</property>
</object>
</child>
</object>
</child>
<child type="end">
<object class="GtkMenuButton">
<property name="icon-name">view-more-symbolic</property>
<property name="menu-model">menu</property>
<property name="direction">up</property>
<property name="tooltip-text" translatable="yes">More Actions</property>
<style>
<class name="flat"/>
</style>
</object>
</child>
</object>
</child>
</object>
</property>
<child>
<object class="GtkShortcutController">
<property name="scope">managed</property>
<child>
<object class="GtkShortcut" id="shortcut">
<property name="trigger">Escape</property>
<property name="action">action(procprop.close)</property>
</object>
</child>
</object>
</child>
</object>
<menu id="menu"/>
</interface>

40
data/renice.ui Normal file
View file

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="AdwAlertDialog" id="renice_dialog">
<property name="body" translatable="yes">The priority of a process is given by its nice value. A lower nice value corresponds to a higher priority.</property>
<property name="default-response">change</property>
<property name="close-response">cancel</property>
<property name="prefer-wide-layout">True</property>
<responses>
<response id="cancel" translatable="yes">_Cancel</response>
<response id="change" translatable="yes" appearance="destructive">Change _Priority</response>
</responses>
<property name="extra-child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">_Nice Value:</property>
<property name="halign">start</property>
<property name="use-underline">True</property>
<property name="mnemonic-widget">nice_value_scale</property>
</object>
</child>
<child>
<object class="GtkScale" id="nice_value_scale">
<property name="draw-value">True</property>
<property name="round-digits">0</property>
<property name="digits">0</property>
<property name="adjustment">
<object class="GtkAdjustment" id="renice_adjustment"/>
</property>
</object>
</child>
<child>
<object class="GtkLabel" id="priority_label"/>
</child>
</object>
</property>
</object>
</interface>

BIN
data/screenshots/Disks.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

91
data/setaffinity.ui Normal file
View file

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="AdwWindow" id="setaffinity_dialog">
<property name="default-width">500</property>
<property name="default-height">500</property>
<property name="destroy-with-parent">True</property>
<property name="content">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<property name="show-start-title-buttons">False</property>
<property name="show-end-title-buttons">False</property>
<property name="title-widget">
<object class="AdwWindowTitle" id="window_title">
<property name="title" translatable="yes">Set Affinity</property>
</object>
</property>
<child type="start">
<object class="GtkButton" id="cancel_button">
<property name="label" translatable="yes">_Cancel</property>
<property name="use-underline">True</property>
</object>
</child>
<child type="end">
<object class="GtkButton" id="apply_button">
<property name="label" translatable="yes">_Apply</property>
<property name="use-underline">True</property>
</object>
</child>
</object>
</child>
<property name="content">
<object class="GtkBox" id="dialog_vbox">
<property name="orientation">vertical</property>
<child>
<object class="AdwPreferencesPage">
<child>
<object class="AdwPreferencesGroup">
<property name="description" translatable="yes">Select CPUs allowed to run on</property>
<child>
<object class="GtkListBox" id="cpulist_box">
<property name="selection-mode">none</property>
<child>
<object class="AdwSwitchRow" id="allcpus_row">
<property name="active">True</property>
<property name="title" translatable="yes">_Run on all CPUs</property>
<property name="use-underline">True</property>
</object>
</child>
<style>
<class name="boxed-list"/>
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</property>
<child type="bottom">
<object class="GtkListBox">
<property name="selection-mode">none</property>
<child>
<object class="AdwSwitchRow" id="all_threads_row">
<property name="active">True</property>
<property name="hexpand">true</property>
<property name="title" translatable="yes">Apply to Child _Threads</property>
<property name="use-underline">True</property>
</object>
</child>
<style>
<class name="background"/>
</style>
</object>
</child>
</object>
</property>
<child>
<object class="GtkShortcutController">
<property name="scope">managed</property>
<child>
<object class="GtkShortcut" id="shortcut">
<property name="trigger">Escape</property>
<property name="action">action(window.close)</property>
</object>
</child>
</object>
</child>
</object>
</interface>

44
gnome-system-monitor.doap Normal file
View file

@ -0,0 +1,44 @@
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:gnome="http://api.gnome.org/doap-extensions#"
xmlns="http://usefulinc.com/ns/doap#">
<name xml:lang="en">System Monitor</name>
<shortdesc xml:lang="en">View current processes and monitor system state</shortdesc>
<category rdf:resource="http://api.gnome.org/doap-extensions#core" />
<programming-language>C++</programming-language>
<description>GNOME System Monitor is a GNOME process viewer and system monitor with
an attractive, easy-to-use interface, It has features, such as a tree
view for process dependencies, icons for processes, the ability to hide
processes that you don't want to see, graphical time histories of
CPU/memory/swap usage, the ability to kill/renice processes needing root
access, as well as the standard features that you might expect from a
process viewer.</description>
<homepage rdf:resource="https://apps.gnome.org/SystemMonitor" />
<download-page rdf:resource="http://download.gnome.org/sources/gnome-system-monitor/" />
<bug-database rdf:resource="https://gitlab.gnome.org/GNOME/gnome-system-monitor/issues" />
<repository>
<GitRepository>
<location rdf:resource="https://gitlab.gnome.org/GNOME/gnome-system-monitor.git" />
<browse rdf:resource="https://gitlab.gnome.org/GNOME/gnome-system-monitor" />
</GitRepository>
</repository>
<platform>GTK 4</platform>
<platform>Libadwaita</platform>
<maintainer>
<foaf:Person>
<foaf:name>Robert Roth</foaf:name>
<foaf:mbox rdf:resource="mailto:robert.roth.off@gmail.com" />
<gnome:userid>robertroth</gnome:userid>
</foaf:Person>
</maintainer>
<maintainer>
<foaf:Person>
<foaf:name>Óscar Fernández Díaz</foaf:name>
<foaf:mbox rdf:resource="mailto:oscarfernandezdiaz@gnome.org" />
</foaf:Person>
</maintainer>
</Project>

72
help/C/commandline.page Normal file
View file

@ -0,0 +1,72 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="commandline">
<info>
<revision version="0.2" pkgversion="3.11" date="2014-01-26" status="review"/>
<link type="guide" xref="index#other" group="other" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2014</years>
</credit>
<desc>Information in System Monitor can also be found using command line
tools.</desc>
</info>
<title>Get the same information from the command line</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Briefly list a few useful command line tools which can provide some of
the same information as System Monitor. Don't go into too much detail.</p>
</comment>
<p>Most of the information displayed by System Monitor can also be obtained
using these command line tools.</p>
<table rules="rows" frame="top bottom">
<tr>
<td><p><cmd>top</cmd></p></td>
<td><p>provides a continually updated list of running processes, and
allows you to manipulate them.</p></td>
</tr>
<tr>
<td><p><cmd>lsof</cmd></p></td>
<td><p>provides a list of open files and the processes that opened
them.</p></td>
</tr>
<tr>
<td><p><cmd>free -m</cmd></p></td>
<td><p>shows you how much memory is available.</p></td>
</tr>
<tr>
<td><p><cmd>vmstat</cmd></p></td>
<td><p>provides information about current virtual memory use.</p></td>
</tr>
<tr>
<td><p><cmd>df -h</cmd></p></td>
<td><p>displays available disk space on mounted filesystems.</p></td>
</tr>
<tr>
<td><p><cmd>pmap</cmd></p></td>
<td><p>displays the memory map of a process.</p></td>
</tr>
</table>
</page>

31
help/C/cpu-check.page Normal file
View file

@ -0,0 +1,31 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="cpu-check">
<info>
<revision version="0.1" date="2014-01-28" status="review"/>
<link type="guide" xref="index#cpu" group="cpu" />
<link type="seealso" xref="process-identify-hog" />
<link type="seealso" xref="process-priority-change" />
<link type="seealso" xref="cpu-mem-normal" />
<link type="seealso" xref="cpu-multicore" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<desc>The amount of CPU being used tells you how much work the computer is trying to do.</desc>
</info>
<title>Check how much processor (CPU) capacity is being used</title>
<p>To check how much of your computer's processor is currently being used, go to the <gui>Resources</gui> tab and look at the <gui>CPU History</gui> chart. This tells you how much work the computer is currently doing.</p>
<p>Many computers have more than one processor (sometimes called <em>multi-core</em> systems). Each processor is shown separately on the chart. If you want, you can change the color used for each processor by clicking one of the colored blocks below the chart.</p>
<p>You can also change how rapidly the chart is updated (the update interval), and how the lines for each processor are displayed (e.g. as a stacked area chart). Change the relevant options by clicking <gui>System Monitor</gui>, then select <gui>Preferences</gui>, and then the <gui>Resources</gui> tab.</p>
</page>

View file

@ -0,0 +1,35 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="cpu-mem-normal">
<info>
<revision version="0.1" date="2014-01-28" status="review"/>
<link type="guide" xref="index#cpu" group="cpu" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<desc>If the computer is doing a lot of work, it will use more processor time and more memory.</desc>
</info>
<title>Is it normal for my computer to be using this much CPU or memory?</title>
<p>All of the programs running on your computer share CPU (processor) time and memory. If you run many programs at once, or if some programs are doing a lot of work, a higher percentage of both of these things will be used.</p>
<p>If the CPU usage is around 100%, this means that your computer is trying to do more work than it has the capacity for. This is usually OK, but it means that programs may slow down a little. Computers tend to use close to 100% of the CPU when they are doing computationally-intensive things like running games.</p>
<p>If the processor is running at 100% for a long time, this could make your computer annoyingly slow. In this case, you should <link xref="process-identify-hog">find out which program is using up so much CPU time</link>.</p>
<p>If the memory usage is close to 100%, this can slow things down a lot. This is because the computer will then try to use your hard disk as a temporary memory store, called <link xref="mem-swap">swap memory</link>. Hard disks are much slower than the system memory.</p>
<p>You can try to free up some system memory by closing some programs. If things get too slow, try restarting the computer.</p>
<note>
<p>The memory shown in the <gui>Resources</gui> tab is <em>system memory</em> (also called RAM). This is used to hold programs temporarily, while they are running on the computer. This is not the same as a hard disk or other kinds of memory, which are used to store files and programs more permanently.</p>
</note>
</page>

27
help/C/cpu-multicore.page Normal file
View file

@ -0,0 +1,27 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="cpu-multicore">
<info>
<revision version="0.1" date="2014-01-28" status="review"/>
<link type="guide" xref="index#cpu" group="cpu" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<desc>Computers with more processors find it easier to run many programs at the same time.</desc>
</info>
<title>Why do I have more than one processor?</title>
<p>Many computers have more than one processor (CPU). These are sometimes referred to as multi-core systems.</p>
<p>The workload of running all of the programs on your computer is shared between the processors. The more processors you have, the more the work can be shared out. This reduces the load on each processor, which can help make the computer run faster.</p>
<p>The computer automatically decides how best to share the work between processors; you don't need to do this yourself.</p>
</page>

View file

@ -0,0 +1,290 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="128"
height="128"
id="svg11300"
version="1.0"
style="display:inline;enable-background:new"
viewBox="0 0 128 128">
<title
id="title4162">Adwaita Icon Template</title>
<defs
id="defs3">
<linearGradient
id="linearGradient1076">
<stop
style="stop-color:#d5d3cf;stop-opacity:1"
offset="0"
id="stop1064" />
<stop
id="stop1066"
offset="0.03571428"
style="stop-color:#e4e1de;stop-opacity:1" />
<stop
style="stop-color:#d5d3cf;stop-opacity:1"
offset="0.07142857"
id="stop1068" />
<stop
id="stop1070"
offset="0.9285714"
style="stop-color:#d5d3cf;stop-opacity:1" />
<stop
style="stop-color:#e4e1de;stop-opacity:1"
offset="0.96428573"
id="stop1072" />
<stop
style="stop-color:#d5d3cf;stop-opacity:1"
offset="1"
id="stop1074" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient1076"
id="linearGradient1444-2-3-2"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.25,0,0,0.25,-22,109.00903)"
x1="120"
y1="619.96387"
x2="568"
y2="619.96387" />
<linearGradient
xlink:href="#linearGradient985"
id="linearGradient1106-8"
x1="335.86829"
y1="33.559235"
x2="112.13174"
y2="33.559235"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.25,0,0,0.25,-12,225)" />
<linearGradient
id="linearGradient985">
<stop
id="stop981"
offset="0"
style="stop-color:#f9f06b;stop-opacity:1" />
<stop
id="stop983"
offset="1"
style="stop-color:#f9f06b;stop-opacity:0" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient1020"
id="radialGradient1030"
cx="64.846146"
cy="194.19048"
fx="64.846146"
fy="194.19048"
r="44"
gradientTransform="matrix(-4.7272726,1.1058296e-6,-3.0301491e-7,-1.2272727,250.54547,-21.6754)"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient1020">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop1016" />
<stop
style="stop-color:#ffffff;stop-opacity:0.09411765"
offset="1"
id="stop1018" />
</linearGradient>
<linearGradient
y2="619.96387"
x2="568"
y1="619.96387"
x1="120"
gradientTransform="matrix(0.25,0,0,0.25,-22.00001,-50.99097)"
gradientUnits="userSpaceOnUse"
id="linearGradient1444-2-3-3"
xlink:href="#linearGradient1076" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-4.1363634,1.2532736e-6,-2.6513804e-7,-1.3909091,319.22728,170.63455)"
r="44"
fy="194.19048"
fx="63.999996"
cy="194.19048"
cx="63.999996"
id="radialGradient1030-8"
xlink:href="#linearGradient1020" />
<linearGradient
gradientTransform="matrix(0.25,0,0,0.25,-2.00001,61)"
gradientUnits="userSpaceOnUse"
y2="33.559235"
x2="104"
y1="33.559235"
x1="301"
id="linearGradient1106-2"
xlink:href="#linearGradient985" />
</defs>
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>GNOME Design Team</dc:title>
</cc:Agent>
</dc:creator>
<dc:source />
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
<dc:title>Adwaita Icon Template</dc:title>
<dc:subject>
<rdf:Bag />
</dc:subject>
<dc:date />
<dc:rights>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:publisher>
<dc:identifier />
<dc:relation />
<dc:language />
<dc:coverage />
<dc:description />
<dc:contributor>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:contributor>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<rect
style="display:inline;opacity:1;vector-effect:none;fill:#f6f5f4;fill-opacity:1;stroke:none;stroke-width:0.01129821px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
id="rect929-36-9-9"
width="112"
height="86"
x="8"
y="28"
rx="7.9999995"
ry="7.999999" />
<rect
rx="3.9999998"
style="display:inline;opacity:1;vector-effect:none;fill:#241f31;fill-opacity:1;stroke:none;stroke-width:0.01129821px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
id="rect946-0-7-4"
width="92"
height="76"
x="12"
y="32"
ry="4" />
<path
style="display:inline;opacity:1;vector-effect:none;fill:url(#linearGradient1444-2-3-3);fill-opacity:1;stroke:none;stroke-width:0.01129821px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
d="m 7.99999,104 v 4 c 0,4.432 3.568,8 8,8 h 96 c 4.432,0 8,-3.568 8,-8 v -4 c 0,4.432 -3.568,8 -8,8 h -96 c -4.432,0 -8,-3.568 -8,-8 z"
id="rect929-3-6-3-9" />
<rect
y="-104"
x="16"
height="68"
width="84"
id="rect968-2"
style="display:inline;opacity:0.05;vector-effect:none;fill:url(#radialGradient1030-8);fill-opacity:1;stroke:none;stroke-width:0.01121096px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
transform="scale(1,-1)" />
<path
id="path1092-6-1-3-7-5-5"
style="display:inline;opacity:0.23600003;fill:none;stroke:#e5a50a;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;enable-background:new"
d="m 15.99999,74 h 26 l 10,-23 6,39 8,-16 h 34" />
<path
id="path1092-6-1-3-7-5-1-0"
style="display:inline;opacity:1;fill:none;stroke:url(#linearGradient1106-2);stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;enable-background:new"
d="m 15.99999,74 h 26 l 10,-23 6,39 8,-16 h 6" />
<g
transform="translate(0,-170)"
id="g1063">
<path
style="display:inline;opacity:1;vector-effect:none;fill:#949390;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
d="m 115.99999,232 v 4 c 0,2.20914 -1.79086,4 -4,4 -2.20914,0 -4,-1.79086 -4,-4 v -2 l 4,-2 z"
id="path1066" />
<path
id="path1074"
d="m 115.99999,248 v 6 h -4 c -2.216,0 -4,-1.784 -4,-4 v -2 z"
style="display:inline;opacity:1;vector-effect:none;fill:#949390;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<path
id="path1076"
d="m 115.99999,252 v -4 a 4,3.9999998 0 0 0 -4,-4 4,3.9999998 0 0 0 -4,4 4,3.9999998 0 0 0 4,4 z"
style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<ellipse
ry="1.0000002"
rx="1"
cy="250"
cx="-113.99997"
id="ellipse1078"
style="display:inline;opacity:1;vector-effect:none;fill:#68676b;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
transform="scale(-1,1)" />
<path
style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
d="m 115.99999,230 v 4 a 4,3.9999998 0 0 1 -4,4 4,3.9999998 0 0 1 -4,-4 4,3.9999998 0 0 1 4,-4 z"
id="path1080" />
<ellipse
transform="scale(-1)"
style="display:inline;opacity:1;vector-effect:none;fill:#68676b;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
id="ellipse1082"
cx="-113.99997"
cy="-232"
rx="1"
ry="1.0000002" />
<path
id="path1084"
d="m 107.99999,218 v 4 c 0,2.20914 1.79086,4 4,4 2.20914,0 4,-1.79086 4,-4 v -2 l -4,-2 z"
style="display:inline;opacity:1;vector-effect:none;fill:#949390;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<path
id="path1086"
d="m 107.99999,216 v 4 a 4,3.9999998 0 0 0 4,4 4,3.9999998 0 0 0 4,-4 4,3.9999998 0 0 0 -4,-4 z"
style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" />
<ellipse
ry="1.0000002"
rx="1"
cy="-218"
cx="109.99997"
id="ellipse1088"
style="display:inline;opacity:1;vector-effect:none;fill:#68676b;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
transform="scale(1,-1)" />
<path
style="display:inline;opacity:1;vector-effect:none;fill:#949390;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
d="m 115.99999,206 v 6 h -4 c -2.216,0 -4,-1.784 -4,-4 v -2 z"
id="path1090" />
<path
style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
d="m 115.99999,210 v -4 a 4,3.9999998 0 0 0 -4,-4 4,3.9999998 0 0 0 -4,4 4,3.9999998 0 0 0 4,4 z"
id="path1092" />
<ellipse
transform="scale(-1,1)"
style="display:inline;opacity:1;vector-effect:none;fill:#68676b;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"
id="ellipse1094"
cx="-113.99997"
cy="208"
rx="1"
ry="1.0000002" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB

31
help/C/fs-device.page Normal file
View file

@ -0,0 +1,31 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="fs-device">
<info>
<revision version="0.1" date="2014-01-26" status="review"/>
<link type="guide" xref="index#filesystems" group="filesystems" />
<link type="seealso" xref="fs-info" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<desc>Each device corresponds to a <em>partition</em> on a hard disk.</desc>
</info>
<title>What are the different devices in the File Systems tab?</title>
<p>Each device listed under the <gui>File Systems</gui> tab is a storage disk (like a hard drive or USB memory stick), or a disk partition. For each device, you can see what its total capacity is, how much of its capacity has been used, and some technical information about what <link xref="fs-info">type of filesystem it is</link> and <link xref="fs-info">where it is "mounted"</link>.</p>
<p>The disk space on a single physical hard disk can be split up into multiple chunks, called <em>partitions</em>, each of which can be used as if it were a separate disk. If your hard disk has been partitioned (perhaps by you or the computer manufacturer), each partition will be listed separately in the File Systems list.</p>
<note>
<p>You can manage disks and partitions and see more detailed disk information with the <app>Disks</app> application.</p>
</note>
</page>

43
help/C/fs-diskusage.page Normal file
View file

@ -0,0 +1,43 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="fs-diskusage">
<info>
<revision version="0.1" date="2014-01-27" status="review"/>
<link type="guide" xref="index#filesystems" group="filesystems" />
<link type="seealso" xref="fs-info" />
<link type="seealso" xref="units" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<desc>The <gui>File Systems</gui> tab shows how much space is being used on each hard disk.</desc>
</info>
<title>Check how much disk space is being used</title>
<p>To check how much space is available on a disk, go to the <gui>File Systems</gui> tab and look at the <gui>Used</gui> and <gui>Available</gui> columns.</p>
<p>If several devices are shown, and you are looking for the one that has your Home folder on it, look for the disk that has <file>/</file> or <file>/home</file> listed under <gui>Directory</gui>. This is usually (but not always) the disk where your personal files are stored.</p>
<section id="free-space">
<title>Freeing-up disk space</title>
<p>If you don't have much disk space left, there are a few things you can do to try and free up some space.</p>
<p>One is to delete unwanted files manually. You can use the <app>Disk Usage Analyzer</app> application to tell you which files and folders are taking up the most space. After deleting some files, you should then empty the <gui>Trash</gui> to make sure they are fully removed from the computer.</p>
<p>You can also remove temporary files in various applications. For example, web browsers and software managers often keep sizeable temporary files around. (How you remove them depends on the application.)</p>
<p>You can also try uninstalling some unwanted applications. Use your usual software manager to do this.</p>
<p>Another way of freeing disk space is to "archive" old files by moving them to an external hard disk or online "cloud" storage, for example.</p>
</section>
</page>

47
help/C/fs-info.page Normal file
View file

@ -0,0 +1,47 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="fs-info">
<info>
<revision version="0.1" date="2014-01-27" status="review"/>
<link type="guide" xref="index#filesystems" group="filesystems" />
<link type="seealso" xref="fs-device" />
<link type="seealso" xref="units" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<desc>Explanations of all of the fields shown in the <gui>File System</gui> tab.</desc>
</info>
<title>Learn what the File Systems information means</title>
<p>The File Systems tab lists which disks are attached to the computer, what they are named, and how much disk space is available on them.</p>
<list>
<item>
<p><gui>Device</gui> lists the name that the operating system has assigned to the disk. Every bit of computer hardware that is attached to the computer is given an entry in the <file>/dev</file> directory that is used to identify it. For hard disks, it will usually look something like <file>/dev/sda</file>.</p>
</item>
<item>
<p><gui>Directory</gui> tells you where the disk or partition is <em>mounted</em>. Mounting is the technical term for making a disk or partition available for use. A disk can be physically connected to the computer, but unless it is also mounted, the files on it cannot be accessed. When a disk is mounted, it will be linked to a folder that you can then go to in order to access the files on the disk. For example, if the <gui>Directory</gui> is listed as <file>/media/disk</file>, you can access the files by going to the <file>/media/disk</file> folder on your computer.</p>
</item>
<item>
<p><gui>Type</gui> tells you the type of <em>filesystem</em> that is used on the disk or partition. A filesystem specifies how the computer should store files on the disk. Some operating systems can only understand some filesystem types and not others, so it can be useful to check which filesystem an external hard disk uses, for example.</p>
</item>
<item>
<p><gui>Total</gui> shows the total capacity of the disk and <gui>Available</gui> shows how much of that capacity is available to use for files and programs. <gui>Used</gui> shows how much disk space is already being used.</p>
</item>
</list>
<p>The sum of Used and Available will not necessarily add up to the Total. This is because some disk space might be reserved for use by the system. The important number to look at is the Available column, as this tells you how much disk space you can actually use.</p>
<p>You might also find that the Total doesn't match up with the advertised capacity of your hard disk. This is normal, and happens for a couple of reasons. One is that hard disk manufacturers use a slightly different way of counting disk capacity to everyone else. Another is that some disk space might be reserved for use by the operating system. If there is a big difference from the capacity you expect, it might be because your disk has been split up into multiple partitions.</p>
</page>

27
help/C/fs-showall.page Normal file
View file

@ -0,0 +1,27 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="fs-showall">
<info>
<revision version="0.1" date="2014-01-27" status="review"/>
<link type="guide" xref="index#filesystems" group="filesystems" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<desc>There are hidden file systems that the operating system uses.</desc>
</info>
<title>Show all file systems, including hidden and system ones</title>
<p>By default, the <gui>File Systems</gui> tab only shows disks and partitions that hold your files and applications. There are also a number of special filesystems that the operating system uses, but these are hidden by default.</p>
<p>To see these special filesystems, click <guiseq><gui>System Monitor</gui><gui>Preferences</gui></guiseq>, and under the <gui>File Systems</gui> tab, check <gui>Show all file systems</gui>.</p>
<p>Most of the entries in the list are "virtual" filesystems. These are not real disks or partitions. Instead, they are used by the operating system as a convenient layer of abstraction for various things, like managing hardware devices and storing temporary files. The system manages these automatically, so there is rarely any need for you to look at them yourself.</p>
</page>

70
help/C/index.page Normal file
View file

@ -0,0 +1,70 @@
<page xmlns="http://projectmallard.org/1.0/"
xmlns:its="http://www.w3.org/2005/11/its"
type="guide"
id="index">
<info>
<revision pkgversion="3.11" date="2014-01-27" status="review"/>
<title type='link' role='trail'>System Monitor</title>
<title type='link'>System Monitor</title>
<title type='text'>System Monitor</title>
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<credit type="editor">
<name>Patrick Pace</name>
<email>patrickqpace@gmail.com</email>
<years>2017</years>
</credit>
<desc>System Monitor shows you what programs are running and how much processor time, memory, and disk space are being used.</desc>
</info>
<title>
<media src="figures/org.gnome.SystemMonitor.svg" width="48px" height="48px" its:translate="no" />
System Monitor
</title>
<p><app>System Monitor</app> shows you what programs are running and how much processor time, memory, and disk space are being used.</p>
<section id="cpu">
<title>Monitoring the CPU</title>
<links type="topic" style="toronto" groups="cpu"></links>
</section>
<section id="memory">
<title>Memory usage</title>
<links type="topic" style="toronto" groups="memory"></links>
</section>
<section id="processes-info">
<title>Questions about processes</title>
<links type="topic" style="toronto" groups="processes-info"></links>
</section>
<section id="processes-tasks">
<title>Common tasks with processes</title>
<links type="topic" style="toronto" groups="processes-tasks"></links>
</section>
<section id="filesystems">
<title>Information about file systems</title>
<links type="topic" style="toronto" groups="filesystems"></links>
</section>
<section id="net">
<title>Network information</title>
<links type="topic" style="toronto" groups="net"></links>
</section>
<section id="other">
<title>Miscellaneous</title>
<links type="topic" style="toronto" groups="other"></links>
</section>
</page>

8
help/C/legal.xml Normal file
View file

@ -0,0 +1,8 @@
<license xmlns="http://projectmallard.org/1.0/"
href="http://creativecommons.org/licenses/by-sa/3.0/">
<p>This work is licensed under a
<link href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons
Attribution-ShareAlike 3.0 Unported License</link>.</p>
</license>

97
help/C/mem-check.page Normal file
View file

@ -0,0 +1,97 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="mem-check">
<info>
<revision pkgversion="3.11" date="2014-01-28" status="candidate"/>
<link type="guide" xref="index#memory" group="memory" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<credit type="editor">
<name>Ekaterina Gerasimova</name>
<email>kittykat3756@gmail.com</email>
</credit>
<desc>The <gui>Resources</gui> tab tells you how much of your computer's
memory (RAM) is being used.</desc>
</info>
<title>How much memory is being used?</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Go to the Resources tab and look at the graph/indicators (short topic).
Point to resources about memory problems. Maybe mention how you can find
which processes are using the most memory.</p>
</comment>
<p>To check the current memory usage of your computer:</p>
<steps>
<item>
<p>Click the <gui>Resources</gui> tab.</p>
</item>
</steps>
<p><gui>Memory and Swap History</gui> displays a running line graph for
memory and swap as a percentage of the total available. These are plotted
against time, with the current time at the right.</p>
<note style="tip">
<p>The color of each line is indicated by the pie graphs below. Click the
pie graph to change the color of the line graph.</p>
</note>
<p>The <gui>Memory</gui> pie graph shows memory usage in
<link xref="units">GiB</link> and as a percentage of the total available.</p>
<p>To change the <gui>update interval</gui>:</p>
<steps>
<item>
<p>Click
<guiseq><gui>System Monitor</gui><gui>Preferences</gui></guiseq>.</p>
</item>
<item>
<p>Click the <gui>Resources</gui> tab.</p>
</item>
<item>
<p>Enter a value for <gui>Update interval in seconds</gui>.</p>
</item>
</steps>
<section id="highusage">
<title>Which processes are using the most memory?</title>
<p>To check which processes are using the most memory:</p>
<steps>
<item>
<p>Click the <gui>Processes</gui> tab.</p>
</item>
<item>
<p>Click the <gui>Memory</gui> column header to sort the processes
according to memory use.</p>
<note>
<p>The arrow in the column header shows the sort direction; click again
to reverse it. If the arrow points up, the processes using the most
memory appear at the top of the list.</p>
</note>
</item>
</steps>
</section>
</page>

60
help/C/mem-swap.page Normal file
View file

@ -0,0 +1,60 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="mem-swap">
<info>
<revision pkgversion="3.11" date="2014-01-28" status="final"/>
<link type="guide" xref="index#memory" group="memory" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<desc>Swap memory allows your computer to run more applications at the same
time than will fit into the system memory (RAM).</desc>
</info>
<title>What is "swap" memory?</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Explain what swap is and how it helps. Explain that the computer may run
slowly if it's swapping too much.</p>
</comment>
<p>Swap memory or <em>swap space</em> is the on-disk component of the virtual
memory system. It is pre-configured as a <em>swap partition</em> or a
<em>swap file</em> when Linux is first installed, but can also be added
later.</p>
<note>
<p>Disk access is <em>very</em> slow compared to memory access. The system
runs more slowly if there is excessive swapping, or <em>thrashing</em>,
when the system is unable to find enough free memory. In this situation the
only solution is to add more RAM.</p>
</note>
<p>To see whether swapping, or <em>paging</em>, has become a performance
issue:</p>
<steps>
<item>
<p>Click the <gui>Resources</gui> tab.</p>
</item>
<item>
<p>The <gui>Memory and Swap History</gui> graph shows memory and swap use
as percentages.</p>
</item>
</steps>
</page>

174
help/C/memory-map-use.page Normal file
View file

@ -0,0 +1,174 @@
<page xmlns="http://projectmallard.org/1.0/"
xmlns:ui="http://projectmallard.org/ui/1.0/"
type="topic" style="task"
id="memory-map-use">
<info>
<revision pkgversion="3.11" date="2014-01-28" status="candidate"/>
<link type="guide" xref="index#memory" group="memory" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<desc>View the memory map of a process.</desc>
</info>
<title>Using memory maps</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Explain how to use the Memory Map feature.</p>
</comment>
<p><gui>Virtual memory</gui> is a representation of the combined
<gui>physical memory</gui> and <link xref="mem-swap">swap space</link> in a
system. It enables running processes to access <em>more</em> than the
existing physical memory by <gui>mapping</gui> locations in physical memory
to files on disk. When the system needs more pages of memory than are
available, some of the existing pages will be <em>paged out</em> or written
to the swap space.</p>
<p>The <gui>memory map</gui> displays the total virtual memory use of the
process, and can be used to determine the memory cost of running a single or
multiple instances of the program, to ensure the use of the correct shared
libraries, to see the results of adjusting various performance tuning
parameters the program may have, or to diagnose issues such as memory
leaks.</p>
<p>To display the <link xref="memory-map-what">memory map</link> of a
process:</p>
<steps>
<item><p>Click the <gui>Processes</gui> tab.</p></item>
<item><p>Right click the desired process in the <gui>process list</gui>.</p></item>
<item><p>Click <gui>Memory Maps</gui>.</p></item>
</steps>
<section id="read">
<title>Reading the memory map</title>
<list>
<item>
<p>Addresses are displayed in hexadecimal (base 16).</p>
</item>
<item>
<p>Sizes are displayed in <link xref="units">IEC binary
prefixes</link>.</p>
</item>
<item>
<p>At runtime the process can allocate more memory dynamically into an
area called the <em>heap</em>, and store arguments and variables into
another area called the <em>stack</em>.</p>
</item>
<item>
<p>The program itself and each of the shared libraries has three entries
each, one for the read-execute text segment, one for the read-write data
segment and one for a read-only data segment. Both data segments need to
be paged out at swap time.</p>
</item>
</list>
<table shade="rows" ui:expanded="false">
<title>Properties</title>
<tr>
<td><p>Filename</p></td>
<td><p>The location of a shared library that is currently used by the
process. If this field is blank, the memory information in this row
describes memory that is owned by the process whose name is displayed above
the memory-map table.</p></td>
</tr>
<tr>
<td><p>VM Start</p></td>
<td><p>The address at which the memory segment begins. VM Start, VM End and
VM Offset together specify the location on disk to which the shared library
is mapped.</p></td>
</tr>
<tr>
<td><p>VM End</p></td>
<td><p>The address at which the memory segment ends.</p></td>
</tr>
<tr>
<td><p>VM Size</p></td>
<td><p>The size of the memory segment.</p></td>
</tr>
<tr>
<td><p>Flags</p></td>
<td><p>The following flags describe the different types of memory-segment
access that the process can have:</p>
<terms>
<item>
<title><gui>p</gui></title>
<p>The memory segment is private to the process, and is not accessible
to other processes.</p>
</item>
<item>
<title><gui>r</gui></title>
<p>The process has permission to read from the memory segment.</p>
</item>
<item>
<title><gui>s</gui></title>
<p>The memory segment is shared with other processes.</p>
</item>
<item>
<title><gui>w</gui></title>
<p>The process has permission to write into the memory segment.</p>
</item>
<item>
<title><gui>x</gui></title>
<p>The process has permission to execute instructions that are
contained within the memory segment.</p>
</item>
</terms>
</td>
</tr>
<tr>
<td><p>VM Offset</p></td>
<td><p>The location of the address within the memory segment,
measured from VM Start.</p></td>
</tr>
<tr>
<td><p>Private, Shared, Clean, Dirty</p></td>
<!-- <td><p>Text pages are flagged read-execute in memory and don't need to
be written to swap since they can be re-loaded from their original location
on disk. Data pages have read-write permissions, and if modified when in
memory, they are labeled <em>dirty</em>, and when designated for swapping,
must be paged out.</p></td>
-->
<td><list><item><p><em>private</em> pages are accessed by one
process</p></item>
<item><p><em>shared</em> pages can be accessed by more than
one process</p></item>
<item><p><em>clean</em> pages have not yet been modified
while in memory and can be discarded when designated to be swapped
out</p></item>
<item><p><em>dirty</em> pages have been modified while in
memory and must be written to disk when designated to be swapped
out</p></item></list></td>
</tr>
<tr>
<td><p>Device</p></td>
<td><p>The major and minor numbers of the device on which the shared
library filename is located. Together these specify a partition on the
system.</p></td>
</tr>
<tr>
<td><p>Inode</p></td>
<td><p>The inode on the device from which the shared library location
is loaded into memory. An inode is the structure the filesystem uses to
store a file, and the number assigned to it is unique.</p></td>
</tr>
</table>
</section>
</page>

View file

@ -0,0 +1,79 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="memory-map-what">
<info>
<revision pkgversion="3.11" date="2014-01-28" status="candidate"/>
<link type="guide" xref="index#memory" group="memory" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<desc>The memory map of a process can help diagnose certain memory
issues.</desc>
</info>
<title>What is a memory map?</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Difficult conceptual topic. Explain how to use memory maps to do
whatever the hell you're supposed to use them for.</p>
</comment>
<comment>
<cite date="2014-01-28" href="mailto:kittykat3756@gmail.com">Kat</cite>
<p>TODO: check gui tags.</p>
</comment>
<p><gui>Virtual memory</gui> is a representation of the combined
<gui>physical memory</gui> and <link xref="mem-swap">swap space</link> in a
system. It enables running processes to access <em>more</em> than the
existing physical memory by <gui>mapping</gui> locations in physical memory
to files on disk.</p>
<p>When a program is launched, the system assigns it a unique process ID
(PID) and its <em>instructions</em> and <em>data</em> are loaded into memory
in <em>pages</em>. The page table of each process maps the correspondence
between its pages in virtual memory and their location in physical memory.
The <gui>memory map</gui> displays the total virtual memory use of the
process, and can be used to determine the memory cost of running a single or
multiple instances of the program, to ensure the use of the correct shared
libraries, to see the results of adjusting various performance tuning
parameters the program may have, or to diagnose issues such as memory
leaks.</p>
<p>If multiple copies of a program are running, the instructions (or
<em>text</em>) of the program only need to be loaded once into physical
memory. Each time a new instance of the program is launched (as a unique
process with its own virtual memory pages), its page table maps the location
of the text in virtual memory to those instructions in the original real
memory location. In addition, any dynamic shared libraries used by the
process appear as distinct in virtual memory, but are shared references to a
single copy of the library's text segment in real memory. When accounting for
the total memory use of a process, it is important to note that the cost of
shared libraries loaded into memory can be spread across all processes
currently using them.</p>
<p>When the system needs more pages of memory than are available, some of the
existing pages will be <em>paged out</em> or written to the <gui>swap
space</gui>. Text pages are flagged read-execute in memory and don't need to
be written to swap since they can be re-loaded from their original location
on disk. Data pages have read-write permissions, and if modified when in
memory, they are labeled <em>dirty</em>, and when designated for swapping,
must be paged out. When a page in swap space is required by a running
process, it needs to be swapped back in before use, perhaps causing another
page to be paged out.</p>
</page>

45
help/C/net-bits.page Normal file
View file

@ -0,0 +1,45 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="net-bits">
<info>
<revision version="0.2" pkgversion="3.11" date="2014-01-26" status="review"/>
<link type="guide" xref="index#net" group="net" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<desc>Choose the units to display your network speed.</desc>
</info>
<title>Show the network speed in bits instead of bytes per second</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Brief topic. Explain how to do this, and why you might want to do it.</p>
</comment>
<p>Network speed is often shown in bits per second, rather than bytes per
second. This is called the <em>bit rate</em>, or <em>data rate</em>.</p>
<p>To display the network speed in bits:</p>
<steps>
<item><p>Click
<guiseq><gui>System Monitor</gui><gui>Preferences</gui></guiseq>.</p>
</item>
<item><p>Click the <gui>Resources</gui> tab.</p></item>
<item><p>Select <gui>Show network speed in bits</gui>.</p></item>
</steps>
</page>

58
help/C/net-check.page Normal file
View file

@ -0,0 +1,58 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="net-check">
<info>
<revision version="0.2" pkgversion="3.11" date="2014-01-26" status="incomplete"/>
<link type="guide" xref="" group="net" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<desc>The <gui>Resources</gui> tab shows you the volume of data that's
passing over your network connections.
</desc>
</info>
<title>Check network usage and connection speed</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Explain how to check network usage and what all the numbers mean. Why
might there be spikes?</p>
</comment>
<p>To check the current network usage of your computer:</p>
<steps>
<item><p>Click the <gui>Resources</gui> tab.</p>
</item>
</steps>
<list>
<item><p><gui>Network History</gui> displays a running line graph for the
volume of data passing over your network connections, split up into data
received and sent. These are plotted against time, with the current time at
the right.</p>
<note style = "tip"><p>The color of each line is indicated by the down and
up arrows (for <gui>Receiving</gui> and <gui>Sending</gui> respectively)
underneath the graph. Click an arrow to change the color of the
corresponding line graph.</p>
</note>
</item>
<item><p>Below the graph is shown <gui>Receiving</gui> and <gui>Sending</gui>
<link xref="net-bits">bit rate</link> or connection speed, as well as
total data transferred in each direction.</p>
</item>
</list>
</page>

View file

@ -0,0 +1,42 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-columns">
<info>
<revision version="0.2" pkgversion="3.11" date="2014-01-29" status="incomplete"/>
<link type="guide" xref="" group="processes-tasks" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<desc>Various other columns can be shown in the <gui>Processes</gui> tab.</desc>
</info>
<title>Display different information about processes</title>
<p>To display different or additional information in the process list:</p>
<steps>
<item><p>Click
<guiseq><gui>System Monitor</gui><gui>Preferences</gui></guiseq>.</p></item>
<item><p>Click the <gui>Processes</gui> tab.</p></item>
<item><p>Select the desired headings in the <gui>Information Fields</gui>
list.</p></item>
</steps>
<p>For each process listed in the <gui>Processes</gui> tab,
<app>System Monitor</app> provides information in a number of categories.
For detailed descriptions of what the columns mean, check the
<link href="man:ps"><cmd>ps</cmd> man page</link>.</p>
</page>

View file

@ -0,0 +1,45 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-explain">
<info>
<revision version="0.2" pkgversion="3.11" date="2014-01-26" status="review"/>
<link type="guide" xref="index#processes-info" group="processes-info" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<desc>A process can be manipulated from the process list.</desc>
</info>
<title>What is a process?</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Explain, in simple terms, what a process is, how they relate to
applications, how some are 'system processes', and what you can do with a
process.</p>
</comment>
<p>A <gui>process</gui> is a program or application being executed by the
system. When an application is launched, the system assigns a unique process ID
(PID), and its instructions and data are loaded into memory.</p>
<p>The <gui>Processes</gui> tab displays information on processes, and allows
you to <gui>Stop</gui>, <gui>Continue</gui>, <gui>End</gui>, <gui>Kill</gui>,
or change the priority of a process. If you choose to display
<gui>All Processes</gui>, the process list will include
<em>system processes</em>, which run in the background providing various
services that keep a computer running.</p>
</page>

31
help/C/process-files.page Normal file
View file

@ -0,0 +1,31 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-files">
<info>
<revision version="0.1" date="2014-01-25" status="review"/>
<link type="guide" xref="index#processes-tasks" group="processes-tasks" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<desc>View files being accessed by processes.</desc>
</info>
<title>List which files a process has open</title>
<p>Processes sometimes need to keep files open. They could be files that you are viewing or editing, or temporary or system files that the process needs to work properly.</p>
<p>To see which files a process has open:</p>
<steps>
<item><p>Find the process in the <gui>Processes</gui> tab and click once to select it.</p></item>
<item><p>Right-click the process and select <gui>Open Files</gui>.</p></item>
</steps>
<p>In the list of open files that appears, you might find some special files called <em>sockets</em>. These are actually a way for processes to communicate with one another, and are not normal files that you can view or edit.</p>
</page>

View file

@ -0,0 +1,36 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-forcequit">
<info>
<revision version="0.1" date="2011-08-28" status="stub"/>
<link type="guide" xref="..." group="processes-tasks" />
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<desc>If an application has frozen, you can force it to close by "killing" it.</desc>
</info>
<title>Close an application that's not responding</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Explain how to force an application to quit using the System Monitor.</p>
</comment>
<comment>
<cite date="2011-08-28" href="mailto:ksinnott5ht@gmail.com">Kelly Sinnott</cite>
<p>I think that this page is not necessary because process-end-kill.page covers it well.</p>
</comment>
<p>Short introductory text...</p>
<steps>
<item><p>First step...</p></item>
<item><p>Second step...</p></item>
<item><p>Third step...</p></item>
</steps>
</page>

View file

@ -0,0 +1,53 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-identify-file">
<info>
<revision version="0.2" pkgversion="3.11" date="2014-01-26" status="review"/>
<link type="guide" xref="index#processes-tasks" group="processes-tasks" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<desc>Search for a file that's open to display which process is using it.</desc>
</info>
<title>Find which program is using a specific file</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Explain how you can search for a file (or part of a filename) and it will
show which processes are using it. Explain why this might be useful.</p>
</comment>
<p>Sometimes an error message will tell you a device (like the sound device or
the DVD ROM) is busy, or the file you want to edit is in use. To find the
process or processes responsible:</p>
<steps>
<item><p>Click
<guiseq><gui>System Monitor</gui><gui>Search for Open Files</gui></guiseq>.</p>
</item>
<item><p>Enter a filename or part of a filename. This could be
<file>/dev/snd</file> for the sound device or <file>/media/cdrom</file>
for the DVD ROM.</p>
</item>
<item><p>Click <gui>Find</gui>.</p>
</item>
</steps>
<p>This will display a list of running processes that are currently accessing
the file or files that match the search. Quitting the program should allow you
to access the device or edit the file.</p>
</page>

View file

@ -0,0 +1,62 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-identify-hog">
<info>
<revision version="0.2" pkgversion="3.11" date="2014-01-26" status="review"/>
<link type="guide" xref="index#processes-tasks" group="processes-tasks" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<desc>Sort the list of processes by <gui>% CPU</gui> to see which
application is using up the computer's resources.</desc>
</info>
<title>Which program is making the computer run slowly?</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Explain how the System Monitor can be used to find
misbehaving/resource-hogging processes. (A lot of process use 100% CPU or
similar if they hang, for example.)</p>
</comment>
<p>A program that is using more than its share of the CPU may slow down the
whole computer. To find which process could be doing this:</p>
<steps>
<item>
<p>Click the <gui>Processes</gui> tab.</p>
</item>
<item>
<p>Click the <gui>% CPU</gui> column header to sort the processes
according to CPU use.</p>
<note>
<p>The arrow in the column header shows the sort direction; click again
to reverse it. The arrow should point up.</p>
</note>
</item>
</steps>
<p>The processes at the top of the list are using the highest percentage CPU.
Once you identify which one might be using more resources than it should, you
can decide whether to close the program itself, or close other programs to
try to reduce the CPU load.</p>
<note style = "tip">
<p>A process that has hung or crashed might use 100% CPU. If this happens
you may need to <link xref="process-kill">kill</link> the process.</p>
</note>
</page>

29
help/C/process-kill.page Normal file
View file

@ -0,0 +1,29 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-kill">
<info>
<revision version="0.1" date="2014-01-28" status="review"/>
<link type="guide" xref="index#processes-info" group="processes-info" />
<link type="seealso" xref="process-identify-hog" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<desc>If a program stops working or freezes, you can force it to close.</desc>
</info>
<title>Kill (close) a program immediately</title>
<p>If a program stops working or freezes, you can force it to close ("kill" it) using <app>System Monitor</app>. Go to the <gui>Processes</gui> tab and click to select the process you want to kill. Then, click <gui>End Process</gui>.</p>
<p>If the process does not close after a few seconds, right-click it and select <gui>Kill</gui> from the menu that appears.</p>
<p>Using <gui>End Process</gui> tries to close the process properly, giving it time to save files and so on, whereas <gui>Kill</gui> forces it to close straight away. For some programs, this might mean that you lose unsaved files. You should always try <gui>End Process</gui> first.</p>
</page>

View file

@ -0,0 +1,50 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-loadaverage">
<info>
<revision version="0.1" date="2011-08-19" status="stub"/>
<link type="guide" xref="index" group="processes-info" />
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011</years>
</credit>
<desc>The <em>load average</em> tells you how much work your computer has
been doing over the past few minutes.</desc>
</info>
<title>What is the load average?</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Explain how to interpret the load averages quoted on the Processes tab.</p>
</comment>
<p>The <gui>load average</gui> shows the load on the CPU over three different
time intervals, one minute, five minutes and fifteen minutes. These are displayed
on the <gui>Processes</gui> tab above the process list, and are an indicator of
system processing capacity.</p>
<p>The <em>load</em> is the number of processes currently running plus the
number of processes <em>queued</em> to run on the system's CPU(s). A load
showing a utilization of 100% would be roughly 1.0 times the number of CPUs or
<link xref="cpu-multicore">cores</link> in the system; load averages constantly
hitting this number would indicate that the system is fully-loaded with no
processes waiting for processor time. Lower numbers indicate that the system's
processing power is sufficient for the processes being run, while numbers that
are consistently higher might mean more processing power is needed.</p>
<p>Three intervals are shown so that spikes and trends in the numbers can be
taken into account: if the load average spikes higher in the one- or
five-minute intervals, but settles down below the 100% mark over the
fifteen-minute interval, system processing capacity is probably sufficient.</p>
</page>

23
help/C/process-many.page Normal file
View file

@ -0,0 +1,23 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-many">
<info>
<revision version="0.1" date="2014-01-25" status="review"/>
<link type="guide" xref="index#processes-info" group="processes-info" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<desc>Lots of system processes run automatically in the background.</desc>
</info>
<title>Why are there processes listed that I did not start?</title>
<p>There are usually lots of processes listed under the <gui>Processes</gui> tab. Only a few of these will be programs that you started yourself. The others are mostly processes that are needed by the operating system to make the computer run correctly. These are started automatically when you log in, and typically run quietly in the background.</p>
</page>

View file

@ -0,0 +1,45 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-priority-change">
<info>
<revision version="0.1" date="2014-01-26" status="review"/>
<link type="guide" xref="index#processes-tasks" group="processes-tasks" />
<link type="seealso" xref="cpu-check" />
<link type="seealso" xref="process-identify-hog" />
<link type="seealso" xref="process-priority-what" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<desc>Decide whether a process should get a bigger or smaller share of the processor's time.</desc>
</info>
<title>Change the priority of a process</title>
<p>You can tell the computer that certain processes should have a higher priority than others, and so should be given a bigger share of the available computing time. This can make them run faster, but only in certain cases. You can also give a process a <em>lower</em> priority if you think it is taking up too much processing power.</p>
<steps>
<item><p>Go to the <gui>Processes</gui> tab and click on the process you want to have a different priority.</p></item>
<item><p>Right-click the process, and use the <gui>Change Priority</gui> menu to assign the process a higher or lower priority.</p></item>
</steps>
<p>There is typically little need to change process priorities manually. The computer will usually do a good job of managing them itself. (The system for managing the priority of processes is called <link xref="process-priority-what">nice</link>.)</p>
<section id="faster">
<title>Does higher priority make a process run faster?</title>
<p>The computer shares its processing time between all of the running processes. This is normally shared intelligently, so programs that are doing more work automatically get a bigger share of the resources. Most of the time, processes will get as much processing time as they need, and so will already be running as fast as possible. Changing their priority won't make a difference.</p>
<p>If your computer is running several computationally-intensive programs at once, however, its processing time may be "over-subscribed" (that is, the <link xref="process-identify-hog">processor's full capacity</link> will be in use). You may notice that other programs run slower than usual because there is not enough processing time to share between all of them.</p>
<p>In this case, changing the priority of processes can be helpful. You could lower the priority of one of the computationally-intensive processes to free up more processing time for other programs. Alternatively, you could increase the priority of a process that is more important to you, and that you want to run faster.</p>
</section>
</page>

View file

@ -0,0 +1,36 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-priority-what">
<info>
<revision version="0.1" date="2014-01-26" status="stub"/>
<link type="guide" xref="" group="processes-info" />
<link type="seealso" xref="process-priority-change" />
<link type="seealso" xref="cpu-multicore" />
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011, 2014</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011</years>
</credit>
<desc>The <em>nice</em> value of a process is used to adjust its priority.</desc>
</info>
<title>What is the <em>nice</em> value of a process?</title>
<p>The priority of a process determines the share of time the process is
alotted on a system's one or more processors (CPUs or cores). A <em>nice</em>
process, or one with a higher nice value, concedes priority to other processes.
Adjusting the nice value will increase or decrease the scheduling priority.</p>
<p>The lower the nice value, the higher the priority of the process. The nice
value ranges from -20 (low nice, higher priority) to 20 (lower priority). The
default value of nice is usually 0.</p>
</page>

View file

@ -0,0 +1,64 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-status">
<info>
<revision pkgversion="3.11" date="2014-01-28" status="complete"/>
<link type="guide" xref="index#processes-info" group="processes-info" />
<link type="seealso" xref="process-kill" />
<link type="seealso" xref="cpu-check" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2014</years>
</credit>
<desc>The status of a process can be running, sleeping, stopped, or zombie.</desc>
</info>
<title>What do the process statuses mean?</title>
<p>The status of a process tells you whether it is currently doing something or not. There are four statuses that a process can have:</p>
<terms>
<item>
<title>Running</title>
<p>Processes that are currently doing something (for example, a web
browser loading a web page). Running processes are those that are
actively using the processor (CPU).</p>
</item>
<item>
<title>Sleeping</title>
<p>Processes that are not currently doing anything (for example, because
they are waiting for something to happen). They don't use any of the
processor's time, but still take up memory. If they need to do something,
they will "wake up" and change their status to <em>running</em>.</p>
</item>
<item>
<title>Stopped</title>
<p>A <em>stopped</em> process is one that has been put to sleep manually.
You might want to stop a process temporarily if it is using too much
processing time, for example.</p>
<p>To do this, click the process in the <gui>Processes</gui> tab, then
right-click it and select <gui>Stop</gui> from the menu that appears. You
can wake it up again by clicking <gui>Continue</gui> on the same
menu.</p>
</item>
<item>
<title>Zombie</title>
<p>A zombie process is one that has finished running and will never start
again, but is being kept in the list of processes for some reason. This
usually happens because it was started by another program that needs to
know if it finished successfully or not, but which has not checked on the
process yet.</p>
<p>Zombie processes do not use any memory or processing time, and will
eventually go away. You do not need to do anything to get rid of them.</p>
</item>
</terms>
<p>The majority of processes will either be running or sleeping.</p>
</page>

View file

@ -0,0 +1,53 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="process-update-speed">
<info>
<revision version="0.2" pkgversion="3.11" date="2014-01-26" status="review"/>
<link type="guide" xref="index#processes-tasks" group="processes-tasks" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<desc>Refresh the information shown in the System Monitor with a longer or
shorter interval.</desc>
</info>
<title>Make the information update faster or slower</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Explain how to make the info update faster (see Preferences dialog).
Explain that faster updates mean that the System Monitor will use more
CPU.</p>
</comment>
<p>To change the information refresh speed:</p>
<steps>
<item><p>Click
<guiseq><gui>System Monitor</gui><gui>Preferences</gui></guiseq>.</p>
</item>
<item><p>Click the desired tab (<gui>Processes</gui>, <gui>Resources</gui>
or <gui>File Systems</gui>).</p>
</item>
<item><p>Enter a value for <gui>Update interval in seconds</gui>.</p>
</item>
</steps>
<note style = "warning"><p>Setting the <gui>Update interval</gui> to a
lower value will cause <gui>System Monitor</gui> itself to use more of the
CPU.</p>
</note>
</page>

51
help/C/solaris-mode.page Normal file
View file

@ -0,0 +1,51 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="solaris-mode">
<info>
<revision version="0.2" pkgversion="3.11" date="2014-01-26" status="review"/>
<link type="guide" xref="index#other" group="other" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<desc>Use Solaris mode to reflect the number of CPUs.</desc>
</info>
<title>What is Solaris mode?</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Very brief topic. Explain what "Solaris mode" in the preferences dialog
means. The current manual has some information.</p>
</comment>
<p>In a system that has multiple CPUs or <link xref="cpu-multicore">cores</link>,
processes can use more than one at the same time. It is possible for the
<gui>% CPU</gui> column to display values that total greater than 100% (i.e.
400% in a 4-CPU system). <gui>Solaris mode</gui> divides the <gui>% CPU</gui>
for each process by the number of CPUs in the system so that the total will be
100%.</p>
<p>To display the <gui>% CPU</gui> in <gui>Solaris mode</gui>:</p>
<steps>
<item><p>Click <gui>Preferences</gui> in the app menu.</p></item>
<item><p>Click the <gui>Processes</gui> tab.</p></item>
<item><p>Select <gui>Divide CPU Usage by CPU Count</gui>.</p></item>
</steps>
<note><p>The term <gui>Solaris mode</gui> derives from Sun's UNIX, compared
to the Linux default of IRIX mode, named for SGI's UNIX.</p></note>
</page>

48
help/C/units.page Normal file
View file

@ -0,0 +1,48 @@
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="units">
<info>
<revision version="0.2" pkgversion="3.11" date="2014-01-26" status="review"/>
<link type="guide" xref="index#other" group="other" />
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Phil Bull</name>
<email>philbull@gmail.com</email>
<years>2011</years>
</credit>
<credit type="author copyright">
<name>Michael Hill</name>
<email>mdhillca@gmail.com</email>
<years>2011, 2014</years>
</credit>
<desc>Units of measure for memory and disk space</desc>
</info>
<title>Is GiB the same as GB (gigabyte)?</title>
<comment>
<cite date="2011-06-18" href="mailto:philbull@gmail.com">Phil Bull</cite>
<p>Answer this question, quite briefly.</p>
</comment>
<p>The memory and disk space statistics are displayed using <em>IEC binary
prefixes</em>, KiB, MiB, GiB, TiB (for kibi, mebi, gibi and tebi). These are
intended to distinguish binary reporting of sizes used in System Monitor
(multiples of 1024) from decimal sizes (multiples of 1000) commonly used, for
instance, in packaging of hard disks.</p>
<p>Typical binary units:</p>
<list>
<item><p>1 KiB = 1024 bytes</p></item>
<item><p>1 MiB = 1048576 bytes</p></item>
<item><p>1 GiB = 1073741842 bytes</p></item>
</list>
<p>An external hard drive, advertised as 1.0 TB (terabytes), would display
as 0.909 TiB (tebibytes).</p>
</page>

108
help/ChangeLog Normal file
View file

@ -0,0 +1,108 @@
2009-04-10 Simos Xenitellis <simos@gnome.org>
* el/el.po: Updated Greek translation by Sterios Prosiniklis.
2009-04-03 Simos Xenitellis <simos@gnome.org>
* el/el.po: Added Greek translation by Sterios Prosiniklis.
* Makefile.am: Added el to DOC_LINGUAS.
2009-02-19 Daniel Nylander <po@danielnylander.se>
* sv/sv.po: Updated Swedish translation.
* sv/figures: Updated screenshot.
2009-01-24 Mario Blättermann <mariobl@svn.gnome.org>
* de/de.po: Small fix in German translation.
2009-01-16 Mario Blättermann <mariobl@svn.gnome.org>
* de/de.po: Added German translation.
* Makefile.am: Added de to DOC_LINGUAS.
* de/figures/*: Added screenshot.
2008-08-01 Djihed Afifi <djihed@gmail.com>
* ar/ar.po: Add arabic translation.
* Makefile.am: Added ca to DOC_LINGUAS.
* ar/figures: Added screenshots directory.
2008-03-09 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es/es.po: Updated Spanish translation.
2008-02-12 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es/es.po: Updated Spanish translation.
2008-02-11 Gil Forcada <gforcada@gnome.org>
* ca/ca.po: Updated Catalan translation by Joan Duran.
2008-01-29 Claude Paroz <claude@2xlibre.net>
* fr/fr.po: Updated French translation by Claude Paroz and Bruno Brouard.
2008-01-20 Yannig Marchegay <yannig@marchegay.org>
* oc.po: Updated Occitan translation.
2007-12-31 Yannig Marchegay <yannig@marchegay.org>
* oc.po: Updated Occitan translation.
2007-12-01 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es/es.po: Updated Spanish translation
2007-10-16 Gil Forcada <gforcada@svn.gnome.org>
* ca/ca.po: Some fixes to Catalan translation thanks to Joan Duran.
2007-08-02 Jordi Mas <jmas@softcatala.org>
* ca/ca.po: Added Catalan translation by Joan Duran.
* ca/figures: Added screenshots directory.
* Makefile.am: Added ca to DOC_LINGUAS.
2007-08-01 Claude Paroz <claude@2xlibre.net>
* fr/fr.po: Updated French translation.
2007-06-02 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es/es.po: Updated Spanish translation
2007-05-27 Daniel Nylander <po@danielnylander.se>
* sv/sv.po: Updated Swedish translation.
2007-05-08 Alexander Shopov <ash@contact.bg>
* bg/bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>
2007-04-21 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* es/es.po: Added Spanish translation.
* es/figures: Added screenshots directory.
* Makefile.am: Added es to DOC_LINGUAS.
* Changelog: Created help changelog file
2007-03-01 AP Singh Alam <aalam@users.sf.net>
* pa/pa.po: Punjabi Transaltion is added
* Makefile.am: pa is added to DOC_LINGUAS
2007-03-01 Daniel Nylander <po@danielnylander.se>
* sv/sv.po: Updated Swedish translation.
2007-02-28 Christophe Bliard <christophe.bliard@trux.info>
* fr/fr.po: Added initial French translation.
* fr/figures: Added screenshots directory.
* Makefile.am: Added fr to DOC_LINGUAS.
* Changelog: Created help changelog file

23
help/LINGUAS Normal file
View file

@ -0,0 +1,23 @@
# please keep this list sorted alphabetically
ca
cs
da
de
el
es
eu
fr
gl
hu
id
it
ko
pl
pt
pt_BR
ro
ru
sv
tr
uk
zh_CN

2195
help/ca/ca.po Normal file

File diff suppressed because it is too large Load diff

2140
help/cs/cs.po Normal file

File diff suppressed because it is too large Load diff

2157
help/da/da.po Normal file

File diff suppressed because it is too large Load diff

2249
help/de/de.po Normal file

File diff suppressed because it is too large Load diff

1866
help/el/el.po Normal file

File diff suppressed because it is too large Load diff

2205
help/es/es.po Normal file

File diff suppressed because it is too large Load diff

1735
help/eu/eu.po Normal file

File diff suppressed because it is too large Load diff

2254
help/fr/fr.po Normal file

File diff suppressed because it is too large Load diff

2311
help/gl/gl.po Normal file

File diff suppressed because it is too large Load diff

2184
help/hu/hu.po Normal file

File diff suppressed because it is too large Load diff

0
help/id/.gitkeep Normal file
View file

2175
help/id/id.po Normal file

File diff suppressed because it is too large Load diff

2180
help/it/it.po Normal file

File diff suppressed because it is too large Load diff

2084
help/ko/ko.po Normal file

File diff suppressed because it is too large Load diff

35
help/meson.build Normal file
View file

@ -0,0 +1,35 @@
find_program('itstool', required: true)
gnome.yelp(meson.project_name(),
sources: [
'commandline.page',
'cpu-check.page',
'cpu-mem-normal.page',
'cpu-multicore.page',
'fs-device.page',
'fs-diskusage.page',
'fs-info.page',
'fs-showall.page',
'index.page',
'legal.xml',
'mem-check.page',
'mem-swap.page',
'memory-map-use.page',
'memory-map-what.page',
'net-bits.page',
'process-explain.page',
'process-files.page',
'process-identify-file.page',
'process-identify-hog.page',
'process-kill.page',
'process-many.page',
'process-priority-change.page',
'process-priority-what.page',
'process-status.page',
'process-update-speed.page',
'solaris-mode.page',
'units.page',
],
media: [
'figures/org.gnome.SystemMonitor.svg',
],
)

2145
help/pl/pl.po Normal file

File diff suppressed because it is too large Load diff

1905
help/pt/pt.po Normal file

File diff suppressed because it is too large Load diff

2212
help/pt_BR/pt_BR.po Normal file

File diff suppressed because it is too large Load diff

2974
help/ro/ro.po Normal file

File diff suppressed because it is too large Load diff

2187
help/ru/ru.po Normal file

File diff suppressed because it is too large Load diff

2150
help/sv/sv.po Normal file

File diff suppressed because it is too large Load diff

2172
help/tr/tr.po Normal file

File diff suppressed because it is too large Load diff

2241
help/uk/uk.po Normal file

File diff suppressed because it is too large Load diff

1957
help/zh_CN/zh_CN.po Normal file

File diff suppressed because it is too large Load diff

164
meson.build Normal file
View file

@ -0,0 +1,164 @@
# https://gitlab.gnome.org/GNOME/gnome-system-monitor/issues
project('gnome-system-monitor',
'c', 'cpp',
default_options : [
'c_std=gnu2x',
'cpp_std=gnu++20',
'warning_level=3',
],
version: '48.1',
meson_version: '>=0.57.0',
)
gnome = import('gnome')
i18n = import('i18n')
cc = meson.get_compiler('c')
cx = meson.get_compiler('cpp')
if get_option('development')
app_id = 'org.gnome.SystemMonitor.Devel'
else
app_id = 'org.gnome.SystemMonitor'
endif
gettext_package = meson.project_name()
conf = configuration_data()
conf.set_quoted('APP_ID', app_id)
conf.set_quoted('VERSION', meson.project_version())
conf.set_quoted('GETTEXT_PACKAGE', gettext_package)
conf.set_quoted('GNOMELOCALEDIR',
join_paths(get_option('prefix'), get_option('localedir'))
)
conf.set_quoted('GSM_LIBEXEC_DIR',
join_paths(get_option('prefix'), get_option('libexecdir'), meson.project_name())
)
dataconf = configuration_data()
dataconf.set('APP_ID', app_id)
dataconf.set('VERSION', meson.project_version())
dataconf.set('GETTEXT_PACKAGE', gettext_package)
dataconf.set('pkglibexecdir',
join_paths(get_option('prefix'),get_option('libexecdir'),meson.project_name())
)
prefix = get_option('prefix')
datadir = join_paths(prefix, get_option('datadir'))
################################################################################
# Dependencies
catch2 = dependency('catch2-with-main')
giomm = dependency('giomm-2.68', version: '>=2.68')
glib = dependency('glib-2.0', version: '>=2.56.0')
glibmm = dependency('glibmm-2.68', version: '>=2.68')
gmodule = dependency('gmodule-2.0')
gtk = dependency('gtk4', version: '>=4.12.0')
gtkmm = dependency('gtkmm-4.0', version: '>=4.0.0')
libgtop = dependency('libgtop-2.0', version: '>=2.41.2')
libadwaita = dependency('libadwaita-1',version: '>=1.6.alpha')
librsvg = dependency('librsvg-2.0', version: '>=2.46')
libxml = dependency('libxml-2.0', version: '>=2.0')
if get_option('systemd')
libsystemd = dependency('libsystemd', version: '>=44')
else
libsystemd = dependency('', required: false)
endif
conf.set('HAVE_SYSTEMD', libsystemd.found())
################################################################################
# Compiler flags
extra_flags = [
'-Wcast-align',
'-Wchar-subscripts',
'-Winline',
'-Wmissing-declarations',
'-Wpointer-arith',
'-Wsign-compare',
]
extra_cflags = [
'-Wmissing-prototypes',
'-Wnested-externs',
]
extra_cxxflags = [
# '-fvisibility=hidden',
# '-fvisibility-inlines-hidden',
]
cflags = extra_flags + extra_cflags
cxxflags = extra_flags + extra_cxxflags
add_project_arguments(cc.get_supported_arguments(cflags),
language: 'c'
)
add_project_arguments(cx.get_supported_arguments(cxxflags),
language: 'cpp'
)
conf.set('HAVE_LKSTRFTIME', cc.has_function('strftime'))
configure_file(
output: 'config.h',
configuration: conf,
)
################################################################################
# Tests
python3 = find_program('python3', required: false)
git = find_program('git', required: false)
patch = find_program('patch', required: false)
uncrustify = find_program('uncrustify', required: false)
check_style_file = files('check-style.py')
check_style_prog = find_program(check_style_file)
if python3.found() and git.found() and patch.found() and uncrustify.found()
test('code formatting',
check_style_prog,
args: ['--all', '--dry-run'],
suite: 'formatting',
)
else
message('Code formatting test requires: python3, git, patch, uncrustify')
endif
################################################################################
# Subdirectories
rootInclude = include_directories('.')
subdir('data')
subdir('po')
subdir('scripts')
subdir('src')
subdir('help')
message('\n'.join(['',
'Configuration:',
'',
' Source code location: @0@'.format(meson.project_source_root()),
' C Compiler: @0@ @1@'.format(cc.get_id(), cc.version()),
' C++ Compiler: @0@ @1@'.format(cx.get_id(), cx.version()),
' CFLAGS: @0@'.format(cflags),
' CXXFLAGS: @0@'.format(cxxflags),
' systemd support: @0@'.format(libsystemd.found()),
]))
# Extra scripts
gnome.post_install(
glib_compile_schemas: true,
gtk_update_icon_cache: true,
)

10
meson_options.txt Normal file
View file

@ -0,0 +1,10 @@
option('wnck', type: 'boolean', value: false,
description: 'enable wnck support, this will likely make system-monitor segfault'
)
option('systemd', type: 'boolean', value: true,
description: 'systemd support'
)
option('development', type: 'boolean', value: false,
description: 'If this is a development build'
)

143
pixmaps/arrow_mask.svg Normal file
View file

@ -0,0 +1,143 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
sodipodi:docname="arrow_mask.svg"
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
sodipodi:version="0.32"
id="svg11300"
height="32"
width="32"
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
inkscape:export-xdpi="90.000000"
inkscape:export-ydpi="90.000000"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.0"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs3">
<linearGradient
id="linearGradient2304">
<stop
id="stop2306"
offset="0"
style="stop-color:#73d216" />
<stop
id="stop2308"
offset="1.0000000"
style="stop-color:#4e9a06" />
</linearGradient>
<linearGradient
id="linearGradient1442">
<stop
id="stop1444"
offset="0"
style="stop-color:#73d216" />
<stop
id="stop1446"
offset="1.0000000"
style="stop-color:#4e9a06" />
</linearGradient>
</defs>
<sodipodi:namedview
inkscape:window-y="0"
inkscape:window-x="0"
inkscape:window-height="866"
inkscape:window-width="1920"
inkscape:showpageshadow="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
showgrid="true"
inkscape:current-layer="layer1"
inkscape:cy="16.048764"
inkscape:cx="15.88159"
inkscape:zoom="17.945307"
inkscape:pageshadow="2"
inkscape:pageopacity="0.4"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffb3"
id="base"
fill="#4e9a06"
stroke="#4e9a06"
width="32px"
height="32px"
borderlayer="true"
showguides="true"
inkscape:guide-bbox="true"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:window-maximized="1">
<sodipodi:guide
orientation="vertical"
position="16.003801"
id="guide2646"
inkscape:locked="false" />
</sodipodi:namedview>
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>Jakub Steiner</dc:title>
</cc:Agent>
</dc:creator>
<dc:source>http://jimmac.musichall.cz</dc:source>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" />
<dc:title>Go Down</dc:title>
<dc:subject>
<rdf:Bag>
<rdf:li>go</rdf:li>
<rdf:li>lower</rdf:li>
<rdf:li>down</rdf:li>
<rdf:li>arrow</rdf:li>
<rdf:li>pointer</rdf:li>
<rdf:li>&gt;</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:contributor>
<cc:Agent>
<dc:title>Andreas Nilsson</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/2.0/">
<cc:permits
rdf:resource="http://web.resource.org/cc/Reproduction" />
<cc:permits
rdf:resource="http://web.resource.org/cc/Distribution" />
<cc:requires
rdf:resource="http://web.resource.org/cc/Notice" />
<cc:requires
rdf:resource="http://web.resource.org/cc/Attribution" />
<cc:permits
rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
<cc:requires
rdf:resource="http://web.resource.org/cc/ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
inkscape:label="Layer 1"
id="layer1">
<path
style="color:#000000;opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-miterlimit:10;stroke-opacity:1;-inkscape-stroke:none"
d="M 16,1.457 2.359375,17.5 H 8.5 v 10 h 15 v -10 h 6.140625 z"
id="path8658-3"
sodipodi:nodetypes="cccccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

148
pixmaps/arrow_overlay.svg Normal file
View file

@ -0,0 +1,148 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
sodipodi:docname="arrow_overlay.svg"
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
sodipodi:version="0.32"
id="svg11300"
height="32"
width="32"
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
inkscape:export-xdpi="90.000000"
inkscape:export-ydpi="90.000000"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.0"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs3">
<linearGradient
id="linearGradient2304">
<stop
id="stop2306"
offset="0"
style="stop-color:#73d216" />
<stop
id="stop2308"
offset="1.0000000"
style="stop-color:#4e9a06" />
</linearGradient>
<linearGradient
id="linearGradient1442">
<stop
id="stop1444"
offset="0"
style="stop-color:#73d216" />
<stop
id="stop1446"
offset="1.0000000"
style="stop-color:#4e9a06" />
</linearGradient>
</defs>
<sodipodi:namedview
inkscape:window-y="0"
inkscape:window-x="0"
inkscape:window-height="866"
inkscape:window-width="1920"
inkscape:showpageshadow="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
showgrid="true"
inkscape:current-layer="layer1"
inkscape:cy="17.0625"
inkscape:cx="6.4375"
inkscape:zoom="16"
inkscape:pageshadow="2"
inkscape:pageopacity="0.4"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffb3"
id="base"
fill="#4e9a06"
stroke="#4e9a06"
width="32px"
height="32px"
borderlayer="true"
showguides="true"
inkscape:guide-bbox="true"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:window-maximized="1">
<sodipodi:guide
orientation="vertical"
position="16.003801"
id="guide2646"
inkscape:locked="false" />
</sodipodi:namedview>
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>Jakub Steiner</dc:title>
</cc:Agent>
</dc:creator>
<dc:source>http://jimmac.musichall.cz</dc:source>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" />
<dc:title>Go Down</dc:title>
<dc:subject>
<rdf:Bag>
<rdf:li>go</rdf:li>
<rdf:li>lower</rdf:li>
<rdf:li>down</rdf:li>
<rdf:li>arrow</rdf:li>
<rdf:li>pointer</rdf:li>
<rdf:li>&gt;</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:contributor>
<cc:Agent>
<dc:title>Andreas Nilsson</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/2.0/">
<cc:permits
rdf:resource="http://web.resource.org/cc/Reproduction" />
<cc:permits
rdf:resource="http://web.resource.org/cc/Distribution" />
<cc:requires
rdf:resource="http://web.resource.org/cc/Notice" />
<cc:requires
rdf:resource="http://web.resource.org/cc/Attribution" />
<cc:permits
rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
<cc:requires
rdf:resource="http://web.resource.org/cc/ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
inkscape:label="Layer 1"
id="layer1">
<path
style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.5;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none"
d="m 22.5,26.5 h -13 v -9.999847 h -5 L 16,3 l 11.5,13.500153 -5,-3.07e-4 z"
id="path8658"
sodipodi:nodetypes="cccccccc" />
<path
style="color:#000000;opacity:0.5;fill:none;fill-rule:evenodd;stroke:#000000;stroke-miterlimit:10;stroke-opacity:1;-inkscape-stroke:none"
d="M 16,1.457 2.3339844,17.5 H 8.5 v 10 h 15 v -10 h 6.166016 z"
id="path8658-3"
sodipodi:nodetypes="cccccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

Some files were not shown because too many files have changed in this diff Show more