Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-12-12 11:58:54

djdisodo
Member
Registered: 2021-10-16
Posts: 10

modified thunar.desktop and desktop home shortcut doesn't work

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

#2 2021-12-12 16:41:02

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: modified thunar.desktop and desktop home shortcut doesn't work

djdisodo wrote:

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

#3 2021-12-13 09:42:59

djdisodo
Member
Registered: 2021-10-16
Posts: 10

Re: modified thunar.desktop and desktop home shortcut doesn't work

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

https://pastebin.com/7fXUBfFm

Offline

#4 2021-12-13 11:58:31

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: modified thunar.desktop and desktop home shortcut doesn't work

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

#5 2021-12-13 14:34:24

djdisodo
Member
Registered: 2021-10-16
Posts: 10

Re: modified thunar.desktop and desktop home shortcut doesn't work

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

#6 2022-01-01 09:25:29

djdisodo
Member
Registered: 2021-10-16
Posts: 10

Re: modified thunar.desktop and desktop home shortcut doesn't work

is this bug or something?

Offline

#7 2022-01-01 13:49:36

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: modified thunar.desktop and desktop home shortcut doesn't work

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

#8 2022-01-01 17:39:53

djdisodo
Member
Registered: 2021-10-16
Posts: 10

Re: modified thunar.desktop and desktop home shortcut doesn't work

yes it's one on the desktop
to be sure i'll link my thunar.desktop
https://paste.debian.net/1225483/

Offline

#9 2022-01-01 18:09:49

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: modified thunar.desktop and desktop home shortcut doesn't work

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

#10 2022-01-01 21:30:31

djdisodo
Member
Registered: 2021-10-16
Posts: 10

Re: modified thunar.desktop and desktop home shortcut doesn't work

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

#11 2022-01-01 23:29:01

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: modified thunar.desktop and desktop home shortcut doesn't work

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

#12 2022-01-03 10:16:52

djdisodo
Member
Registered: 2021-10-16
Posts: 10

Re: modified thunar.desktop and desktop home shortcut doesn't work

if i restore the file at /usr/share/applications
after re-login it starts to work fine
without any error

Offline

#13 2022-01-03 13:35:28

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: modified thunar.desktop and desktop home shortcut doesn't work

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 9 queries executed - Memory usage: 588.63 KiB (Peak: 605.48 KiB) ]