Difference between revisions of "KDE/fa"

Updating to match new version of source page
(Updating to match new version of source page)
Tags: Mobile web edit Mobile edit
(Updating to match new version of source page)
Tags: Mobile web edit Mobile edit
 
Line 12: Line 12:


=شکل و ظاهر=
=شکل و ظاهر=
====تنظیمات میزکار====
<div lang="en" dir="ltr" class="mw-content-ltr">
To reach desktop settings right click on the desktop and select ''Configure Desktop''.  If that option isn't available (it is configurable), you can use the keyboard shortcut {{ic|Alt+D,Alt+S}}
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Layout'''<br />
Under the ''Wallpaper'' tab there is a 'Layout' option. {{ic|Desktop Settings -> Wallpaper -> Layout}}<br /> 
"Folder View" will allow you to place and interact with items on the desktop.<br />
If you do not use desktop icons (or if you need encouragement for better organization) you can use "Desktop".<br />
"Desktop" layout will not allow items on the desktop and results in almost 20 MiB of memory savings in plasmashell.
</div>




Line 37: Line 52:
</div>
</div>


====تنظیمات میزکار====


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
To reach desktop settings right click on the desktop and select ''Configure Desktop''. If that option isn't available(it is configurable), you can use the keyboard shortcut {{ic|Alt+D,Alt+S}}
====KCMs====
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
Settings in Plasma are provided by KDE Configuration Modules (KCM). These are the various modules or sections of ''System Settings'', but it should be noted that some KCMs are hidden from ''System Settings''. All modules can be managed and launched via the utility ''kcmshell6''.
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
To list available KCMs:
{{UserCmd|command=kcmshell6 --list}}
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
To run a particular module (replacing ''kcm_kded'' with the desired module):
{{UserCmd|command=kcmshell6 kcm_kded}}
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
====Single Click vs Double Click====
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
In order to select between single and double click for opening files and folders you can use System Settings.<br />
{{ic|System Settings -> Workspace -> General Behavior -> "Clicking files or folders"}}
</div>
 
 
<div lang="en" dir="ltr" class="mw-content-ltr">
====Power====
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
=====Block Power Management=====
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
The Plasma Power widget can be used to manually inhibit Screen Locking and Sleep but the ''kde-inhibit'' command can be used to manually block specific features. The following example will use all of them to inhibit each feature for as long as trailing command is running (in this case ''spotify'').
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
{{UserCmd|command=kde-inhibit --power --screenSaver --nightLight --notifications spotify}}
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
=====Disable Hibernate=====
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
Hibernation can be disabled and it's menu entries hidden with the drop-in file ''/etc/polkit-1/rules.d/99-disable-hibernate.rules''.
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
{{File|file=/etc/polkit-1/rules.d/99-disable-hibernate.rules|content=
<pre>
// Disable hibernate for all users
polkit.addRule(function(action, subject) {
  if ((action.id == "org.freedesktop.login1.hibernate")) {
      return polkit.Result.NO;
  }
});
polkit.addRule(function(action, subject) {
  if ((action.id == "org.freedesktop.login1.hibernate-multiple-sessions")) {
      return polkit.Result.NO;
  }
});
</pre>
}}
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
=====Disable Suspend=====
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
'''Layout'''<br />
Suspend can be disabled and it's menu entries hidden with the drop-in file ''/etc/polkit-1/rules.d/99-disable-suspend.rules''.
Under the ''Wallpaper'' tab there is a 'Layout' option. {{ic|Desktop Settings -> Wallpaper -> Layout}}<br /
</div>
"Folder View" will allow you to place and interact with items on the desktop.<br />
 
If you do not use desktop icons (or if you need encouragement for better organization) you can use "Desktop".<br />
<div lang="en" dir="ltr" class="mw-content-ltr">
"Desktop" layout will not allow items on the desktop and results in almost 20 MiB of memory savings in plasmashell.
{{File|file=/etc/polkit-1/rules.d/99-disable-suspend.rules|content=
<pre>
// Disable suspend for all users
polkit.addRule(function(action, subject) {
  if ((action.id == "org.freedesktop.login1.suspend")) {
      return polkit.Result.NO;
  }
});
polkit.addRule(function(action, subject) {
  if ((action.id == "org.freedesktop.login1.suspend-multiple-sessions")) {
      return polkit.Result.NO;
  }
});
</pre>
}}
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
=====End Session Commands=====
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Logging out or shutting down via a command can be useful whether for a non-graphical environment or inclusion in scripts. Whenever a plasma session is involved using the following commands should be preferred over more generic options such as ''systemctl reboot''.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
====kwin-lowlatency====
======Prompt======
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
If you feel that plasma, or more precisely the window manager isnt as 'snappy' as it could be (lag, stuttering, etc) when you have obviously capable hardware then there is one workaround to try. Some users report significant increases in speed and responsiveness when replacing the default window manager {{ic|kwin}} with a slightly modified and patched version - {{ic|kwin-lowlatency}}.<br />
DBUS provides methods to open a prompt to end a session (logout, reboot, shutdown).
The package is available in the [[AUR]] and should automatically replace {{ic|kwin}} when installed.
For more information see [https://github.com/tildearrow/kwin-lowlatency here].
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
{{UserCmd|command=qdbus6 org.kde.LogoutPrompt /LogoutPrompt promptLogout}}
{{UserCmd|command=qdbus6 org.kde.LogoutPrompt /LogoutPrompt promptReboot}}
{{UserCmd|command=qdbus6 org.kde.LogoutPrompt /LogoutPrompt promptShutDown}}
{{UserCmd|command=qdbus6 org.kde.LogoutPrompt /LogoutPrompt promptAll}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
====Single Click vs Double Click====
======Immediate======
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
Similar commands can be used to initiate the process without any prompt.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
In order to select between single and double click for opening files and folders you can use System Settings.<br />
{{UserCmd|command=qdbus6 org.kde.Shutdown /Shutdown savesession}}
{{ic|System Settings -> Workspace -> General Behavior -> "Clicking files or folders"}}
{{UserCmd|command=qdbus6 org.kde.Shutdown /Shutdown logout}}
{{UserCmd|command=qdbus6 org.kde.Shutdown /Shutdown logoutAndReboot}}
{{UserCmd|command=qdbus6 org.kde.Shutdown /Shutdown logoutAndShutdown}}
</div>
</div>


8,560

edits