Title: ~/steamvr is created in $HOME instead of following XDG Base Directory specification

Đang mở
#1,056 0 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
44/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, shell
Lĩnh vực
desktop

Hướng nghiên cứu

The issue does not name relevant source files or tests. Start by locating where SteamVR creates ~/steamvr and trace which files it stores there; compare those uses with the XDG config and data directory expectations in the report. Done means the directory is no longer created directly in the home folder and configuration and data files use the stated XDG locations, or the folder is hidden.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

SteamVR on Linux creates a steamvr directory directly in the user's home directory ($HOME/steamvr). This clutters the home folder and does not follow the XDG Base Directory specification.

Expected behavior:

  • Configuration files should go to $XDG_CONFIG_HOME/steamvr (default ~/.config/steamvr)
  • Data/cache files should go to $XDG_DATA_HOME/steamvr (default ~/.local/share/steamvr)
  • Or at least the folder should be hidden (.steamvr) like .steam already is.

Steps to reproduce:

  1. Install and run SteamVR on Linux.
  2. Observe that ~/steamvr appears in the home directory.
Image

System:

  • Distro: Kubuntu 26.10
  • Kernel: 7.3.0-10-generic
  • Desktop: KDE Plasma 6.7.5 (Wayland)
  • SteamVR version: all
Ngôn ngữ chính
Shell
Star
1.1k
Fork
56
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ValveSoftware/SteamVR-for-Linux

Tất cả issue của ValveSoftware/SteamVR-for-Linux

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.