Manjaro Difference between revisions of "KDE/fa"

Difference between revisions of "KDE/fa"

From Manjaro
(Created page with "=نگاه کلّی=")
Tags: Mobile web edit Mobile edit
 
(Updating to match new version of source page)
Tags: Mobile web edit Mobile edit
 
(8 intermediate revisions by 2 users not shown)
Line 4: Line 4:
=نگاه کلّی=
=نگاه کلّی=


KDE is a software project currently comprised of a desktop environment known as Plasma, a collection of libraries and frameworks and several applications.
کِی‌دی‌ئی یک پروژه نرم‌افزاری است که در حال حاضر از یک محیط میزکار به نام پلاسما، مجموعه‌ای از کتابخانه‌ها و چارچوب‌ها و کاره‌های مختلف، تشکیل شده است.




[[File: KDE-de-18.jpg|left|600px]]
[[File: KDE-de-18.jpg|right|600px]]
<div style="clear: both"></div>
<div style="clear: both"></div>




=Appearance=
=شکل و ظاهر=


====HiDPI====


If your screen has a relatively large resolution some portions of your desktop may appear abnormally small.<br />
====تنظیمات میزکار====
While KDE Plasma offers a way to 'scale' the appearance this feature does not always give good results, especially with fractional scaling (1.25x instead of 2x).<br />
The best results hinge on applying font DPI settings. It is advisable to keep your configuration to 'quarter steps'. Example:<br />
| 1.00x='''96dpi''' | 1.25x='''120dpi''' | 1.50x='''144dpi''' | 1.75x='''168dpi''' | 2.00x='''192dpi''' |


{{ic|System Settings -> Fonts -> Force font DPI (input desired DPI value)}}
<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>


