diff --git a/debian/changelog b/debian/changelog index 9b5f6279d99469ac58d523cee3743aa1f32217ae..b3125c2ab2db60bdc38ce6f2b77b1300ac8609ea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +gxde-hardware-viewer (2.5.7-1) UNRELEASED; urgency=medium + + [ zeqi ] + * 显示页新增显存大小和剩余显存 + * 去除菜单按钮的箭头 + * 优化显存大小和剩余大小显示功能 + + -- zeqi Sun, 9 Mar 2026 21:52:22 +0800 + gxde-hardware-viewer (2.5.6-1) UNRELEASED; urgency=medium [ zeqi ] diff --git a/gxde-hardware-viewer.py b/gxde-hardware-viewer.py index d903de5b5be12fc9a9deb7c8da09a1f96e1b07b8..4ca877282369579768e5eed2d45bfcb4197189f5 100644 --- a/gxde-hardware-viewer.py +++ b/gxde-hardware-viewer.py @@ -19,7 +19,7 @@ from PyQt6.QtWidgets import (QApplication, QMainWindow, QWidget, QVBoxLayout, from PyQt6.QtCore import Qt, QTimer, QTranslator, QCoreApplication, QLocale, QThread, pyqtSignal, QProcess from PyQt6.QtGui import QIcon, QFont, QPixmap -version = "2.5.6-1" +version = "2.5.7-1" class GXDETitleBar(QWidget): def __init__(self, parent=None): @@ -62,6 +62,10 @@ class GXDETitleBar(QWidget): background-color: transparent; font-size: {self.scaled(16)}px; }} + QPushButton::menu-indicator {{ + image: none; + width: 0px; + }} QPushButton:hover {{ background-color: grey; }} @@ -1111,6 +1115,9 @@ class HardwareManager(QMainWindow): display_layout.addRow(self.tr("Resolution:"), self.resolution_label) display_layout.addRow(self.tr("Color Depth:"), QLabel(self.get_color_depth())) display_layout.addRow(self.tr("Refresh Rate:"), QLabel(self.get_refresh_rate())) + total_vram, available_vram = self.get_vram_info() + display_layout.addRow(self.tr("VRAM:"), QLabel(self.format_size(total_vram))) + display_layout.addRow(self.tr("Remaining VRAM:"), QLabel(self.format_size(available_vram))) self.display_info.setLayout(display_layout) layout.addWidget(self.create_group_box(self.tr("Display Devices"), self.display_info)) @@ -1534,7 +1541,65 @@ class HardwareManager(QMainWindow): return "60 Hz" except: return "60 Hz" - + + def get_vram_info(self): + total = available = 0 + try: + # 先nvidia + result = subprocess.run(['nvidia-smi', '--query-gpu=memory.total,memory.used', '--format=csv,noheader,nounits'], + capture_output=True, text=True) + if result.returncode == 0: + parts = result.stdout.strip().split(',') + if len(parts) >= 2: + total = int(parts[0]) * 1024 * 1024 + used = int(parts[1]) * 1024 * 1024 + available = total - used + return total, available + except: + pass + + try: + # 再尝试AMD + with open('/sys/class/drm/card0/device/mem_info_vram_total', 'r') as f: + total = int(f.read().strip()) + with open('/sys/class/drm/card0/device/mem_info_vram_used', 'r') as f: + used = int(f.read().strip()) + available = total - used + return total, available + except: + pass + + # 最后glxinfo + try: + out = subprocess.run(['glxinfo'], capture_output=True, text=True).stdout + for line in out.splitlines(): + low = line.lower() + if 'video memory:' in low: + parts = line.split(':', 1)[1].strip().split() + if parts: + total = self._convert_to_bytes(float(parts[0]), parts[1] if len(parts) > 1 else 'B') + elif 'dedicated video memory' in low: + parts = line.split(':', 1)[1].strip().split() + if parts: + available = self._convert_to_bytes(float(parts[0]), parts[1] if len(parts) > 1 else 'B') + except: + pass + + return total, available + + def _convert_to_bytes(self, value, unit): + unit = unit.upper() + if unit == 'KB': + return int(value * 1024) + elif unit == 'MB': + return int(value * 1024 * 1024) + elif unit == 'GB': + return int(value * 1024 * 1024 * 1024) + elif unit == 'TB': + return int(value * 1024 * 1024 * 1024 * 1024) + else: + return int(value) + def format_size(self, size): """格式化字节大小为人类可读的形式""" if size <= 0: @@ -1808,7 +1873,7 @@ class HardwareManager(QMainWindow): return drivers except Exception as e: return {self.tr('Error'): self.tr('Unable to get display driver information: {}').format(str(e))} - + def get_sound_devices_info(self): """获取声音设备信息""" devices = {'output': [], 'input': []} diff --git a/translations/gxde-hardware-viewer_en_US.ts b/translations/gxde-hardware-viewer_en_US.ts index 70e5ef138098e97d604b147e70e3b38040c01244..70726c35d845b99b9d1bae917d7a5e7862ae0822 100644 --- a/translations/gxde-hardware-viewer_en_US.ts +++ b/translations/gxde-hardware-viewer_en_US.ts @@ -4,33 +4,33 @@ AboutDialog - + About GXDE Hardware Viewer - + GXDE Hardware Viewer - + Version: - - + + Acknowledgments - + Thanks to all the open source software we've used and to you who are using it now - + GXDE Hardware Manager is a lightweight hardware information viewer specifically designed for the GXDE desktop environment @@ -40,706 +40,716 @@ HardwareManager - + GXDE Hardware Manager - - - + + + System - - + + CPU - - + + Memory - - + + Storage - - + + Network - - + + Display - - + + Sound - - + + Input Devices - + Driver Update - - + + Export all information to desktop - - + + About - + Copy - + System Information - + Host Name - + Kernel - - + + Architecture - + Boot Time - + CPU Info - + Processor Model - + Physical Cores - + Logical Cores - + Current Frequency - + Maximum Frequency - + Minimum Frequency - - - + + + Memory Information - + Total Memory - + Used - + Free - + Available - + Cache - + Memory Usage - + Total Swap - + Used Swap - + Free Swap - + Swap Usage - - + + Device - - + + Mount Point - - + + File System - - + + Total Capacity - - + + Available Space - + Disk Information - - - - + + + + Empty - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + Unknown - - + + Connected - - + + Disconnected - - - + + + Interface Name - - + + IP Address - - + + MAC Address - - - + + + Status - + Network Information - + Display Information - + Graphics Card - + Resolution - + Color Depth - + Refresh Rate - + Hardware Information - + Export Successful - + Hardware information has been successfully exported to: {} - + Export Failed - + An error occurred while exporting hardware information: {} - + Unable to get system version - - + + Failed to retrieve: {} - + Unknown system version - + Operating System: - + Hostname: - + Kernel Version: - + System Architecture: - + Boot Time: - + System Overview - + Processor: - + {} ({} cores {} threads) - - + + Total Memory: - + Total Disk Capacity: - + Hardware Overview - + Loaded Kernel Modules - + Processor Model: - + Architecture: - + Physical Cores: - + Logical Cores: - + Current Frequency: - + Maximum Frequency: - + Minimum Frequency: - + Basic Information - + CPU Driver Information - - + + Used: - - + + Free: - + Available: - + Cache: - + Memory Hardware & Drivers - + Total Swap: - + Swap Information - - + + No Permission - + Disk Partitions - + Device Name - + Model - - + + Driver Module - + Storage Devices & Drivers - + Read Count: - + Write Count: - + Read Bytes: - + Write Bytes: - + Disk I/O Statistics - + Network Interfaces - + Device Model - + Network Devices & Drivers - + Bytes Received: - + Bytes Sent: - + Packets Received: - + Packets Sent: - + Receive Errors: - + Transmit Errors: - + Network Traffic Statistics - + Graphics Card: - + Resolution: - + Color Depth: - + Refresh Rate: - + + VRAM: + + + + + Remaining VRAM: + + + + Display Devices - + Display Driver Information - + Audio Output Devices: - - - - - + + + + + - {} (Driver: {}) - + Audio Input Devices: - + Audio Devices & Drivers - + Audio Driver Details - + Keyboard: - + Mouse: - + Other Input Devices: - + Input Devices & Drivers - + ⚠️ Warning: This feature will update drivers and the kernel. Please make sure you know what you are doing! In theory, we probably shouldn't encounter any strange problems (and even if we do, it shouldn't be a disaster). It is recommended to back up the system and data first. @@ -747,289 +757,289 @@ It is recommended to back up the system and data first. - + Please select the driver you want to update: - + Please click the 'Check for Updates' button to get available driver updates. - - + + Update + - - + Check for updates - + Checking... - - + + Error - + All drivers and the kernel are up to date~ - + Information - + Please select the driver or kernel to update first - + Updating... - + Unknown CPU Model - + Command does not exist, please check if the path is correct - + Error getting CPU model: {} - + Unknown graphics card (no VGA device detected) - + Unknown graphics card (please ensure lspci command is available) - + Failed to get resolution: {} - + Unknown resolution - + {} bits - - + + 32 bits - + {} days {} hours {} minutes - + (only showing the first 10) - + Unable to get kernel module information - + Vendor - - + + Microcode Version - - + + Scheduler - - + + Related Driver Modules - - + + Driver Information - - - + + + Unable to retrieve - - + + Memory Controller - - + + Memory Type - - + + Memory Speed - - + + Requires root privileges to view - + Failed to get memory hardware information: {} - + Failed to get storage device information: {} - + Failed to get network device information: {} - + OpenGL Vendor - + OpenGL Renderer - + Graphics Card {} Driver - + Graphics Card {} Driver Version - + No display driver information detected - + Unable to get display driver information: {} - + Failed to get audio device information: {} - + Built-in Speakers - + HDMI Audio Output - + Built-in Microphone - + Headphone Microphone - - - + + + Audio Service - + Kernel Audio Modules - + Failed to get audio driver information: {} - + Failed to get input device information: {} - + Generic USB Keyboard - + Generic USB Mouse - + Touchpad - + Webcam @@ -1037,23 +1047,23 @@ It is recommended to back up the system and data first. UpdateProgressDialog - + Update Progress - + Close - + ✅ Update successful! - + ❌ Update failed. Please check the output. If the problem cannot be resolved,please paste the error onto the forum or QQ group. forum:https://bbs.spark-app.store/ QQ group:712629637 @@ -1064,12 +1074,12 @@ QQ group:712629637 UpdateSourceProgressDialog - + Updating software sources - + Failed to update the software source. The operation was canceled or you do not have sufficient permissions. diff --git a/translations/gxde-hardware-viewer_zh_CN.ts b/translations/gxde-hardware-viewer_zh_CN.ts index 72bfb0c4d1d6fb6c778e1a62a2a65915266bb61f..5eb31317f2ad3f2a6c8e683e46e049a92ca016f2 100644 --- a/translations/gxde-hardware-viewer_zh_CN.ts +++ b/translations/gxde-hardware-viewer_zh_CN.ts @@ -1,1136 +1,1146 @@ - + AboutDialog - - About GXDE Hardware Viewer - 关于 GXDE 硬件查看器 + + About GXDE Hardware Viewer + 关于 GXDE 硬件查看器 - - GXDE Hardware Viewer - GXDE 硬件查看器 + + GXDE Hardware Viewer + GXDE 硬件查看器 - - Version: - 版本: + + Version: + 版本: - - - Acknowledgments - 鸣谢 + + + Acknowledgments + 鸣谢 - - Thanks to all the open source software we've used and to you who are using it now - 感谢所有使用过的开源软件和正在使用的你 + + Thanks to all the open source software we've used and to you who are using it now + 感谢所有使用过的开源软件和正在使用的你 - - + + GXDE Hardware Manager is a lightweight hardware information viewer specifically designed for the GXDE desktop environment - + GXDE 硬件管理器是一款专为 GXDE 桌面环境打造的轻量型硬件信息查看工具 - - + + HardwareManager - - GXDE Hardware Manager - GXDE 硬件管理器 + + GXDE Hardware Manager + GXDE 硬件管理器 - - - - System - 系统信息 + + + + System + 系统信息 - - - CPU - 处理器 + + + CPU + 处理器 - - - Memory - 内存 + + + Memory + 内存 - - - Storage - 存储 + + + Storage + 存储 - - - Network - 网络 + + + Network + 网络 - - - Display - 显示 + + + Display + 显示 - - - Sound - 声音 + + + Sound + 声音 - - - Input Devices - 输入设备 + + + Input Devices + 输入设备 - - Driver Update - 驱动升级 + + Driver Update + 驱动升级 - - - Export all information to desktop - 导出所有信息到桌面 + + + Export all information to desktop + 导出所有信息到桌面 - - - About - 关于 + + + About + 关于 - - Copy - 复制 + + Copy + 复制 - - System Information - 系统信息 + + System Information + 系统信息 - - Host Name - 主机名 + + Host Name + 主机名 - - Kernel - 内核版本 + + Kernel + 内核版本 - - - Architecture - 架构 + + + Architecture + 架构 - - Boot Time - 启动时间 + + Boot Time + 启动时间 - - CPU Info - CPU信息 + + CPU Info + CPU信息 - - Processor Model - 处理器型号 + + Processor Model + 处理器型号 - - Physical Cores - 物理核心 + + Physical Cores + 物理核心 - - Logical Cores - 逻辑核心 + + Logical Cores + 逻辑核心 - - Current Frequency - 当前频率 + + Current Frequency + 当前频率 - - Maximum Frequency - 最大频率 + + Maximum Frequency + 最大频率 - - Minimum Frequency - 最小频率 + + Minimum Frequency + 最小频率 - - - - Memory Information - 内存信息 + + + + Memory Information + 内存信息 - - Total Memory - 总内存 + + Total Memory + 总内存 - - Used - 已使用 + + Used + 已使用 - - Free - 空闲 + + Free + 空闲 - - Available - 可用 + + Available + 可用 - - Cache - 缓存 + + Cache + 缓存 - - Memory Usage - 内存使用率 + + Memory Usage + 内存使用率 - - Total Swap - 交换分区总容量 + + Total Swap + 交换分区总容量 - - Used Swap - 交换分区已使用 + + Used Swap + 交换分区已使用 - - Free Swap - 交换分区空闲 + + Free Swap + 交换分区空闲 - - Swap Usage - 交换分区使用率 + + Swap Usage + 交换分区使用率 - - - Device - 设备 + + + Device + 设备 - - - Mount Point - 挂载点 + + + Mount Point + 挂载点 - - - File System - 文件系统 + + + File System + 文件系统 - - - Total Capacity - 总容量 + + + Total Capacity + 总容量 - - - Available Space - 可用空间 + + + Available Space + 可用空间 - - Disk Information - 磁盘信息 + + Disk Information + 磁盘信息 - - - - - Empty - + + + + + Empty + - - - - - - - - - - - - - - - - - - - Unknown - 未知 + + + + + + + + + + + + + + + + + + + Unknown + 未知 - - - Connected - 已连接 + + + Connected + 已连接 - - - Disconnected - 未连接 + + + Disconnected + 未连接 - - - - Interface Name - 接口名称 + + + + Interface Name + 接口名称 - - - IP Address - IP地址 + + + IP Address + IP地址 - - - MAC Address - MAC地址 + + + MAC Address + MAC地址 - - - - Status - 状态 + + + + Status + 状态 - - Network Information - 网络信息 + + Network Information + 网络信息 - - Display Information - 显示信息 + + Display Information + 显示信息 - - Graphics Card - 显卡 + + Graphics Card + 显卡 - - Resolution - 分辨率 + + Resolution + 分辨率 - - Color Depth - 色深 + + Color Depth + 色深 - - Refresh Rate - 刷新率 + + Refresh Rate + 刷新率 - - Hardware Information - 硬件信息 + + Hardware Information + 硬件信息 - - Export Successful - 导出成功 + + Export Successful + 导出成功 - - Hardware information has been successfully exported to: + + Hardware information has been successfully exported to: {} - 硬件信息已成功导出到: + 硬件信息已成功导出到: {} - - Export Failed - 导出失败 + + Export Failed + 导出失败 - - An error occurred while exporting hardware information: + + An error occurred while exporting hardware information: {} - 导出硬件信息时发生错误: + 导出硬件信息时发生错误: {} - - Unable to get system version - 无法获取系统版本 + + Unable to get system version + 无法获取系统版本 - - - Failed to retrieve: {} - 获取失败: {} + + + Failed to retrieve: {} + 获取失败: {} - - Unknown system version - 未知系统版本 + + Unknown system version + 未知系统版本 - - Operating System: - 操作系统: + + Operating System: + 操作系统: - - Hostname: - 主机名: + + Hostname: + 主机名: - - Kernel Version: - 内核版本: + + Kernel Version: + 内核版本: - - System Architecture: - 系统架构: + + System Architecture: + 系统架构: - - Boot Time: - 启动时间: + + Boot Time: + 启动时间: - - System Overview - 系统概览 + + System Overview + 系统概览 - - Processor: - 处理器: + + Processor: + 处理器: - - {} ({} cores {} threads) - {} ({} 核 {} 线程) + + {} ({} cores {} threads) + {} ({} 核 {} 线程) - - - Total Memory: - 内存总容量: + + + Total Memory: + 内存总容量: - - Total Disk Capacity: - 磁盘总容量: + + Total Disk Capacity: + 磁盘总容量: - - Hardware Overview - 硬件概览 + + Hardware Overview + 硬件概览 - - Loaded Kernel Modules - 已加载驱动模块 + + Loaded Kernel Modules + 已加载驱动模块 - - Processor Model: - 处理器型号: + + Processor Model: + 处理器型号: - - Architecture: - 架构: + + Architecture: + 架构: - - Physical Cores: - 物理核心: + + Physical Cores: + 物理核心: - - Logical Cores: - 逻辑核心: + + Logical Cores: + 逻辑核心: - - Current Frequency: - 当前频率: + + Current Frequency: + 当前频率: - - Maximum Frequency: - 最大频率: + + Maximum Frequency: + 最大频率: - - Minimum Frequency: - 最小频率: + + Minimum Frequency: + 最小频率: - - Basic Information - 基本信息 + + Basic Information + 基本信息 - - CPU Driver Information - CPU驱动信息 + + CPU Driver Information + CPU驱动信息 - - - Used: - 已使用: + + + Used: + 已使用: - - - Free: - 空闲: + + + Free: + 空闲: - - Available: - 可用: + + Available: + 可用: - - Cache: - 缓存: + + Cache: + 缓存: - - Memory Hardware & Drivers - 内存硬件与驱动 + + Memory Hardware & Drivers + 内存硬件与驱动 - - Total Swap: - 总交换分区: + + Total Swap: + 总交换分区: - - Swap Information - 交换分区信息 + + Swap Information + 交换分区信息 - - - No Permission - 无权限 + + + No Permission + 无权限 - - Disk Partitions - 磁盘分区 + + Disk Partitions + 磁盘分区 - - Device Name - 设备信息 + + Device Name + 设备信息 - - Model - 型号 + + Model + 型号 - - - Driver Module - 驱动模块 + + + Driver Module + 驱动模块 - - Storage Devices & Drivers - 存储设备与驱动 + + Storage Devices & Drivers + 存储设备与驱动 - - Read Count: - 读取次数: + + Read Count: + 读取次数: - - Write Count: - 写入次数: + + Write Count: + 写入次数: - - Read Bytes: - 读取字节: + + Read Bytes: + 读取字节: - - Write Bytes: - 写入字节: + + Write Bytes: + 写入字节: - - Disk I/O Statistics - 磁盘IO统计 + + Disk I/O Statistics + 磁盘IO统计 - - Network Interfaces - 网络接口 + + Network Interfaces + 网络接口 - - Device Model - 设备型号 + + Device Model + 设备型号 - - Network Devices & Drivers - 网络设备与驱动 + + Network Devices & Drivers + 网络设备与驱动 - - Bytes Received: - 接收字节: + + Bytes Received: + 接收字节: - - Bytes Sent: - 发送字节: + + Bytes Sent: + 发送字节: - - Packets Received: - 接收包数: + + Packets Received: + 接收包数: - - Packets Sent: - 发送包数: + + Packets Sent: + 发送包数: - - Receive Errors: - 接收错误: + + Receive Errors: + 接收错误: - - Transmit Errors: - 发送错误: + + Transmit Errors: + 发送错误: - - Network Traffic Statistics - 网络流量统计 + + Network Traffic Statistics + 网络流量统计 - - Graphics Card: - 显卡: + + Graphics Card: + 显卡: - - Resolution: - 分辨率: + + Resolution: + 分辨率: - - Color Depth: - 色深: + + Color Depth: + 色深: - - Refresh Rate: - 刷新率: + + Refresh Rate: + 刷新率: - - Display Devices - 显示设备 + + VRAM: + 显存: - - Display Driver Information - 显示设备驱动信息 + + Remaining VRAM: + 剩余显存: - - Audio Output Devices: - 音频输出设备: + + Display Devices + 显示设备 - - - - - - - {} (Driver: {}) - - {} (驱动: {}) + + Display Driver Information + 显示设备驱动信息 - - Audio Input Devices: - 音频输入设备: + + Audio Output Devices: + 音频输出设备: - - Audio Devices & Drivers - 声音设备与驱动 + + + + + + - {} (Driver: {}) + - {} (驱动: {}) - - Audio Driver Details - 音频驱动详情 + + Audio Input Devices: + 音频输入设备: - - Keyboard: - 键盘: + + Audio Devices & Drivers + 声音设备与驱动 - - Mouse: - 鼠标: + + Audio Driver Details + 音频驱动详情 - - Other Input Devices: - 其它输入设备: + + Keyboard: + 键盘: - - Input Devices & Drivers - 输入设备与驱动 + + Mouse: + 鼠标: - - ⚠️ Warning: This feature will update drivers and the kernel. Please make sure you know what you are doing! -In theory, we probably shouldn't encounter any strange problems (and even if we do, it shouldn't be a disaster). + + Other Input Devices: + 其它输入设备: + + + + Input Devices & Drivers + 输入设备与驱动 + + + + ⚠️ Warning: This feature will update drivers and the kernel. Please make sure you know what you are doing! +In theory, we probably shouldn't encounter any strange problems (and even if we do, it shouldn't be a disaster). It is recommended to back up the system and data first. - ⚠️ 警告:此功能将更新驱动程序和内核。请确保您知道自己在做什么! + ⚠️ 警告:此功能将更新驱动程序和内核。请确保您知道自己在做什么! 按道理应该不会遇到奇奇怪怪的问题(就算遇到了也应该不会翻车)。 建议先备份系统和数据。 - - Please select the driver you want to update: - 请选择您要更新的驱动程序: + + Please select the driver you want to update: + 请选择您要更新的驱动程序: - - Please click the 'Check for Updates' button to get available driver updates. - 请点击“检查更新”按钮以获取可用的驱动程序更新。 + + Please click the 'Check for Updates' button to get available driver updates. + 请点击“检查更新”按钮以获取可用的驱动程序更新。 - - - Update - 更新 + + + Update + 更新 - - - - Check for updates - 检查更新 + + + + Check for updates + 检查更新 - - Checking... - 检查中... + + Checking... + 检查中... - - - Error - 错误 + + + Error + 错误 - - All drivers and the kernel are up to date~ - 所有驱动程序和内核都是最新的~ + + All drivers and the kernel are up to date~ + 所有驱动程序和内核都是最新的~ - - Information - 提示 + + Information + 提示 - - Please select the driver or kernel to update first - 请先选择要更新的驱动程序或内核 + + Please select the driver or kernel to update first + 请先选择要更新的驱动程序或内核 - - Updating... - 正在更新... + + Updating... + 正在更新... - - Unknown CPU Model - 未知CPU型号 + + Unknown CPU Model + 未知CPU型号 - - Command does not exist, please check if the path is correct - 命令不存在,请检查路径是否正确 + + Command does not exist, please check if the path is correct + 命令不存在,请检查路径是否正确 - - Error getting CPU model: {} - 获取CPU型号出错: {} + + Error getting CPU model: {} + 获取CPU型号出错: {} - - Unknown graphics card (no VGA device detected) - 未知显卡(未检测到VGA设备) + + Unknown graphics card (no VGA device detected) + 未知显卡(未检测到VGA设备) - - Unknown graphics card (please ensure lspci command is available) - 未知显卡(请确保lspci命令可用) + + Unknown graphics card (please ensure lspci command is available) + 未知显卡(请确保lspci命令可用) - - Failed to get resolution: {} - 获取分辨率失败: {} + + Failed to get resolution: {} + 获取分辨率失败: {} - - Unknown resolution - 未知分辨率 + + Unknown resolution + 未知分辨率 - - {} bits - {} 位 + + {} bits + {} 位 - - - 32 bits - 32位 + + + 32 bits + 32位 - - {} days {} hours {} minutes - {}天 {}时 {}分 + + {} days {} hours {} minutes + {}天 {}时 {}分 - - (only showing the first 10) - (仅显示前10个) + + (only showing the first 10) + (仅显示前10个) - - Unable to get kernel module information - 无法获取内核模块信息 + + Unable to get kernel module information + 无法获取内核模块信息 - - Vendor - 厂商 + + Vendor + 厂商 - - - Microcode Version - 微码版本 + + + Microcode Version + 微码版本 - - - Scheduler - 调度器 + + + Scheduler + 调度器 - - - Related Driver Modules - 相关驱动模块 + + + Related Driver Modules + 相关驱动模块 - - - Driver Information - 驱动信息 + + + Driver Information + 驱动信息 - - - - Unable to retrieve - 无法获取 + + + + Unable to retrieve + 无法获取 - - - Memory Controller - 内存控制器 + + + Memory Controller + 内存控制器 - - - Memory Type - 内存类型 + + + Memory Type + 内存类型 - - - Memory Speed - 内存速度 + + + Memory Speed + 内存速度 - - - Requires root privileges to view - 需要root权限查看 + + + Requires root privileges to view + 需要root权限查看 - - Failed to get memory hardware information: {} - 获取内存硬件信息失败: {} + + Failed to get memory hardware information: {} + 获取内存硬件信息失败: {} - - Failed to get storage device information: {} - 获取存储设备信息失败: {} + + Failed to get storage device information: {} + 获取存储设备信息失败: {} - - Failed to get network device information: {} - 获取网络设备信息失败: {} + + Failed to get network device information: {} + 获取网络设备信息失败: {} - - OpenGL Vendor - OpenGL供应商 + + OpenGL Vendor + OpenGL供应商 - - OpenGL Renderer - OpenGL渲染器 + + OpenGL Renderer + OpenGL渲染器 - - Graphics Card {} Driver - 显卡 {} 驱动 + + Graphics Card {} Driver + 显卡 {} 驱动 - - Graphics Card {} Driver Version - 显卡 {} 驱动版本 + + Graphics Card {} Driver Version + 显卡 {} 驱动版本 - - No display driver information detected - 未检测到显示驱动信息 + + No display driver information detected + 未检测到显示驱动信息 - - Unable to get display driver information: {} - 无法获取显示驱动信息: {} + + Unable to get display driver information: {} + 无法获取显示驱动信息: {} - - Failed to get audio device information: {} - 获取声音设备信息失败: {} + + Failed to get audio device information: {} + 获取声音设备信息失败: {} - - Built-in Speakers - 内置扬声器 + + Built-in Speakers + 内置扬声器 - - HDMI Audio Output - HDMI 音频输出 + + HDMI Audio Output + HDMI 音频输出 - - Built-in Microphone - 内置麦克风 + + Built-in Microphone + 内置麦克风 - - Headphone Microphone - 耳机麦克风 + + Headphone Microphone + 耳机麦克风 - - - - Audio Service - 音频服务 + + + + Audio Service + 音频服务 - - Kernel Audio Modules - 内核音频模块 + + Kernel Audio Modules + 内核音频模块 - - Failed to get audio driver information: {} - 获取音频驱动信息失败: {} + + Failed to get audio driver information: {} + 获取音频驱动信息失败: {} - - Failed to get input device information: {} - 获取输入设备信息失败: {} + + Failed to get input device information: {} + 获取输入设备信息失败: {} - - Generic USB Keyboard - 通用USB键盘 + + Generic USB Keyboard + 通用USB键盘 - - Generic USB Mouse - 通用USB鼠标 + + Generic USB Mouse + 通用USB鼠标 - - Touchpad - 触摸板 + + Touchpad + 触摸板 - - Webcam - 摄像头 + + Webcam + 摄像头 - Please select the driver you want to update (if it is blank, it means all drivers are up to date): - 请选择您要更新的驱动程序(如果为空,则表示所有驱动程序都是最新的): + Please select the driver you want to update (if it is blank, it means all drivers are up to date): + 请选择您要更新的驱动程序(如果为空,则表示所有驱动程序都是最新的): - GXDE硬件管理器 - GXDE硬件管理器 + GXDE硬件管理器 + GXDE硬件管理器 - Total Usage: {}% - 总体使用率: {}% + Total Usage: {}% + 总体使用率: {}% - Core Usage: - 各核心使用率: + Core Usage: + 各核心使用率: - Core {}: {}% - 核心 {}: {}% + Core {}: {}% + 核心 {}: {}% - CPU Usage - CPU使用率 + CPU Usage + CPU使用率 - Memory Usage: {:.1f}% ({} / {}) - 内存使用率: {:.1f}% ({} / {}) + Memory Usage: {:.1f}% ({} / {}) + 内存使用率: {:.1f}% ({} / {}) - Swap Usage: {:.1f}% ({} / {}) - 交换分区使用率: {:.1f}% ({} / {}) + Swap Usage: {:.1f}% ({} / {}) + 交换分区使用率: {:.1f}% ({} / {}) - Failed to get graphics card information: {} - 获取显卡信息失败: {} + Failed to get graphics card information: {} + 获取显卡信息失败: {} - Failed to get kernel modules: {} - 获取内核模块失败: {} + Failed to get kernel modules: {} + 获取内核模块失败: {} - Failed to get CPU driver information: {} - 获取CPU驱动信息失败: {} + Failed to get CPU driver information: {} + 获取CPU驱动信息失败: {} - Language - 语言 + Language + 语言 - - + + UpdateProgressDialog - - Update Progress - 更新进度 + + Update Progress + 更新进度 - - Close - 关闭 + + Close + 关闭 - - + + ✅ Update successful! - + ✅ 升级成功! - - ❌ Update failed. Please check the output. If the problem cannot be resolved,please paste the error onto the forum or QQ group. + + ❌ Update failed. Please check the output. If the problem cannot be resolved,please paste the error onto the forum or QQ group. forum:https://bbs.spark-app.store/ QQ group:712629637 - ❌ 更新失败。请检查输出。如果问题无法解决,请将错误粘贴到论坛或QQ群。 + ❌ 更新失败。请检查输出。如果问题无法解决,请将错误粘贴到论坛或QQ群。 论坛:https://bbs.spark-app.store/ QQ群:712629637 - - + + UpdateSourceProgressDialog - - Updating software sources - 更新软件源 + + Updating software sources + 更新软件源 - - Failed to update the software source. The operation was canceled or you do not have sufficient permissions. - 更新软件源失败。操作已取消或您没有足够的权限。 + + Failed to update the software source. The operation was canceled or you do not have sufficient permissions. + 更新软件源失败。操作已取消或您没有足够的权限。 - +