alphaomega Posted May 18, 2016 Share Posted May 18, 2016 Running Slackware current with Alien Bob's KDE 5 packages. Having an issue with UTF-8 in Dolphin and XMMS. I can't figure out what the problem is but I do know it works. it's just not working at the moment. In the pic you can see where in some places the character is correct and in other places it is not. /etc/profile.d/lang.sh export LANG=en_US.UTF-8 export LC_COLLATE=C /etc/profile.d/lang.csh setenv LANG en_US.UTF-8 setenv LC_COLLATE C /etc/lilo.conf lba32 boot = /dev/sdb3 bitmap = /boot/slack.bmp bmp-colors = 255,0,255,0,255,0 bmp-table = 60,6,1,16 bmp-timer = 65,27,0,255 append=" acpi_backlight=vendor vt.default_utf8=1" prompt timeout = 50 vga=791 image = /boot/vmlinuz initrd = /boot/initrd.gz root = /dev/sdb3 label = vmlinuz snippet from /var/log/Xorg.0.log X.Org X Server 1.18.3 Release Date: 2016-04-04 [ 35.922] X Protocol Version 11, Revision 0 [ 35.922] Build Operating System: Slackware 14.2 Slackware Linux Project [ 35.922] Current Operating System: Linux asusm32 4.4.10 #1 SMP Wed May 11 16:02:44 CDT 2016 x86_64 [ 35.922] Kernel command line: auto BOOT_IMAGE=vmlinuz ro root=813 acpi_backlight=vendor vt.default_utf8=1 [ 35.922] Build Date: 15 April 2016 11:05:21AM entry from /etc/fstab //192.168.1.1/Music /mnt/Music cifs ro,users,noauto,username=guest,password=guest,iocharset=utf8,sec=ntlm 0 0 got the following code examples from this page: http://superuser.com...e-in-arch-linux env | egrep '^(LANG|LC_)' | sort "to see what locale settings are in your shell's environment." LANG=en_US.UTF-8 LANGUAGE=en_US LC_COLLATE=C tr \\0 \\n < /proc/$PPID/environ | egrep '^(LANG|LC_)' | sort "to see the terminal's environment." after the most recent updates (to KDE 5_16.05) LANG=en_US.ISO-8859-1 LANGUAGE=en_US LC_COLLATE=C afer the previous set of updates (to KDE 5_16.04) LANG=en_US.UTF-8 LANGUAGE=en_US LC_COLLATE=C a few days ago when I noticed something was off because some of my music tracks disappeared and I went hunting for an answer LANG=en_US LANGUAGE=en_US LC_COLLATE=C When it is set to en.US.UTF-8 everthing is fine. Just can't figure out where that setting is getting changed. Anyone have any ideas? I'm lost. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted May 18, 2016 Share Posted May 18, 2016 Those are caused by issues with unicode characters. I'm sure you have already went through this: http://www.slackwiki...8_linux_console It looks like you have most of those already enabled. Did you reboot after applying the changes? Quote Link to comment Share on other sites More sharing options...
securitybreach Posted May 18, 2016 Share Posted May 18, 2016 It shouldn't matter but in lilo, move the append line so that it is below the label=.... line. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted May 18, 2016 Share Posted May 18, 2016 Just can't figure out where that setting is getting changed. Anyone have any ideas? I'm lost. In Slackware, I believe that would be in /etc/profile. After changing it, run source /etc/profile as root Quote Link to comment Share on other sites More sharing options...
alphaomega Posted May 19, 2016 Author Share Posted May 19, 2016 (edited) Those are caused by issues with unicode characters. I'm sure you have already went through this: http://www.slackwiki...8_linux_console It looks like you have most of those already enabled. Did you reboot after applying the changes? I rebooted after making the change and no difference. from reading that page I understood it to mean that I need the following in lilo.conf append=" acpi_backlight=vendor vt.default_utf8=1" and the following in /etc/profile.d/lang.sh export LANG=en_US.UTF-8 I have those set and it is still not working correctly. It shouldn't matter but in lilo, move the append line so that it is below the label=.... line. moving the append line also didn't change anything Just can't figure out where that setting is getting changed. Anyone have any ideas? I'm lost. In Slackware, I believe that would be in /etc/profile. After changing it, run source /etc/profile as root I tried with the export entry in /etc/profile and then in ~/.bash_profile and still no change my locale settings indicate that I'm using UTF-8 so I don't know $ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE=C LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= from what I understand this is the entry that sets the terminal to UTF-8 append=" acpi_backlight=vendor vt.default_utf8=1" but that is not what I'm seeing $ tr \\0 \\n < /proc/$PPID/environ | egrep '^(LANG|LC_)' LC_COLLATE=C LANG=en_US.ISO-8859-1 LANGUAGE=en_US but UTF-8 is working in some places and the track plays Edited May 19, 2016 by alphaomega Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted May 19, 2016 Share Posted May 19, 2016 (edited) My Terminal... My ~/.bash_profle # /home/vtel57/.bash_profile # make sure .bashrc works source ~/.bashrc My /etc/profile # /etc/profile: This file contains system-wide defaults used by # all Bourne (and related) shells. # Set the values for some environment variables: export MINICOM="-c on" export MANPATH=/usr/local/man:/usr/man export HOSTNAME="`cat /etc/HOSTNAME`" export LESSOPEN="|lesspipe.sh %s" export LESS="-M" # If the user doesn't have a .inputrc, use the one in /etc. if [ ! -r "$HOME/.inputrc" ]; then export INPUTRC=/etc/inputrc fi # Set the default system $PATH: PATH="/usr/local/bin:/usr/bin:/bin:/usr/games" # For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in # the $PATH. Some means of connection don't add these by default (sshd comes # to mind). if [ "`id -u`" = "0" ]; then echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null if [ ! $? = 0 ]; then PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH fi fi # I had problems with the backspace key using 'eval tset' instead of 'TERM=', # but you might want to try it anyway instead of the section below it. I # think with the right /etc/termcap it would work. # eval `tset -sQ "$TERM"` # Set TERM to linux for unknown type or unset variable: if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then TERM=linux fi # Set ksh93 visual editing mode: if [ "$SHELL" = "/bin/ksh" ]; then VISUAL=emacs # VISUAL=gmacs # VISUAL=vi fi # Set a default shell prompt: #PS1='`hostname`:`pwd`# ' if [ "$SHELL" = "/bin/pdksh" ]; then PS1='! $ ' elif [ "$SHELL" = "/bin/ksh" ]; then PS1='! ${PWD/#$HOME/~}$ ' elif [ "$SHELL" = "/bin/zsh" ]; then PS1='%n@%m:%~%# ' elif [ "$SHELL" = "/bin/ash" ]; then PS1='$ ' else PS1='\u@\h:\w\$ ' fi PS2='> ' export PATH DISPLAY LESS TERM PS1 PS2 # Default umask. A umask of 022 prevents new files from being created group # and world writable. umask 022 # Notify user of incoming mail. This can be overridden in the user's # local startup file (~/.bash.login or whatever, depending on the shell) if [ -x /usr/bin/biff ]; then biff y 2> /dev/null fi # Append any additional sh scripts found in /etc/profile.d/: for profile_script in /etc/profile.d/*.sh ; do if [ -x $profile_script ]; then . $profile_script fi done unset profile_script My XMMS playing the song above I think your issue may be with KDE, not Slackware or bash. EDITED to remove the annoying [ size=4] ... [ /size] ubbcode that this board's software insists on adding to code and text message box postings. It's been doing this for a year or so now. I would love to see this fixed. Edited May 19, 2016 by V.T. Eric Layton Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted May 19, 2016 Share Posted May 19, 2016 (edited) Oh, and my locale settings... LASER: Failed death ray. vtel57@ericsbane06~:$ locale LANG=en_US LC_CTYPE="en_US" LC_NUMERIC="en_US" LC_TIME="en_US" LC_COLLATE=C LC_MONETARY="en_US" LC_MESSAGES="en_US" LC_PAPER="en_US" LC_NAME="en_US" LC_ADDRESS="en_US" LC_TELEPHONE="en_US" LC_MEASUREMENT="en_US" LC_IDENTIFICATION="en_US" LC_ALL= Edited May 19, 2016 by V.T. Eric Layton Quote Link to comment Share on other sites More sharing options...
Hedon James Posted May 19, 2016 Share Posted May 19, 2016 Love the musical selections VT! Have you ssh'd into my box and streamed my collection to yours? LOL! Almost missed this one..."Does the name Pavlov ring a bell?"...BWAHAHAHAHAHA!!!!! 1 Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted May 20, 2016 Share Posted May 20, 2016 Heck, that's just the Hard Rock folder. There's much more in there... \m/ ROCK ON! Quote Link to comment Share on other sites More sharing options...
alphaomega Posted May 23, 2016 Author Share Posted May 23, 2016 just a follow up: issue did not occur in a new user account tried a new .kde folder issue still there with a new .config folder the issue is now gone back to your music 3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.