/usr/share/cairo-dock/plug-ins/System-monitor/nvidia-config is in cairo-dock-plug-ins-data 3.4.1-0ubuntu7.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/bin/bash
# nVidia parameters script for Cairo-Dock
#
# Copyright : (C) 2009 by Rémy Robertson
# E-mail : fabounet@glx-dock.org
#
#
# 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.
# http://www.gnu.org/licenses/licenses.html#GPL
nvidia-settings -v | grep version | head -n 1
nvidia-settings -q Gpus | cut -d '(' -f 2 -s
nvidia-settings -q VideoRam -t
nvidia-settings -q NvidiaDriverVersion -t
|