You are not logged in.
i added "nice -n 1 " to front of every Exec value(line starting with Exec=) of /usr/share/applications/thunar.desktop
all other apps just works fine with this method but while i cant launch thunar shortcuts like "Home" or "File System"
Offline
i added "nice -n 1 " to front of every Exec value(line starting with Exec=) of /usr/share/applications/thunar.desktop
Why?
Also, these files will all get overwritten with updates and you'll lose your edits.
Are you looking at limiting priority for specific users or processes? If so, have a look at "man limits.conf"
all other apps just works fine with this method but while i cant launch thunar shortcuts like "Home" or "File System"
Anything in the log files? ~/.xsession-errors or the journal (if you are using systemd)?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
i set a code to update /usr/share/applications after dpkg so that's fine
/usr/bin/nice: ‘file:///’: No such file or directory
/usr/bin/nice: ‘file:///’: No such file or directory
this is the error i got on .xsession-errors
but i replaced "thunar" to "nice -n 1 thunar" not to something like "nice"
just to make sure, i'll link my thunar.desktop file
Offline
What I meant was, why are you using this process to adjust the nice/priority level? Why not make the adjustment via limits.conf? That way you won't need to manually adjust every desktop file.
Which version of Xfce and thunar are you running?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
i'm using thunar 4.16.10-1, xfce4 4.16 on debian sid
i want to modify the nice level only for desktop apps to prevent it slowing down xfce
if i set nice level for user, it'll also affect xfce
Offline
is this bug or something?
Offline
Hmm, I can't replicate this problem on my system. When you say 'shortcuts like "Home" or "File System"', do you mean the ones on the desktop? I'll see if I can test this on a debian sid vm.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
yes it's one on the desktop
to be sure i'll link my thunar.desktop
https://paste.debian.net/1225483/
Offline
No, your desktop file works fine for me in my debian sid VM.
Is xfdesktop managing your desktop?
ps -ef | grep desktop
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
sodo 1455 1314 0 02:32 ? 00:00:16 xfdesktop
sodo 2718 1647 0 06:27 pts/0 00:00:00 grep desktop
sodo@localhost:~$ apt show xfdesktop4
Package: xfdesktop4
Version: 4.16.0-1
Priority: optional
Section: xfce
Maintainer: Debian Xfce Maintainers <debian-xfce@lists.debian.org>
Installed-Size: 683 kB
Depends: exo-utils, xfdesktop4-data (= 4.16.0-1), libc6 (>= 2.14), libcairo2 (>= 1.10.0), libexo-2-0 (>= 0.11.0), libgarcon-1-0 (>= 0.3.0), libgarcon-gtk3-1-0 (>= 0.6.0), libgdk-pixbuf-2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.22), libnotify4 (>= 0.7.0), libpango-1.0-0 (>= 1.44.6), libthunarx-3-0 (>= 1.7.0), libwnck-3-0 (>= 3.14), libx11-6, libxfce4ui-2-0 (>= 4.13.0), libxfce4util7 (>= 4.13.0), libxfconf-0-3 (>= 4.12.1)
Recommends: default-dbus-session-bus | dbus-session-bus, librsvg2-common, tumbler, xdg-user-dirs
Replaces: xfdesktop4-data (<< 4.5.92)
Homepage: https://docs.xfce.org/xfce/xfdesktop/start
Tag: implemented-in::c, interface::graphical, interface::x11, role::program,
scope::utility, suite::xfce, uitoolkit::gtk, x11::application
Download-Size: 166 kB
APT-Manual-Installed: no
APT-Sources: http://ftp.kaist.ac.kr/debian unstable/main amd64 Packages
Description: Xfce desktop background, icons and root menu manager
xfdesktop4 sets the background image, provides a right-click menu to
launch applications and can optionally show files (including application
launchers) or iconified windows. It includes gradient support for
background color, saturation support for background image, real multiscreen
and xinerama support.
sodo@localhost:~$ apt show xfdesktop4-data
Package: xfdesktop4-data
Version: 4.16.0-1
Priority: optional
Section: xfce
Source: xfdesktop4
Maintainer: Debian Xfce Maintainers <debian-xfce@lists.debian.org>
Installed-Size: 2,960 kB
Homepage: https://docs.xfce.org/xfce/xfdesktop/start
Tag: role::app-data, suite::xfce, uitoolkit::gtk
Download-Size: 1,485 kB
APT-Manual-Installed: no
APT-Sources: http://ftp.kaist.ac.kr/debian unstable/main amd64 Packages
Description: Xfce desktop background, icons and root menu (common files)
xfdesktop4 sets the background image, provides a right-click menu to
launch applications and can optionally show files (including application
launchers) or iconified windows. It includes gradient support for
background color, saturation support for background image, real multiscreen
and xinerama support.
.
This package contains architecture-independent files for xfdesktop4.
Offline
What happens if you remove the nice commands from your thunar.desktop file (return the file back to its original state)? Does it work again?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
if i restore the file at /usr/share/applications
after re-login it starts to work fine
without any error
Offline
I'm at a loss to explain why you're system is impacted but mine isn't with that file. You could try creating a bug report to see if the developer has some ideas as to why it isn't working.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 588.44 KiB (Peak: 605.28 KiB) ]