Cannot open font:Now yes this is likely just a certain font that is not installed on my
-b&h-lucidatypewriter-medium-r-normal-*-*-120-*-*-m-*-*-*
I would use something like sxhkd, but it does not seem to be available in the package manager.I checked that only TCL for X86_64 repo has this extension, so you can see if it works. If it doesn't, you'll have to compile it yourself.
is there any way I can control the volume at startup,
amixer set Master 100% > /dev/null
or might there be a way to remember the current volume after rebooting.This might require backing up one of the ALSA or Pulse profiles, which I don't know.
but I have no clue how to set up autoconnect.
wpa_supplicant -B -i wlan0 -c /home/tc/wpa_supplicant.conf > /dev/null &
udhcpc -i wlan0 > /dev/null &
... Finally, WiFi. The WiFi is working fine, and I can properly connectFrom the wifi.tcz.info file:
to my network, but I have no clue how to set up autoconnect. I know
there is probably some wiki or guide on it out there, ...
Found here:Comments: A console based tiny wifi scan access point tool.
Select from menu or type sudo wifi.sh
Creates wifi.db in HOME directory.
Can auto connect to first db entry with use of -a flag, e.g.,
/usr/local/bin/wifi.sh -a 2>&1 > /tmp/wifi.log
Add above to bootlocal or bootsync for quick auto connect.
When mobile, use menu for select list of APs.
wpa_supplicant driver is defined by /etc/sysconfig/wifi-wpadrv
default is wext. Add it to backup if changed.
Available drivers wext,nl80211
... Alright, first thing first; there is a very annoying pop-up messageMake sure you have Xorg-fonts.tcz installed.
when starting up X-Chat ...
-b&h-lucidatypewriter-medium-r-normal-*-*-120-*-*-m-*-*-*
to:-b&h-luxi mono-medium-r-normal-*-*-120-*-*-m-*-*-*
If you don't like that font, change the word mono to sans, or to serif. For a complete list of fonts, run this:xlsfonts
su $(/etc/sysconfig/tcuser)
cd ~/.X.d
editor auto.sh
chmod +x auto.sh
# Automatically sets my initialization volume size
amixer set Master 100% > /dev/null
# Automatically connect to my network hotspot
# wpa_supplicant -B -i wlan0 -c /home/tc/wpa_supplicant.conf > /dev/null &
# udhcpc -i wlan0 > /dev/null &
# It may be easier to use the method provided by Rich
/usr/local/bin/wifi.sh -a 2>&1 > /tmp/wifi.log
# To do other things here
Hi ONEThanks for the tip, I see.
Things that need to run before a GUI are started (like kmaps) should go into /opt/bootsync.sh.
Things that need to run after a GUI are started (like starting a GUI app) should go into ~/.X.d.
Things that are not sensitive to when they are started can go into /opt/bootlocal.sh which runs in the background.
So I tried replacing the font in the config, but after starting X-Chat (or just xchatQuote... Alright, first thing first; there is a very annoying pop-up messageMake sure you have Xorg-fonts.tcz installed.
when starting up X-Chat ...
Open the file ~/.xchat/xchat.conf. Change the 2 lines containing:Code: [Select]-b&h-lucidatypewriter-medium-r-normal-*-*-120-*-*-m-*-*-*
to:Code: [Select]-b&h-luxi mono-medium-r-normal-*-*-120-*-*-m-*-*-*
If you don't like that font, change the word mono to sans, or to serif. For a complete list of fonts, run this:Code: [Select]xlsfonts
#!/bin/sh
#Autoconnect to WiFi
/usr/local/bin/wifi.sh -a 2>&1 > /tmp/wifi.log
#Setup volume
pactl -- set-sink-mute 0 0
pactl -- set-sink-volume 0 40%
I had set up these commands inside of my boot scripts, and it works just asbut seeing as sxhkd is not available in my extension manager,
cd /tmp
wget http://mirrors.163.com/tinycorelinux/11.x/x86_64/tcz/sxhkd.tcz
wget http://mirrors.163.com/tinycorelinux/11.x/x86_64/tcz/sxhkd.tcz.dep
wget http://mirrors.163.com/tinycorelinux/11.x/x86_64/tcz/sxhkd.tcz.md5.txt
sudo cp sxhkd* /mnt/your_driver/tce/optional/
tce-load -i sxhkd
There are many hotkey binding programs besides sxhkd, like xbindkeys or actkbd. Many WMs also support such natively (jwm for one).