huijunchen9260 / dmenufm

A simple file manager using dmenu
GNU General Public License v3.0
227 stars 15 forks source link

Terminal doesn't open #33

Closed skuzzymiglet closed 4 years ago

skuzzymiglet commented 4 years ago

When I run Terminal, it just goes back to the menu. I think the issue is the script using $TERMINAL. My terminal is st which runs fine, $TERMINAL is st-256color. dmenufm runs fine in the terminal

huijunchen9260 commented 4 years ago

What's your environment variable $TERMINAL?

show me the outcome of echo $TERMINAL

skuzzymiglet commented 4 years ago

st

skuzzymiglet commented 4 years ago

but desktop entries with Terminal=true never seem to open either

huijunchen9260 commented 4 years ago

but desktop entries with Terminal=true never seem to open either

I don't understand what you want to say here

skuzzymiglet commented 4 years ago

it may be a non-dmenufm issue

huijunchen9260 commented 4 years ago

Since where you press "Terminal" in dmenufm, it just call your $TERMINAL. If you really want to solve the problem, could you have a screencast so that I can understand the problem.

skuzzymiglet commented 4 years ago

https://streamable.com/d4682

huijunchen9260 commented 4 years ago

Do you have different program for st and st-256color?

Also you can run sh -x $(which dmenufm) and paste the outcome here. You may want to do it in a directory that has less or no files.

skuzzymiglet commented 4 years ago
+/usr/bin//dmenufm:4> FM_PATH=/home/skuzzymiglet/.config/dmenufm 
+/usr/bin//dmenufm:5> FM_CACHE_PATH=/home/skuzzymiglet/.cache/dmenufm 
+/usr/bin//dmenufm:6> [ -r /home/skuzzymiglet/.config/dmenufm/dmenufm.conf ']'
+/usr/bin//dmenufm:8> [ -r /usr/bin/dmenufm.conf ']'
+/usr/bin//dmenufm:9> . /usr/bin/dmenufm.conf
+/usr/bin/dmenufm.conf:7> FM_BMKFILE=/home/skuzzymiglet/.config/dmenufm/dmenufm_bookmark 
+/usr/bin/dmenufm.conf:8> FM_CMDFILE=/home/skuzzymiglet/.config/dmenufm/dmenufm_command 
+/usr/bin/dmenufm.conf:9> FM_HISFILE=/home/skuzzymiglet/.config/dmenufm/dmenufm_history 
+/usr/bin/dmenufm.conf:10> FM_SDOPROP=/home/skuzzymiglet/.config/dmenufm/dmenufm_sudoprompt 
+/usr/bin/dmenufm.conf:11> FM_TRASH=/home/skuzzymiglet/.cache/dmenufm/trash 
+/usr/bin/dmenufm.conf:12> FM_LASTPATH=/home/skuzzymiglet/.cache/dmenufm/dmenufm_lastpath 
+/usr/bin/dmenufm.conf:13> FM_REMFILE=/home/skuzzymiglet/.cache/dmenufm/dmenufm_bulk_rename 
+/usr/bin/dmenufm.conf:14> FM_MASFILE=/home/skuzzymiglet/.cache/dmenufm/dmenufm_bulk_mass 
+/usr/bin/dmenufm.conf:15> FM_ZIPATH=/home/skuzzymiglet/.cache/dmenufm/compression/ 
+/usr/bin/dmenufm.conf:17> FM_MAX_HIS_LENGTH=5000 
+/usr/bin/dmenufm.conf:19> FM_GENERIC_FONT=Monospace-15 
+/usr/bin/dmenufm.conf:20> FM_NOTIF_FONT=Monospace-25 
+/usr/bin/dmenufm.conf:21> FM_DANGER_FONT=Monospace-20 
+/usr/bin/dmenufm.conf:23> FM_SUDO_COLOR=red 
+/usr/bin/dmenufm.conf:24> FM_GENERIC_COLOR='#005577' 
+/usr/bin/dmenufm.conf:25> FM_ACTION_COLOR_LV1='#33691e' 
+/usr/bin/dmenufm.conf:26> FM_ACTION_COLOR_LV2='#FF8C00' 
+/usr/bin/dmenufm.conf:27> FM_ACTION_COLOR_BULK='#CB06CB' 
+/usr/bin/dmenufm.conf:30> XDGDIR1=/usr/share/applications 
+/usr/bin/dmenufm.conf:31> XDGDIR2=/usr/local/share/applications 
+/usr/bin//dmenufm:15> export SUDO_ASKPASS=/home/skuzzymiglet/.config/dmenufm/dmenufm_sudoprompt
+/usr/bin//dmenufm:18> CHOICE=placeholder 
+/usr/bin//dmenufm:19> actCHOICE=placeholder 
+/usr/bin//dmenufm:20> allselection=placeholder 
+/usr/bin//dmenufm:21> masselection=placeholder 
+/usr/bin//dmenufm:22> TARGET=./ 
+/usr/bin//dmenufm:23> BACKWARD=../ 
+/usr/bin//dmenufm:24> ENDSELECTION='End Selection' 
+/usr/bin//dmenufm:25> allowbulk=NotAllowed 
+/usr/bin//dmenufm:26> ACTION=Actions 
+/usr/bin//dmenufm:27> TERM=Terminal 
+/usr/bin//dmenufm:28> FM_PCP='PCP - Copy path' 
+/usr/bin//dmenufm:29> FM_NEW='NEW - Create new file / directory' 
+/usr/bin//dmenufm:30> FM_DEL='DEL - Delete files / directories' 
+/usr/bin//dmenufm:31> FM_MVV='MVV - Move files / directories' 
+/usr/bin//dmenufm:32> FM_YAK='YAK - Copy files / directories' 
+/usr/bin//dmenufm:33> FM_LNK='LNK - Symbolically link files / directories' 
+/usr/bin//dmenufm:34> FM_REM='REM - Rename files / directories' 
+/usr/bin//dmenufm:35> FM_TRH='TRH - Trash of dmenufm' 
+/usr/bin//dmenufm:36> FM_HIS='HIS - History of dmenufm' 
+/usr/bin//dmenufm:37> FM_BMK='BMK - Bookmark for dmenufm' 
+/usr/bin//dmenufm:38> FM_CMD='CMD - Frequently used command' 
+/usr/bin//dmenufm:39> FM_ZIP='ZIP - Compress files / directories' 
+/usr/bin//dmenufm:40> FM_SDO='SDO - Enable Super user privilege' 
+/usr/bin//dmenufm:41> FM_EYE='EYE - Preview files' 
+/usr/bin//dmenufm:42> ACTLIST=+/usr/bin//dmenufm:42> printf '%s\n' 'PCP - Copy path' 'NEW - Create new file / directory' 'MVV - Move files / directories' 'YAK - Copy files / directories' 'LNK - Symbolically link files / directories' 'DEL - Delete files / directories' 'TRH - Trash of dmenufm' 'REM - Rename files / directories' 'HIS - History of dmenufm' 'BMK - Bookmark for dmenufm' 'CMD - Frequently used command' 'ZIP - Compress files / directories' 'SDO - Enable Super user privilege' 'EYE - Preview files'
+/usr/bin//dmenufm:42> ACTLIST=$'PCP - Copy path\nNEW - Create new file / directory\nMVV - Move files / directories\nYAK - Copy files / directories\nLNK - Symbolically link files / directories\nDEL - Delete files / directories\nTRH - Trash of dmenufm\nREM - Rename files / directories\nHIS - History of dmenufm\nBMK - Bookmark for dmenufm\nCMD - Frequently used command\nZIP - Compress files / directories\nSDO - Enable Super user privilege\nEYE - Preview files' 
+/usr/bin//dmenufm:43> COMPRESSIONLIST=+/usr/bin//dmenufm:43> printf '%s\n' tar.gz tar.bz2 tar.xz xz lzma gz bz2 7z zip
+/usr/bin//dmenufm:43> COMPRESSIONLIST=$'tar.gz\ntar.bz2\ntar.xz\nxz\nlzma\ngz\nbz2\n7z\nzip' 
+/usr/bin//dmenufm:44> nl=$'\n' 
+/usr/bin//dmenufm:48> [ ! -d /home/skuzzymiglet/.config/dmenufm ']'
+/usr/bin//dmenufm:49> [ ! -d /home/skuzzymiglet/.cache/dmenufm ']'
+/usr/bin//dmenufm:50> [ ! -d /home/skuzzymiglet/.cache/dmenufm/trash ']'
+/usr/bin//dmenufm:51> printf '%s\n' '#!/bin/sh' 'dmenu -fn Monospace-18 -sb "#FEE12B" -sf "#1d2021" -nf "#000000" -nb "#000000" -p "$1" <&- && echo'
+/usr/bin//dmenufm:52> chmod +x /home/skuzzymiglet/.config/dmenufm/dmenufm_sudoprompt
+/usr/bin//dmenufm:54> . dmenufm-open
+/usr/bin//dmenufm:55> . dmenufm-action
+/usr/bin//dmenufm:56> . dmenufm-menu
+/usr/bin//dmenufm:68> CheckDeps find tail xdg-mime xdg-open sed grep wc cp mv rm paste cut id wmctrl xclip touch
+CheckDeps:1> CurDep=find
+CheckDeps:2> command -v find
+CheckDeps:1> CurDep=tail
+CheckDeps:2> command -v tail
+CheckDeps:1> CurDep=xdg-mime
+CheckDeps:2> command -v xdg-mime
+CheckDeps:1> CurDep=xdg-open
+CheckDeps:2> command -v xdg-open
+CheckDeps:1> CurDep=sed
+CheckDeps:2> command -v sed
+CheckDeps:1> CurDep=grep
+CheckDeps:2> command -v grep
+CheckDeps:1> CurDep=wc
+CheckDeps:2> command -v wc
+CheckDeps:1> CurDep=cp
+CheckDeps:2> command -v cp
+CheckDeps:1> CurDep=mv
+CheckDeps:2> command -v mv
+CheckDeps:1> CurDep=rm
+CheckDeps:2> command -v rm
+CheckDeps:1> CurDep=paste
+CheckDeps:2> command -v paste
+CheckDeps:1> CurDep=cut
+CheckDeps:2> command -v cut
+CheckDeps:1> CurDep=id
+CheckDeps:2> command -v id
+CheckDeps:1> CurDep=wmctrl
+CheckDeps:2> command -v wmctrl
+CheckDeps:1> CurDep=xclip
+CheckDeps:2> command -v xclip
+CheckDeps:1> CurDep=touch
+CheckDeps:2> command -v touch
+CheckDeps:6> unset CurDep
+/usr/bin//dmenufm:96> [ -n '' ']'
+/usr/bin//dmenufm:124> [ -n '' ']'
+/usr/bin//dmenufm:126> id -u
+/usr/bin//dmenufm:126> [ 1000 -eq 0 ']'
+/usr/bin//dmenufm:144> MainMenu
+MainMenu:1> [ -n placeholder ']'
+MainMenu:2> [ -n '' ']'
+MainMenu:5> Menu
+Menu:1> MenuDir
+MenuDir:1> IFS=$'\n' 
+MenuDir:2> DIRs=+MenuDir:3> dir=z
+MenuDir:4> [ -d z ']'
+MenuDir:2> DIRs='' 
+MenuDir:7> unset IFS
+Menu:2> MenuDotDir
+MenuDotDir:1> IFS=$'\n' 
+MenuDotDir:2> DOTDIRs=MenuDotDir:3: no matches found: .*
+MenuDotDir:2> DOTDIRs=+MenuDotDir:5> sed '\|^./$| d; \|^../$| d'
+MenuDotDir:2> DOTDIRs='' 
+MenuDotDir:7> unset IFS
+Menu:3> MenuFile
+MenuFile:1> IFS=$'\n' 
+MenuFile:2> FILEs=+MenuFile:3> file=z
+MenuFile:4> [ -f z ']'
+MenuFile:4> printf '%s\n' z
+MenuFile:2> FILEs=z 
+MenuFile:7> unset IFS
+Menu:4> MenuDotFile
+MenuDotFile:1> IFS=$'\n' 
+MenuDotFile:2> DOTFILEs=MenuDotFile:3: no matches found: .*
+MenuDotFile:2> DOTFILEs='' 
+MenuDotFile:7> unset IFS
+MainMenu:5> list=+MainMenu:5> printf '%s\n' '' z '' ''
+MainMenu:5> list=$'\nz' 
+MainMenu:7> [ '' '=' true ']'
+MainMenu:7> [ /home/skuzzymiglet/x '=' '' ']'
+MainMenu:12> TwoPWD
+TwoPWD:2> TMP=/home/skuzzymiglet 
+TwoPWD:3> TMP=skuzzymiglet 
+TwoPWD:4> [ 12 -ge 30 ']'
+TwoPWD:5> TMP2=x 
+TwoPWD:6> [ 1 -ge 30 ']'
+TwoPWD:7> TwoPWD=+TwoPWD:7> printf %s skuzzymiglet/x
+TwoPWD:7> TwoPWD=skuzzymiglet/x 
+TwoPWD:8> unset TMP TMP2
+MainMenu:13> CHOICE=+MainMenu:13> printf '%s\n' ../ ./ Actions Terminal $'\nz'
+MainMenu:13> CHOICE=+MainMenu:13> CHOICE=+MainMenu:13> yprompt skuzzymiglet/x '#005577'
+yprompt:1> dmenu -f -fn Monospace-15 -i -sb '#005577' -l 10 -p skuzzymiglet/x
+MainMenu:13> sed '/^$/ d'
+MainMenu:13> CHOICE='' 
+MainMenu:15> [ '' '=' ./ ']'
+MainMenu:23> [ '' '=' ../ ']'
+MainMenu:33> [ '' '=' Actions ']'
+MainMenu:35> [ '' '=' Terminal ']'
+MainMenu:37> [ -d '' ']'
+MainMenu:48> [ -f '' ']'
+MainMenu:58> break
+/usr/bin//dmenufm:147> printf %s /home/skuzzymiglet/x
skuzzymiglet commented 4 years ago

Do you have different program for st and st-256color?

st-256color is not a command for me

huijunchen9260 commented 4 years ago

Did you choose "Terminal" in the above output?

skuzzymiglet commented 4 years ago

no. here it is:

+/usr/bin//dmenufm:4> FM_PATH=/home/skuzzymiglet/.config/dmenufm 
+/usr/bin//dmenufm:5> FM_CACHE_PATH=/home/skuzzymiglet/.cache/dmenufm 
+/usr/bin//dmenufm:6> [ -r /home/skuzzymiglet/.config/dmenufm/dmenufm.conf ']'
+/usr/bin//dmenufm:8> [ -r /usr/bin/dmenufm.conf ']'
+/usr/bin//dmenufm:9> . /usr/bin/dmenufm.conf
+/usr/bin/dmenufm.conf:7> FM_BMKFILE=/home/skuzzymiglet/.config/dmenufm/dmenufm_bookmark 
+/usr/bin/dmenufm.conf:8> FM_CMDFILE=/home/skuzzymiglet/.config/dmenufm/dmenufm_command 
+/usr/bin/dmenufm.conf:9> FM_HISFILE=/home/skuzzymiglet/.config/dmenufm/dmenufm_history 
+/usr/bin/dmenufm.conf:10> FM_SDOPROP=/home/skuzzymiglet/.config/dmenufm/dmenufm_sudoprompt 
+/usr/bin/dmenufm.conf:11> FM_TRASH=/home/skuzzymiglet/.cache/dmenufm/trash 
+/usr/bin/dmenufm.conf:12> FM_LASTPATH=/home/skuzzymiglet/.cache/dmenufm/dmenufm_lastpath 
+/usr/bin/dmenufm.conf:13> FM_REMFILE=/home/skuzzymiglet/.cache/dmenufm/dmenufm_bulk_rename 
+/usr/bin/dmenufm.conf:14> FM_MASFILE=/home/skuzzymiglet/.cache/dmenufm/dmenufm_bulk_mass 
+/usr/bin/dmenufm.conf:15> FM_ZIPATH=/home/skuzzymiglet/.cache/dmenufm/compression/ 
+/usr/bin/dmenufm.conf:17> FM_MAX_HIS_LENGTH=5000 
+/usr/bin/dmenufm.conf:19> FM_GENERIC_FONT=Monospace-15 
+/usr/bin/dmenufm.conf:20> FM_NOTIF_FONT=Monospace-25 
+/usr/bin/dmenufm.conf:21> FM_DANGER_FONT=Monospace-20 
+/usr/bin/dmenufm.conf:23> FM_SUDO_COLOR=red 
+/usr/bin/dmenufm.conf:24> FM_GENERIC_COLOR='#005577' 
+/usr/bin/dmenufm.conf:25> FM_ACTION_COLOR_LV1='#33691e' 
+/usr/bin/dmenufm.conf:26> FM_ACTION_COLOR_LV2='#FF8C00' 
+/usr/bin/dmenufm.conf:27> FM_ACTION_COLOR_BULK='#CB06CB' 
+/usr/bin/dmenufm.conf:30> XDGDIR1=/usr/share/applications 
+/usr/bin/dmenufm.conf:31> XDGDIR2=/usr/local/share/applications 
+/usr/bin//dmenufm:15> export SUDO_ASKPASS=/home/skuzzymiglet/.config/dmenufm/dmenufm_sudoprompt
+/usr/bin//dmenufm:18> CHOICE=placeholder 
+/usr/bin//dmenufm:19> actCHOICE=placeholder 
+/usr/bin//dmenufm:20> allselection=placeholder 
+/usr/bin//dmenufm:21> masselection=placeholder 
+/usr/bin//dmenufm:22> TARGET=./ 
+/usr/bin//dmenufm:23> BACKWARD=../ 
+/usr/bin//dmenufm:24> ENDSELECTION='End Selection' 
+/usr/bin//dmenufm:25> allowbulk=NotAllowed 
+/usr/bin//dmenufm:26> ACTION=Actions 
+/usr/bin//dmenufm:27> TERM=Terminal 
+/usr/bin//dmenufm:28> FM_PCP='PCP - Copy path' 
+/usr/bin//dmenufm:29> FM_NEW='NEW - Create new file / directory' 
+/usr/bin//dmenufm:30> FM_DEL='DEL - Delete files / directories' 
+/usr/bin//dmenufm:31> FM_MVV='MVV - Move files / directories' 
+/usr/bin//dmenufm:32> FM_YAK='YAK - Copy files / directories' 
+/usr/bin//dmenufm:33> FM_LNK='LNK - Symbolically link files / directories' 
+/usr/bin//dmenufm:34> FM_REM='REM - Rename files / directories' 
+/usr/bin//dmenufm:35> FM_TRH='TRH - Trash of dmenufm' 
+/usr/bin//dmenufm:36> FM_HIS='HIS - History of dmenufm' 
+/usr/bin//dmenufm:37> FM_BMK='BMK - Bookmark for dmenufm' 
+/usr/bin//dmenufm:38> FM_CMD='CMD - Frequently used command' 
+/usr/bin//dmenufm:39> FM_ZIP='ZIP - Compress files / directories' 
+/usr/bin//dmenufm:40> FM_SDO='SDO - Enable Super user privilege' 
+/usr/bin//dmenufm:41> FM_EYE='EYE - Preview files' 
+/usr/bin//dmenufm:42> ACTLIST=+/usr/bin//dmenufm:42> printf '%s\n' 'PCP - Copy path' 'NEW - Create new file / directory' 'MVV - Move files / directories' 'YAK - Copy files / directories' 'LNK - Symbolically link files / directories' 'DEL - Delete files / directories' 'TRH - Trash of dmenufm' 'REM - Rename files / directories' 'HIS - History of dmenufm' 'BMK - Bookmark for dmenufm' 'CMD - Frequently used command' 'ZIP - Compress files / directories' 'SDO - Enable Super user privilege' 'EYE - Preview files'
+/usr/bin//dmenufm:42> ACTLIST=$'PCP - Copy path\nNEW - Create new file / directory\nMVV - Move files / directories\nYAK - Copy files / directories\nLNK - Symbolically link files / directories\nDEL - Delete files / directories\nTRH - Trash of dmenufm\nREM - Rename files / directories\nHIS - History of dmenufm\nBMK - Bookmark for dmenufm\nCMD - Frequently used command\nZIP - Compress files / directories\nSDO - Enable Super user privilege\nEYE - Preview files' 
+/usr/bin//dmenufm:43> COMPRESSIONLIST=+/usr/bin//dmenufm:43> printf '%s\n' tar.gz tar.bz2 tar.xz xz lzma gz bz2 7z zip
+/usr/bin//dmenufm:43> COMPRESSIONLIST=$'tar.gz\ntar.bz2\ntar.xz\nxz\nlzma\ngz\nbz2\n7z\nzip' 
+/usr/bin//dmenufm:44> nl=$'\n' 
+/usr/bin//dmenufm:48> [ ! -d /home/skuzzymiglet/.config/dmenufm ']'
+/usr/bin//dmenufm:49> [ ! -d /home/skuzzymiglet/.cache/dmenufm ']'
+/usr/bin//dmenufm:50> [ ! -d /home/skuzzymiglet/.cache/dmenufm/trash ']'
+/usr/bin//dmenufm:51> printf '%s\n' '#!/bin/sh' 'dmenu -fn Monospace-18 -sb "#FEE12B" -sf "#1d2021" -nf "#000000" -nb "#000000" -p "$1" <&- && echo'
+/usr/bin//dmenufm:52> chmod +x /home/skuzzymiglet/.config/dmenufm/dmenufm_sudoprompt
+/usr/bin//dmenufm:54> . dmenufm-open
+/usr/bin//dmenufm:55> . dmenufm-action
+/usr/bin//dmenufm:56> . dmenufm-menu
+/usr/bin//dmenufm:68> CheckDeps find tail xdg-mime xdg-open sed grep wc cp mv rm paste cut id wmctrl xclip touch
+CheckDeps:1> CurDep=find
+CheckDeps:2> command -v find
+CheckDeps:1> CurDep=tail
+CheckDeps:2> command -v tail
+CheckDeps:1> CurDep=xdg-mime
+CheckDeps:2> command -v xdg-mime
+CheckDeps:1> CurDep=xdg-open
+CheckDeps:2> command -v xdg-open
+CheckDeps:1> CurDep=sed
+CheckDeps:2> command -v sed
+CheckDeps:1> CurDep=grep
+CheckDeps:2> command -v grep
+CheckDeps:1> CurDep=wc
+CheckDeps:2> command -v wc
+CheckDeps:1> CurDep=cp
+CheckDeps:2> command -v cp
+CheckDeps:1> CurDep=mv
+CheckDeps:2> command -v mv
+CheckDeps:1> CurDep=rm
+CheckDeps:2> command -v rm
+CheckDeps:1> CurDep=paste
+CheckDeps:2> command -v paste
+CheckDeps:1> CurDep=cut
+CheckDeps:2> command -v cut
+CheckDeps:1> CurDep=id
+CheckDeps:2> command -v id
+CheckDeps:1> CurDep=wmctrl
+CheckDeps:2> command -v wmctrl
+CheckDeps:1> CurDep=xclip
+CheckDeps:2> command -v xclip
+CheckDeps:1> CurDep=touch
+CheckDeps:2> command -v touch
+CheckDeps:6> unset CurDep
+/usr/bin//dmenufm:96> [ -n '' ']'
+/usr/bin//dmenufm:124> [ -n '' ']'
+/usr/bin//dmenufm:126> id -u
+/usr/bin//dmenufm:126> [ 1000 -eq 0 ']'
+/usr/bin//dmenufm:144> MainMenu
+MainMenu:1> [ -n placeholder ']'
+MainMenu:2> [ -n '' ']'
+MainMenu:5> Menu
+Menu:1> MenuDir
+MenuDir:1> IFS=$'\n' 
+MenuDir:2> DIRs=+MenuDir:3> dir=z
+MenuDir:4> [ -d z ']'
+MenuDir:2> DIRs='' 
+MenuDir:7> unset IFS
+Menu:2> MenuDotDir
+MenuDotDir:1> IFS=$'\n' 
+MenuDotDir:2> DOTDIRs=MenuDotDir:3: no matches found: .*
+MenuDotDir:2> DOTDIRs=+MenuDotDir:5> sed '\|^./$| d; \|^../$| d'
+MenuDotDir:2> DOTDIRs='' 
+MenuDotDir:7> unset IFS
+Menu:3> MenuFile
+MenuFile:1> IFS=$'\n' 
+MenuFile:2> FILEs=+MenuFile:3> file=z
+MenuFile:4> [ -f z ']'
+MenuFile:4> printf '%s\n' z
+MenuFile:2> FILEs=z 
+MenuFile:7> unset IFS
+Menu:4> MenuDotFile
+MenuDotFile:1> IFS=$'\n' 
+MenuDotFile:2> DOTFILEs=MenuDotFile:3: no matches found: .*
+MenuDotFile:2> DOTFILEs='' 
+MenuDotFile:7> unset IFS
+MainMenu:5> list=+MainMenu:5> printf '%s\n' '' z '' ''
+MainMenu:5> list=$'\nz' 
+MainMenu:7> [ '' '=' true ']'
+MainMenu:7> [ /home/skuzzymiglet/x '=' '' ']'
+MainMenu:12> TwoPWD
+TwoPWD:2> TMP=/home/skuzzymiglet 
+TwoPWD:3> TMP=skuzzymiglet 
+TwoPWD:4> [ 12 -ge 30 ']'
+TwoPWD:5> TMP2=x 
+TwoPWD:6> [ 1 -ge 30 ']'
+TwoPWD:7> TwoPWD=+TwoPWD:7> printf %s skuzzymiglet/x
+TwoPWD:7> TwoPWD=skuzzymiglet/x 
+TwoPWD:8> unset TMP TMP2
+MainMenu:13> CHOICE=+MainMenu:13> printf '%s\n' ../ ./ Actions Terminal $'\nz'
+MainMenu:13> CHOICE=+MainMenu:13> CHOICE=+MainMenu:13> yprompt skuzzymiglet/x '#005577'
+MainMenu:13> sed '/^$/ d'
+yprompt:1> dmenu -f -fn Monospace-15 -i -sb '#005577' -l 10 -p skuzzymiglet/x
+MainMenu:13> CHOICE=Terminal 
+MainMenu:15> [ Terminal '=' ./ ']'
+MainMenu:23> [ Terminal '=' ../ ']'
+MainMenu:33> [ Terminal '=' Actions ']'
+MainMenu:35> [ Terminal '=' Terminal ']'
+MainMenu:36> st
+MainMenu:1> [ -n Terminal ']'
+MainMenu:2> [ -n '' ']'
+MainMenu:5> Menu
+Menu:1> MenuDir
+MenuDir:1> IFS=$'\n' 
+MenuDir:2> DIRs=+MenuDir:3> dir=z
+MenuDir:4> [ -d z ']'
+MenuDir:2> DIRs='' 
+MenuDir:7> unset IFS
+Menu:2> MenuDotDir
+MenuDotDir:1> IFS=$'\n' 
+MenuDotDir:2> DOTDIRs=MenuDotDir:3: no matches found: .*
+MenuDotDir:2> DOTDIRs=+MenuDotDir:5> sed '\|^./$| d; \|^../$| d'
+MenuDotDir:2> DOTDIRs='' 
+MenuDotDir:7> unset IFS
+Menu:3> MenuFile
+MenuFile:1> IFS=$'\n' 
+MenuFile:2> FILEs=+MenuFile:3> file=z
+MenuFile:4> [ -f z ']'
+MenuFile:4> printf '%s\n' z
+MenuFile:2> FILEs=z 
+MenuFile:7> unset IFS
+Menu:4> MenuDotFile
+MenuDotFile:1> IFS=$'\n' 
+MenuDotFile:2> DOTFILEs=MenuDotFile:3: no matches found: .*
+MenuDotFile:2> DOTFILEs='' 
+MenuDotFile:7> unset IFS
+MainMenu:5> list=+MainMenu:5> printf '%s\n' '' z '' ''
+MainMenu:5> list=$'\nz' 
+MainMenu:7> [ '' '=' true ']'
+MainMenu:7> [ /home/skuzzymiglet/x '=' '' ']'
+MainMenu:12> TwoPWD
+TwoPWD:2> TMP=/home/skuzzymiglet 
+TwoPWD:3> TMP=skuzzymiglet 
+TwoPWD:4> [ 12 -ge 30 ']'
+TwoPWD:5> TMP2=x 
+TwoPWD:6> [ 1 -ge 30 ']'
+TwoPWD:7> TwoPWD=+TwoPWD:7> printf %s skuzzymiglet/x
+TwoPWD:7> TwoPWD=skuzzymiglet/x 
+TwoPWD:8> unset TMP TMP2
+MainMenu:13> CHOICE=+MainMenu:13> printf '%s\n' ../ ./ Actions Terminal $'\nz'
+MainMenu:13> CHOICE=+MainMenu:13> CHOICE=+MainMenu:13> yprompt skuzzymiglet/x '#005577'
+MainMenu:13> sed '/^$/ d'
+yprompt:1> dmenu -f -fn Monospace-15 -i -sb '#005577' -l 10 -p skuzzymiglet/x
+MainMenu:13> CHOICE='' 
+MainMenu:15> [ '' '=' ./ ']'
+MainMenu:23> [ '' '=' ../ ']'
+MainMenu:33> [ '' '=' Actions ']'
+MainMenu:35> [ '' '=' Terminal ']'
+MainMenu:37> [ -d '' ']'
+MainMenu:48> [ -f '' ']'
+MainMenu:58> break
+/usr/bin//dmenufm:147> printf %s /home/skuzzymiglet/x
huijunchen9260 commented 4 years ago

If you type st in dmenu_run or your terminal, does it call another terminal?

skuzzymiglet commented 4 years ago

no

huijunchen9260 commented 4 years ago

Then that's probably st's problem. The dmenufm indeed called st, but the st doesn't open a new window for it. If you can run st in dmenu_run, I guess you can open Terminal in dmenufm