Xfce Forum

Sub domains
 

You are not logged in.

#26 2022-03-12 17:59:48

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

Re: mousepad --name or --class has not effect

Tamaranch wrote:
ToZ wrote:

Trying to confirm if the library file is from the same version.

Yes I know, the question was for @jt1122 big_smile (I had corrected the path too).
It was to save time in your absence, but in the end...

lol. Sorry - I didn't notice that.


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

#27 2022-03-13 11:53:41

jt1122
Member
Registered: 2021-03-26
Posts: 245

Re: mousepad --name or --class has not effect

with the updated path:

$ strings /lib/x86_64-linux-gnu/libmousepad.so | grep -A2 version$
strings: '/lib/x86_64-linux-gnu/libmousepad.so': No such file

Offline

#28 2022-03-13 12:21:11

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

Re: mousepad --name or --class has not effect

Try:

find / -name libmousepad.so -print 2>/dev/null

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

#29 2022-03-13 13:17:55

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: mousepad --name or --class has not effect

sudo updatedb
locate 'libmousepad.so'

could be much quicker and seamless.

You don't even need to update the database because it's done daily by /etc/cron.daily/mlocate. Catfish depends on mlocate, so it should be available in 99% of cases (exaggerating a bit).


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#30 2022-03-13 13:31:05

jt1122
Member
Registered: 2021-03-26
Posts: 245

Re: mousepad --name or --class has not effect

thanks. nothing found.

Offline

#31 2022-03-13 14:28:13

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

Re: mousepad --name or --class has not effect

Is libmousepad0 installed?

It should be as its a dependency if mousepad. If not, maybe try re-installing mousepad.


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

#32 2022-03-13 14:40:03

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: mousepad --name or --class has not effect

jt1122 wrote:

from synaptic:
libglib2 2.70.4-1
libglib3 2.99.3-4
libgtk-3 3.3.24.31-1
libgtk-4 4.6.1

Where did you get libgtk 4? How did you install it?

Also, does it only not work with Mousepad or any GTK app?

set_program_class() is not available in GTK4.

Last edited by KBar (2022-03-13 15:22:15)


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#33 2022-03-13 16:39:39

Tamaranch
Member
Registered: 2020-12-31
Posts: 321

Re: mousepad --name or --class has not effect

It seems that your system definitely has a problem @jt1122 smile
What does this return:

apt list '*mousepad*'

Last edited by Tamaranch (2022-03-14 18:48:44)

Offline

#34 2022-03-13 19:36:07

herbie643
Member
Registered: 2013-04-05
Posts: 138

Re: mousepad --name or --class has not effect

Maybe I am just too dense for this discussion but "What is the point of this discussion with the 'name thing'?

Offline

#35 2022-03-14 04:45:59

jt1122
Member
Registered: 2021-03-26
Posts: 245

Re: mousepad --name or --class has not effect

apt list '*mousepad*'
Listing... Done
libmousepad-dev/testing 0.5.8-1+b1 amd64
libmousepad-dev/testing 0.5.8-1 i386
libmousepad0/testing,now 0.5.8-1+b1 amd64 [installed,automatic]
libmousepad0/testing 0.5.8-1 i386
mousepad/testing,now 0.5.8-1+b1 amd64 [installed]
mousepad/testing 0.5.8-1 i386

Offline

#36 2022-03-14 08:13:34

Tamaranch
Member
Registered: 2020-12-31
Posts: 321

Re: mousepad --name or --class has not effect

Looks like libmousepad.so is not shipped with libmousepad0: https://packages.debian.org/bookworm/am … 0/filelist
So try this:

strings /lib/x86_64-linux-gnu/libmousepad.so.0 | grep -A2 version$

If that doesn't work either, please give the return of

dpkg -L libmousepad0

Offline

#37 2022-03-14 18:39:57

jt1122
Member
Registered: 2021-03-26
Posts: 245

Re: mousepad --name or --class has not effect

$ strings /lib/x86_64-linux-gnu/libmousepad.so.0 | grep -A2 version$
version
0.5.8
%s %s
--
.gnu.version
.gnu.version_r
.rela.dyn

Thanks

Offline

#38 2022-03-14 18:46:45

Tamaranch
Member
Registered: 2020-12-31
Posts: 321

Re: mousepad --name or --class has not effect

Ok so this is the right version. So no idea why --name and --class don't work for you.

Offline

#39 2022-03-14 19:05:12

jt1122
Member
Registered: 2021-03-26
Posts: 245

Re: mousepad --name or --class has not effect

Thanks for looking into this.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 582.67 KiB (Peak: 599.52 KiB) ]