In order to set the DPI for GTK applications as well you can use an '''Environment Variable'''. Such as at {{ic|/etc/environment}}.<br />
<div lang="en" dir="ltr" class="mw-content-ltr">
This variable will use the 'fractional' scale number instead of DPI, as shown above. For example if you are using 144dpi then that is a 'fractional scale' of 1.5. Example:<br />
'''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>
 
 
<div lang="en" dir="ltr" class="mw-content-ltr">
====Lockscreen====
</div>


<code>GDK_SCALE=1.5</code>
<div lang="en" dir="ltr" class="mw-content-ltr">
Basic settings such as delay and shortcut can be configured at the System Settings location<br />
{{ic|System Settings -> Security & Privacy -> Screen Locking}}<br />
Selecting the {{ic|Configure Appearance}} button in the top-right corner will present styling options.
</div>


If you feel that icons need some resizing as well then you can use System Settings:


{{ic|System Settings -> Icons -> Configure Icon Sizes}}
=نکته‌ها و حُقه‌ها=




====Lockscreen====
<div lang="en" dir="ltr" class="mw-content-ltr">
====File Manager====
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
Dolphin is the default file manager for Plasma.<br />
See its dedicated page [[Dolphin|here]].
</div>
 
 
<div lang="en" dir="ltr" class="mw-content-ltr">
====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>


As of now there is no easy way to configure the appearance of the lockscreen. It is provided by your '''look-and-feel''' theme, or lacking that, by the the default breeze.  
<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>


=Tips and Tricks=
<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>


====Desktop Settings====
<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>


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 lang="en" dir="ltr" class="mw-content-ltr">
=====Disable Suspend=====
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Suspend can be disabled and it's menu entries hidden with the drop-in file ''/etc/polkit-1/rules.d/99-disable-suspend.rules''.
</div>


'''Desktop Toolbox'''<br />
<div lang="en" dir="ltr" class="mw-content-ltr">
To toggle the appearance of the 'toolbox' navigate to the ''Tweaks'' tab. {{ic|Desktop Settings -> Tweaks -> Show the desktop toolbox}}
{{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>


'''Layout'''<br />
<div lang="en" dir="ltr" class="mw-content-ltr">
Under the ''Wallpaper'' tab there is a 'Layout' option. {{ic|Desktop Settings -> Wallpaper -> Layout}}<br /> 
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''.
"Folder View" will allow you to place and interact with items on the desktop.<br />
</div>  
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 lang="en" dir="ltr" class="mw-content-ltr">
======Prompt======
</div>


====kwin-lowlatency====
<div lang="en" dir="ltr" class="mw-content-ltr">
DBUS provides methods to open a prompt to end a session (logout, reboot, shutdown).
</div>


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 />
<div lang="en" dir="ltr" class="mw-content-ltr">
The package is available in the [[AUR]] and should automatically replace {{ic|kwin}} when installed.
{{UserCmd|command=qdbus6 org.kde.LogoutPrompt /LogoutPrompt promptLogout}}
For more information see [https://github.com/tildearrow/kwin-lowlatency here].
{{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">
======Immediate======
</div>


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


In order to select between single and double click for opening files and folders you can use System Settings.<br />
<div lang="en" dir="ltr" class="mw-content-ltr">
{{ic|System Settings -> Desktop Behavior -> Click behavior}}
{{UserCmd|command=qdbus6 org.kde.Shutdown /Shutdown savesession}}
{{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>




=See also=
=جستار های وابسته=
[https://kde.org/ KDE.org]<br />
[https://kde.org/ KDE.org]<br />
[https://wiki.archlinux.org/index.php/KDE Archwiki:KDE]<br />
[https://wiki.archlinux.org/index.php/KDE ویکی آرچ: کِی‌دی‌ئی]<br />
[https://en.wikipedia.org/wiki/KDE Wikipedia:KDE]<br />
[https://en.wikipedia.org/wiki/KDE ویکی‌پدیا: کِی‌دی‌ئی]<br />
<br />
<br />


[[Category:Contents Page{{#translation:}}]]
[[Category:Contents Page{{#translation:}}]]
[[Category:Editions{{#translation:}}]]
[[Category:Editions{{#translation:}}]]

Latest revision as of 08:05, 12 November 2024

Other languages:
English • ‎Türkçe • ‎русский • ‎فارسی

نگاه کلّی

کِی‌دی‌ئی یک پروژه نرم‌افزاری است که در حال حاضر از یک محیط میزکار به نام پلاسما، مجموعه‌ای از کتابخانه‌ها و چارچوب‌ها و کاره‌های مختلف، تشکیل شده است.


KDE-de-18.jpg


شکل و ظاهر

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

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 Alt+D,Alt+S

Layout
Under the Wallpaper tab there is a 'Layout' option. Desktop Settings -> Wallpaper -> Layout
"Folder View" will allow you to place and interact with items on the desktop.
If you do not use desktop icons (or if you need encouragement for better organization) you can use "Desktop".
"Desktop" layout will not allow items on the desktop and results in almost 20 MiB of memory savings in plasmashell.


Lockscreen

Basic settings such as delay and shortcut can be configured at the System Settings location
System Settings -> Security & Privacy -> Screen Locking
Selecting the Configure Appearance button in the top-right corner will present styling options.


نکته‌ها و حُقه‌ها

File Manager

Dolphin is the default file manager for Plasma.
See its dedicated page here.


KCMs

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.

To list available KCMs:

user $ kcmshell6 --list COPY TO CLIPBOARD

To run a particular module (replacing kcm_kded with the desired module):

user $ kcmshell6 kcm_kded COPY TO CLIPBOARD

Single Click vs Double Click

In order to select between single and double click for opening files and folders you can use System Settings.
System Settings -> Workspace -> General Behavior -> "Clicking files or folders"


Power

Block Power Management

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).

user $ kde-inhibit --power --screenSaver --nightLight --notifications spotify COPY TO CLIPBOARD

Disable Hibernate

Hibernation can be disabled and it's menu entries hidden with the drop-in file /etc/polkit-1/rules.d/99-disable-hibernate.rules.

/etc/polkit-1/rules.d/99-disable-hibernate.rules
// 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;
   }
});
Disable Suspend

Suspend can be disabled and it's menu entries hidden with the drop-in file /etc/polkit-1/rules.d/99-disable-suspend.rules.

/etc/polkit-1/rules.d/99-disable-suspend.rules
// 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;
   }
});
End Session Commands

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.

Prompt

DBUS provides methods to open a prompt to end a session (logout, reboot, shutdown).

user $ qdbus6 org.kde.LogoutPrompt /LogoutPrompt promptLogout COPY TO CLIPBOARD

user $ qdbus6 org.kde.LogoutPrompt /LogoutPrompt promptReboot COPY TO CLIPBOARD


user $ qdbus6 org.kde.LogoutPrompt /LogoutPrompt promptShutDown COPY TO CLIPBOARD


user $ qdbus6 org.kde.LogoutPrompt /LogoutPrompt promptAll COPY TO CLIPBOARD


Immediate

Similar commands can be used to initiate the process without any prompt.

user $ qdbus6 org.kde.Shutdown /Shutdown savesession COPY TO CLIPBOARD

user $ qdbus6 org.kde.Shutdown /Shutdown logout COPY TO CLIPBOARD


user $ qdbus6 org.kde.Shutdown /Shutdown logoutAndReboot COPY TO CLIPBOARD


user $ qdbus6 org.kde.Shutdown /Shutdown logoutAndShutdown COPY TO CLIPBOARD



جستار های وابسته

KDE.org
ویکی آرچ: کِی‌دی‌ئی
ویکی‌پدیا: کِی‌دی‌ئی

Cookies help us deliver our services. By using our services, you agree to our use of cookies.