How to add 'st' as default terminal?

Kernels & Hardware, configuring network, installing services

Re: How to add 'st' as default terminal?

Postby bw123 » 2018-01-30 21:31

Head_on_a_Stick wrote:
bw123 wrote:Wouldn't the best answer be, "Use the debian repo to install it, then use (as root) 'update-alternatives --config x-terminal-emulator'?"

It is only possible to configure st at compile time so the binary package from the repositories isn't much use (unless you happen to like the default settings).



I see. In that case this might be a good thread to hijack and post some tweaks, or add a helpful link or two.

https://git.suckless.org/st/plain/FAQ
User avatar
bw123
 
Posts: 2987
Joined: 2011-05-09 06:02
Location: TN_USA

Re: How to add 'st' as default terminal?

Postby Head_on_a_Stick » 2018-01-30 21:36

Here's my config.h: https://raw.githubusercontent.com/Head- ... onfig.h.st (with BunsenLabs' terminal colours) :)
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 7455
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How to add 'st' as default terminal?

Postby stevepusser » 2018-01-30 22:49

bw123 wrote:Wouldn't the best answer be, "Use the debian repo to install it, then use (as root) 'update-alternatives --config x-terminal-emulator'?"

I might try stterm. I haven't used suckless apps in awhile. I recall surf is also a really intersting pkg.

galternatives is a 189k pkg that needs 20 MEGS of gnome dependencies for me, so that one is not going to happen...


Wow, you must not have any GTK+ apps on your system at all.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10, Pale Moon 27.9.1, Enlightenment 0.22, Calligra 3.1, VLC 3.0.2, Firefox 60.0, Krita 4.0.3
User avatar
stevepusser
 
Posts: 9531
Joined: 2009-10-06 05:53

Re: How to add 'st' as default terminal?

Postby bw123 » 2018-01-30 23:19

stevepusser wrote:
bw123 wrote:
galternatives is a 189k pkg that needs 20 MEGS of gnome dependencies for me, so that one is not going to happen...


Wow, you must not have any GTK+ apps on your system at all.


It's not that I don't want to, but geez...

That 20 mb I mentioned was without recommends:

Code: Select all
# apt-get -s --install-recommends install galternatives
The following NEW packages will be installed:
  adwaita-icon-theme at-spi2-core dbus-user-session dconf-gsettings-backend
  dconf-service galternatives gconf-service gconf2 gconf2-common gcr gksu
  glib-networking glib-networking-common glib-networking-services gnome-icon-theme
  gnome-keyring gsettings-desktop-schemas gtk-update-icon-cache hicolor-icon-theme
  libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0 libblas-common libblas3
  libcairo-gobject2 libcap2-bin libcolord2 libcups2 libdbus-glib-1-2 libdconf1
  libgail-common libgail18 libgck-1-0 libgconf-2-4 libgcr-3-common libgcr-base-3-1
  libgcr-ui-3-1 libgfortran3 libgksu2-0 libglade2-0 libgnome-keyring-common
  libgnome-keyring0 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-bin
  libgtk2.0-common libgtop-2.0-10 libgtop2-common libjson-glib-1.0-0
  libjson-glib-1.0-common liblapack3 libpam-cap libpam-gnome-keyring libquadmath0
  librest-0.7-0 librsvg2-common libsecret-1-0 libsecret-common libsoup-gnome2.4-1
  libsoup2.4-1 libstartup-notification0 libwayland-cursor0 libwayland-egl1-mesa p11-kit
  p11-kit-modules pinentry-gnome3 python-cairo python-glade2 python-gobject-2
  python-gtk2 python-numpy sudo
User avatar
bw123
 
Posts: 2987
Joined: 2011-05-09 06:02
Location: TN_USA

Previous

Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable