Re: Setting preferred applications
On Sun, 1 Dec 2019 at 15:10, Volker Wysk wrote: > > And so it isn't possible to specify a terminal emulator to be run by > nautilus... (Replying again as it didn't go to the list - Gmail isn't smart while replying to mailing lists.) If you want to make nautilus open a directory in xterm (that is, run xterm and cd to the directory) you can use the "Open With Other Application" option offered on right-click. That option will show all applications from /usr/share/applications and ~/.local/share/applications directory which contain %F specifier in the Exec statement. So, using a plain text editor you first have to create xterm.desktop file in /usr/share/applications or ~/.local/share/applications so that it contains the following text: [Desktop Entry] Name=XTerm Exec=xterm -e "cd %F; $SHELL" Type=Application Keywords=shell;prompt;command;commandline;cmd; Icon=xterm Categories=TerminalEmulator; StartupNotify=true After that right-click a directory in nautilus and choose Open With Other Application > View All Applications > XTerm. That way nautilus will execute xterm -e "cd %F; $SHELL" where %F is replaced with the path of the directory and $SHELL is replaced with the path of your shell. I tried that on Debian 10 with gnome 3.30 and it works fine. -- rpr. ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list
Re: Setting preferred applications
Am Sonntag, den 01.12.2019, 15:51 +0100 schrieb Carl-Valentin Schmitt: > When I dont understand this wrong - in nautilus > You can right-click on a file and then choose in popping-up MenĂ¼ "run > with terminal" - for example file is ending with ".sh" I've tried this, but there doesn't show any menu item "run with terminal". Even when the file name ends with ".sh" and the file is marked as executable. But that doesn't matter much. Bye, Volker > > Volker Wysk schrieb am So., 1. Dez. 2019, > 15:10: > > Am Sonntag, den 01.12.2019, 13:09 + schrieb Tony Houghton: > > > > > > On Sun, 1 Dec 2019 at 11:14, Volker Wysk > > wrote: > > > > What is "GIO"...? > > > > > > It's a library that comes with glib that's mainly focused on > > handling > > > i/o. > > > > > > > And so it isn't possible to specify a terminal emulator to be run > > by > > nautilus... > > > > Cheers > > Volker > > > > ___ > > gnome-list mailing list > > gnome-list@gnome.org > > https://mail.gnome.org/mailman/listinfo/gnome-list ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list
Re: Setting preferred applications
When I dont understand this wrong - in nautilus You can right-click on a file and then choose in popping-up MenĂ¼ "run with terminal" - for example file is ending with ".sh" Volker Wysk schrieb am So., 1. Dez. 2019, 15:10: > Am Sonntag, den 01.12.2019, 13:09 + schrieb Tony Houghton: > > > > On Sun, 1 Dec 2019 at 11:14, Volker Wysk wrote: > > > What is "GIO"...? > > > > It's a library that comes with glib that's mainly focused on handling > > i/o. > > > > And so it isn't possible to specify a terminal emulator to be run by > nautilus... > > Cheers > Volker > > ___ > gnome-list mailing list > gnome-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gnome-list > ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list
Re: Setting preferred applications
Am Sonntag, den 01.12.2019, 13:09 + schrieb Tony Houghton: > > On Sun, 1 Dec 2019 at 11:14, Volker Wysk wrote: > > What is "GIO"...? > > It's a library that comes with glib that's mainly focused on handling > i/o. > And so it isn't possible to specify a terminal emulator to be run by nautilus... Cheers Volker ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list
Re: Setting preferred applications
On Sun, 1 Dec 2019 at 11:14, Volker Wysk wrote: > > What is "GIO"...? > It's a library that comes with glib that's mainly focused on handling i/o. -- TH ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list
Re: Setting preferred applications
Am Sonntag, den 01.12.2019, 01:31 + schrieb Tony Houghton: > > On Sun, 1 Dec 2019 at 00:46, Volker Wysk wrote: > > I've done: > > > > update-alternatives --set x-terminal-emulator /usr/bin/xterm > > > > ... and the symbolic link in /etc/alternatives got changed. But > > when I > > do "open in terminal" in nautilus, then it's still the GNOME- > > Terminal. > > I see; I didn't realise Nautilus still had that feature. I thought > I'd just found a "hidden" option for this in dconf, but the schema > for "org.gnome.desktop.default-applications.terminal" says > "DEPRECATED: This key is deprecated and ignored. The default terminal > is handled in GIO." I Googled a bit more, and there are two problems: > 1. GIO has a hardwired list of terminals to try. 2. Nautilus doesn't > use GIO anyway; this feature is provided by a plugin which uses > gnome-terminal's dbus interface and won't work with anything else. > > If you wanted to use Tilix instead, you're in luck, because that > apparently provides a similar extension. What is "GIO"...? Bye V.W. ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list
Re: Setting preferred applications
On Sun, 1 Dec 2019 at 00:46, Volker Wysk wrote: > > I've done: > > update-alternatives --set x-terminal-emulator /usr/bin/xterm > > ... and the symbolic link in /etc/alternatives got changed. But when I > do "open in terminal" in nautilus, then it's still the GNOME-Terminal. > I see; I didn't realise Nautilus still had that feature. I thought I'd just found a "hidden" option for this in dconf, but the schema for "org.gnome.desktop.default-applications.terminal" says "DEPRECATED: This key is deprecated and ignored. The default terminal is handled in GIO." I Googled a bit more, and there are two problems: 1. GIO has a hardwired list of terminals to try. 2. Nautilus doesn't use GIO anyway; this feature is provided by a plugin which uses gnome-terminal's dbus interface and won't work with anything else. If you wanted to use Tilix instead, you're in luck, because that apparently provides a similar extension. -- TH ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list
Re: Setting preferred applications
Am Samstag, den 30.11.2019, 18:44 + schrieb Tony Houghton: > > On Fri, 29 Nov 2019 at 20:54, Volker Wysk > wrote: > > Hi! > > > > I know how to set some preferred applications in Einstellungen -> > > Informationen -> Vorgabeanwendugen (~ system settings -> > > information -> > > default applications). But how to set the preferred PDF viewer > > and > > terminal emulator? > > I don't think GNOME has a way to set a preferred terminal emulator, > but in Debian, Ubuntu etc you can use the update-alternatives command > to set x-terminal-emulator. I've done: update-alternatives --set x-terminal-emulator /usr/bin/xterm ... and the symbolic link in /etc/alternatives got changed. But when I do "open in terminal" in nautilus, then it's still the GNOME-Terminal. > > You can configure which app to use for certain filetypes, eg use > evince for PDF, when they're opened in the Nautilus file manager. > Right click on a file of that type, select "Properties" from the > menu, then select the "Open with" tab. Choose the application then > click "Set as default". Yes, that's it. It has already been said in the other message. > Sorry, I am also ignorant of the German translations for these. I find it, when I have the English name. No problem. Good bye, Volker ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list
Re: Setting preferred applications
On Fri, 29 Nov 2019 at 20:54, Volker Wysk wrote: > Hi! > > I know how to set some preferred applications in Einstellungen -> > Informationen -> Vorgabeanwendugen (~ system settings -> information -> > default applications). But how to set the preferred PDF viewer and > terminal emulator? > I don't think GNOME has a way to set a preferred terminal emulator, but in Debian, Ubuntu etc you can use the update-alternatives command to set x-terminal-emulator. You can configure which app to use for certain filetypes, eg use evince for PDF, when they're opened in the Nautilus file manager. Right click on a file of that type, select "Properties" from the menu, then select the "Open with" tab. Choose the application then click "Set as default". Sorry, I am also ignorant of the German translations for these. I think XDG and its utilities provide a way to manage this sort of thing too. -- TH ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list
Re: Setting preferred applications
Am Samstag, den 30.11.2019, 09:10 -0800 schrieb N B Day via gnome-list: > On Sat, 2019-11-30 at 18:01 +0100, Volker Wysk wrote: > > Am Samstag, den 30.11.2019, 06:31 -0800 schrieb N B Day via gnome- > > list: > > > On Fri, 2019-11-29 at 21:41 +0100, Volker Wysk wrote: > > > > Hi! > > > > > > > > I know how to set some preferred applications in Einstellungen > > > > -> > > > > Informationen -> Vorgabeanwendugen (~ system settings -> > > > > information > > > > -> > > > > default applications). But how to set the preferred PDF viewer > > > > and > > > > terminal emulator? > > > > > > Look at /org/gnome/software/popular-overrides with dconf-editor. > > > > > > This says "List of popular applications" > > > and "A list of applications to use, overriding the system defined > > > ones." > > > > There is an entry field called "Eigener Wert" ("own value"). But > > what > > syntax does it have, and exactly what should be entered here? Those > > two > > emtpy brackets look like an empty list value in some programming > > language. > > > > > Sorry, I have no idea how this would be expressed auf Deutsch. > > > > Keine Ursache ("no reason") (to apologize). :-) > > I've never used this; I saw it a while ago but didn't need it. (I'm > happy with the default choices not configurable with GNOME settings.) > > I'll play around with it later. First thing to try: a comma or > semicolon separated list of applications [xterm,tickr] I've tried "['xterm']" (without the outer quotes), but it didn't seem to have any effect. Bye Volker ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list
Re: Setting preferred applications
On Sat, 2019-11-30 at 18:01 +0100, Volker Wysk wrote: > Am Samstag, den 30.11.2019, 06:31 -0800 schrieb N B Day via gnome- > list: > > On Fri, 2019-11-29 at 21:41 +0100, Volker Wysk wrote: > > > Hi! > > > > > > I know how to set some preferred applications in Einstellungen -> > > > Informationen -> Vorgabeanwendugen (~ system settings -> > > > information > > > -> > > > default applications). But how to set the preferred PDF viewer > > > and > > > terminal emulator? > > > > Look at /org/gnome/software/popular-overrides with dconf-editor. > > > > This says "List of popular applications" > > and "A list of applications to use, overriding the system defined > > ones." > > There is an entry field called "Eigener Wert" ("own value"). But what > syntax does it have, and exactly what should be entered here? Those > two > emtpy brackets look like an empty list value in some programming > language. > > > Sorry, I have no idea how this would be expressed auf Deutsch. > > Keine Ursache ("no reason") (to apologize). :-) I've never used this; I saw it a while ago but didn't need it. (I'm happy with the default choices not configurable with GNOME settings.) I'll play around with it later. First thing to try: a comma or semicolon separated list of applications [xterm,tickr] -- N. B. Day 39.4042 North, 119.7377 West, Elev 1387 meters, -4.4 C Sat, 2019-11-30 at 09:10 PST (UTC -0800) Ingersoll up 0:15, 2 users, load average: 0.25, 0.28, 0.19 AMD Ryzen 7 2700 Eight-Core Processor Memory: 31 GiB Free: 27 GiB, Linux 5.3.12-1-default openSUSE Tumbleweed 20191128, GNOME Shell 3.34.1 Already obsolete: computer in service for 228 days ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list
Re: Setting preferred applications
Am Samstag, den 30.11.2019, 06:31 -0800 schrieb N B Day via gnome-list: > On Fri, 2019-11-29 at 21:41 +0100, Volker Wysk wrote: > > Hi! > > > > I know how to set some preferred applications in Einstellungen -> > > Informationen -> Vorgabeanwendugen (~ system settings -> > > information > > -> > > default applications). But how to set the preferred PDF viewer > > and > > terminal emulator? > > Look at /org/gnome/software/popular-overrides with dconf-editor. > > This says "List of popular applications" > and "A list of applications to use, overriding the system defined > ones." There is an entry field called "Eigener Wert" ("own value"). But what syntax does it have, and exactly what should be entered here? Those two emtpy brackets look like an empty list value in some programming language. > > Sorry, I have no idea how this would be expressed auf Deutsch. Keine Ursache ("no reason") (to apologize). :-) Cheers, Volker ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list
Re: Setting preferred applications
On Fri, 2019-11-29 at 21:41 +0100, Volker Wysk wrote: > Hi! > > I know how to set some preferred applications in Einstellungen -> > Informationen -> Vorgabeanwendugen (~ system settings -> information > -> > default applications). But how to set the preferred PDF viewer and > terminal emulator? Look at /org/gnome/software/popular-overrides with dconf-editor. This says "List of popular applications" and "A list of applications to use, overriding the system defined ones." Sorry, I have no idea how this would be expressed auf Deutsch. -- N. B. Day 39.4042 North, 119.7377 West, Elev 1387 meters, -6.1 C Sat, 2019-11-30 at 06:30 PST (UTC -0800) Ingersoll up 2 days 22:25, 2 users, load average: 0.34, 0.25, 0.27 AMD Ryzen 7 2700 Eight-Core Processor Memory: 31 GiB Free: 22 GiB, Linux 5.3.12-1-default openSUSE Tumbleweed 20191126, GNOME Shell 3.34.1 Already obsolete: computer in service for 228 days ___ gnome-list mailing list gnome-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-list