Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-10-17 08:11:04

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

mousepad options in "Open with" menu

Hi,

Right-clicking on a file->properties->open with
is set to mousepad.

I'd like mousepad to open in a new window (mousepad -o mixed). Currently it opens a new tab in a current mousepad window.,

Doable?

Thanks

Offline

#2 2021-10-17 08:29:11

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

Re: mousepad options in "Open with" menu

Do you want to do this without changing the Mousepad preferences, or have you changed them and it doesn't work?
In the first case, you just have to customize the launcher to add the desired option (you can do it via Xfce4-appfinder).

Offline

#3 2021-10-17 08:45:10

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

Re: mousepad options in "Open with" menu

Thanks.

I want to change these options only for the right-click context menu w/o changing mousepad's global default.

It's possible to define a custom launcher but that would require redefining this launcher for every file type individually.

Offline

#4 2021-10-17 08:51:05

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

Re: mousepad options in "Open with" menu

No, the custom launcher will simply override the default one, without changing file associations (I just tested via Xfce4-appfinder and it works fine).

NB: You don't have to change the name of the launcher, just make a modified copy of it in ~/.local/share/applications: that's what Xfce4-appfinder does.

Last edited by Tamaranch (2021-10-17 08:53:32)

Offline

#5 2021-10-17 09:03:59

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

Re: mousepad options in "Open with" menu

great, thanks.

Offline

Board footer

Powered by FluxBB