Tiny Core Extensions > TCE Corepure64
[Solved] Sound on ThinkPad T440p
aus9:
Hi Rich and MikeLockmoore
I am not interested in using FLWM others should be able to help there but why not create a ~/.local/bin/file contents
--- Quote ---#!/bin/sh
aterm -fn 12x24
--- End quote ---
make it executable.
The file name is your choice, lets pretend you are not using sway so z is available as an executable name, eg on my RPi
--- Code: ---sudo find / -name z
/tmp/tcloop/ncurses-terminfo/usr/local/share/terminfo/z
/usr/local/share/terminfo/z
--- End code ---
Naturally it depends on what TCEs you load for the filename you choice. Did you guess I like short names?
If home is backed up, after testing your .local/bin do a reboot
2) I am on a RPi at the moment and download unpack of flwm.tcz gives me an idea but Rich may be upset I think I know more than him and I agree to I do not...
Hi Rich I am looking at flwm_initmenu which reads in part
--- Quote ---USER="$(cat /etc/sysconfig/tcuser)"
SYSMENU=/home/"$USER"/.wmx
[ -d "$SYSMENU" ] && rm -rf "$SYSMENU"
mkdir -p "$SYSMENU"
TARGET="$SYSMENU"/SystemTools && mkdir "$TARGET"
sync
for D in `ls /usr/local/share/applications/tinycore-*`; do
writeFLWMitem "$D"
done
--- End quote ---
For me, [ -d "$SYSMENU" ] is a reversed if-then so it looking for a missing dir called /home/"$USER"/.wmx
but for most examples I have seen the next command should be ||
but it does not make sense for && delete dir unless you always wanted to have a clean dir?
--- Quote ---[ -d "$SYSMENU" ] || mkdir -p "$SYSMENU"
--- End quote ---
I have history of opening big gob so feel free to laugh at my lack of skills ok
Rich:
Hi MikeLockmoore
--- Quote from: MikeLockmoore on June 11, 2023, 06:54:33 PM --- ... I took .wmx out of the .xfiletool.lst file ...
--- End quote ---
Don't do that.
--- Quote --- ... and even putting .wbar and .wmx into filetool.lst ...
--- End quote ---
Don't do that.
If you place the attached file in ~/.X.d it should fix the ~/.wmx/Applications/Terminal
and /usr/local/tce.icons files when X starts.
Make sure aterm.tcz is onboot.
[EDIT] Fixed attachment. Rich
Rich:
Hi aus9
--- Quote from: aus9 on June 11, 2023, 10:06:41 PM --- ... but it does not make sense for && delete dir unless you always wanted to have a clean dir? ...
--- End quote ---
That's exactly its purpose. Delete the directory if it exists prior to
creating the directory.
MikeLockmoore:
--- Quote from: Rich on June 11, 2023, 08:13:32 PM ---Hi MikeLockmoore
xinput is part of Xorg-7.7-bin.tcz. It is available in both 32 and 64 bit.
--- End quote ---
OK, will check into it. Thanks!
MikeLockmoore:
--- Quote from: Rich on June 11, 2023, 10:52:13 PM ---Hi MikeLockmoore
--- Quote from: MikeLockmoore on June 11, 2023, 06:54:33 PM --- ... I took .wmx out of the .xfiletool.lst file ...
--- End quote ---
Don't do that.
--- Quote --- ... and even putting .wbar and .wmx into filetool.lst ...
--- End quote ---
Don't do that.
If you place the attached file in ~/.X.d it should fix the ~/.wmx/Applications/Terminal
and /usr/local/tce.icons files when X starts.
Make sure aterm.tcz is onboot.
--- End quote ---
I tweaked the file to use 10x20 font, placed it in ~/.X.d, and chmod'ed it to 755. I also reversed the changes to my xfiletool.lst and filetool.lst files. After reboot, the terminal from the FLWM floating window is launching aterm with my specified font, so success on the .wmx side. However, I did not get the same result from the icon in wbar. I tried to run this command in a terminal (not as su):
--- Code: ---sed -i 's/^c: exec aterm$/c: exec aterm -fn 10x20/' /usr/local/tce.icons
--- End code ---
And it fails:
"sed: can't create temp file '/usr/local/tce.iconsNaEVuL': Permission denied"
I'm going to try this version of FixATerm (added sudo, took out $ from the substitution pattern... not really needed in this case, is it?):
--- Code: ---[ -f ~/.wmx/Applications/Terminal ] && echo -e "#!/bin/sh\nexec aterm -fn 10x20"
sudo sed -i 's/^c: exec aterm/c: exec aterm -fn 10x20/' /usr/local/tce.icons
wbar.sh
--- End code ---
Will edit or post results after reboot...
EDIT: It worked!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version