SliTaz SliTaz Forum

You are not logged in.

#1 2019-12-08 13:52:36

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Changing the favorite terminal

Hello,

I'd like to replace Sakura with LXTerminal as favorite terminal (Rolling 32).

I selected [c]lxterminal[/c] in the drop-down menu of the box that opens after a right clic on desktop > Favorite Applications > Configure favorite.

But then, when I select Terminal in Favorite Applications, nothing happens; and nothing happens when I press on [F4] in PCManFM.

The alternative solution I found is to change [c]terminal[/c] by

[c]lxterminal[/c] in the preferences of PCManFM so I can open LXTerminal from PCManFM.

Same behavior with QTerminal, XFCE4-Terminal and vte-Terminal

No way to use something else that Sakura or XTerm as favorite terminal?

Offline

#2 2019-12-08 18:01:02

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Changing the favorite terminal

I just can confirm this behavior.... at least in next

you can change the Openbox menue

http://openbox.org/wiki/Help:Menus

goto -> Value of attribute "icon"

Offline

#3 2019-12-08 23:30:29

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Changing the favorite terminal

works without problems

Offline

#4 2019-12-09 00:14:52

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Changing the favorite terminal

and for a mininmalistic SliTaz use netsurf as a browser.

Hans Guenther - I think zou read also here

it would be nice if you please could update netsurf to 3.9 for next / thx

Offline

#5 2019-12-09 07:14:45

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

Re: Changing the favorite terminal

netsurf in the next repository is now updated to 3.9

Offline

#6 2019-12-09 07:49:06

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Changing the favorite terminal

@ kultex

Thanks. I'm going to try it.

@ HGT

Thanks for Netsurf. I tested the 3.8 at the very begining of Next 32bit and I'll say that I wasn't convinced... I'll have a look at the 3.9.

Is it possible to have it in the cooking repository please?

Offline

#7 2019-12-09 13:28:12

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

Re: Changing the favorite terminal

netsurf and netsurf-sdl are now updated to 3.9 in the cooking repository too

Offline

#8 2024-08-29 14:00:08

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Changing the favorite terminal

Playing with terminals I felt back in this issue.

The problem comes from the [c]terminal[/c] script that places a space between the geometry label and the geometry itself. This seems to be specific at Xterm. I gave a look at the help of others terminal (Terminology, vte-terminal, xfce4-terminal...), all of them need an "[c]=[/c]" sign.

Modifying the script as this

.../...
case $TERMINAL in
    sakura)
        (grep -q 'Unloading fbdev' /var/log/Xorg.0.log) || TERMINAL="sakura --sync"
        OPT_TITLE='-t'; OPT_GEOM='--geometry'; OPT_HELP='-?'; OPT_HOLD='-h';;
    xterm)
        OPT_TITLE='-T'; OPT_GEOM='-geometry'; OPT_HELP='-help'; OPT_HOLD='-hold';;
    *)
        OPT_TITLE='-T'; OPT_GEOM='--geometry='; OPT_HELP='--help'; OPT_HOLD='--hold';;

esac

until [ $# -eq 0 ]; do
    PARAM="$1"
    case "$PARAM" in
        -version|--version|-v)        $TERMINAL -v; exit 0;;
        -help|--help)            help; exit 0;;
        -h|-hold|--hold)        shift; PARAMS="$PARAMS $OPT_HOLD";;
        -geometry|--geometry|--geometry=)    shift; GEOMETRY="$1"; shift;;
        -t|-title|-T|--title)        shift; TITLE="$1"; shift;;
        -e|--xterm-execute)        shift; COMMAND="-e $@"; break;;
        *)                shift; PARAMS="$PARAMS $PARAM";;
    esac
done

case $TERMINAL in
    xterm)
        $TERMINAL $PARAMS $OPT_GEOM $GEOMETRY $OPT_TITLE "$TITLE" $COMMAND &
    *)
        $TERMINAL $PARAMS $OPT_GEOM$GEOMETRY $OPT_TITLE "$TITLE" $COMMAND &

exit 0
solved the problem.

But my knowledge of the shell is very poor... I think a dev will do much better.

Thanks.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]