「設定 - ストレージのフォーマットとパーティション」の版間の差分

📢 Webサイト閉鎖と移転のお知らせ
このWebサイトは2026年9月に閉鎖いたします。
新しい記事は移転先で追加しております。(旧サイトでは記事を追加しておりません)

56行目: 56行目:
*: <br>
*: <br>
*: GPartedをビルドおよびインストールする。
*: GPartedをビルドおよびインストールする。
*: <code>../configure --prefix=$HOME/InstallSoftware/Parted \</code>
*: <code>../configure --prefix=<GPartedのインストールディレクトリ> \</code>
*: <code>--enable-libparted-dmraid \ # libparted /dev/mapper dmraidをサポートする場合</code>
*: <code>--enable-libparted-dmraid \ # libparted /dev/mapper dmraidをサポートする場合</code>
*: <code>--enable-xhost-root  # Waylandで表示する場合</code>
*: <code>--enable-xhost-root  # Waylandで表示する場合</code>
67行目: 67行目:
<br>
<br>
  # ~/.local/share/applications/GParted.desktopファイル
  # ~/.local/share/applications/GParted.desktopファイル
   
  <syntaxhighlight lang="ini">
  [Desktop Entry]
  [Desktop Entry]
  Type=Application
  Type=Application
74行目: 74行目:
  X-GNOME-FullName=GParted Partition Editor
  X-GNOME-FullName=GParted Partition Editor
  Comment=Create, reorganize, and delete partitions
  Comment=Create, reorganize, and delete partitions
  Exec=/home/suse/InstallSoftware/Parted/bin/gparted %f
  Exec=/<GPartedのインストールディレクトリ>/bin/gparted %f
  Icon=gparted
  Icon=gparted
  Categories=GNOME;System;Filesystem;
  Categories=GNOME;System;Filesystem;
80行目: 80行目:
  Terminal=false
  Terminal=false
  StartupNotify=true
  StartupNotify=true
</syntaxhighlight>
<br>
<br>
GPartedのPolKitポリシーファイルを作成する。<br>
GPartedのPolKitポリシーファイルを作成する。<br>
103行目: 104行目:
       <allow_active>auth_admin</allow_active>
       <allow_active>auth_admin</allow_active>
     </defaults>
     </defaults>
     <annotate key="org.freedesktop.policykit.exec.path">/GPartedのインストールディレクトリ/bin/gparted</annotate>
     <annotate key="org.freedesktop.policykit.exec.path">/<GPartedのインストールディレクトリ>/bin/gparted</annotate>
     <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
     <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
   </action>
   </action>