LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-18-2017, 11:51 AM   #16
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled

Ah. An encoding problem it looks like. Which terminal are you using? And what is your locale set to?

I'm using some utf8 characters in the menus now. I guess a test to see if unicode is enabled would be the right way to do this.

Last edited by dive; 12-18-2017 at 11:52 AM.
 
Old 12-18-2017, 11:53 AM   #17
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
@sunta

You use a non-English language?
 
Old 12-18-2017, 11:55 AM   #18
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
I don't think it's a language problem. It's how utf8 characters look in a non-utf8 terminal.
 
1 members found this post helpful.
Old 12-18-2017, 11:56 AM   #19
sunta
LQ Newbie
 
Registered: Nov 2017
Distribution: Slackware
Posts: 22

Rep: Reputation: Disabled
I'm using rxvt, LANG=en_US?
 
Old 12-18-2017, 11:59 AM   #20
sunta
LQ Newbie
 
Registered: Nov 2017
Distribution: Slackware
Posts: 22

Rep: Reputation: Disabled
@Darth Vader, nope I'm from the UK.
 
Old 12-18-2017, 12:05 PM   #21
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by sunta View Post
I'm using rxvt, LANG=en_US?
QED. No UTF8 terminal, like @dive suspected.

@dive

For the SOMA from -current, in a terminal logged as ordinary user, show me no stations. Just the main screen, and the other sub-pages looks working, only the first menu item (change station) nope.

I.e. I changed theme to slack.

Last edited by Darth Vader; 12-18-2017 at 12:15 PM.
 
Old 12-18-2017, 12:11 PM   #22
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
rxvt doesn't support utf8 and you aren't using a utf8 locale anyway. I will put in some checks to avoid this, but if you want to use utf8 then you need to:

Either:

Put 'export LANG=en_US.UTF-8' somewhere in your shell startup script (.bashrc, .bash_profile, .zshrc etc), or:
Edit /etc/profile.d/lang.sh and change it there for a system-wide setting.

Then you need to use a UTF-8 enabled terminal. There are a few that come with slack, like uxterm (basically utf8 enabled xterm), xfce4-terminal, konsole. Out of these I'd probably go with uxterm or xfce4-terminal. Konsole will probably want to bring with it a bunch of kde libs (unless you are already using kde and don't care?)

There are some out-of-stock terminals you could use, like Terminator (uses the vte plugin lib the same as xfce4-terminal), rxvt-unicode/urxvt (a closer match to rxvt and lighter than terminator/xfce4-term). Both terminator and urxvt are on slackbuilds.org (search for rxvt to find urxvt on slackbuilds.org).

If you want to enable utf8 in the plain linux (non-x) console then you can add vt.default_utf8=1 to the append list in /etc/lilo.conf.

Example from mine:

append=" vt.default_utf8=1 raid=noautodetect ipv6.disable=1"

near the top of lilo.conf. Then run lilo.

I hope that this info has been useful. Let me know if you have any problems doing any of the above.
 
Old 12-18-2017, 12:17 PM   #23
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader View Post
QED. No UTF8 terminal, like @dive suspected.

@dive

SOMA from -current, in a terminal logged as ordinary user, show me no stations. Just the main screen, and the other sub-pages looks working, only the first menu item (change station) nope.

I.e. I changed theme to slack.
This came in while I was typing to the previous Q.

But you are using the soma in -current now, or the updated one that I posted in this thread. The version in -current doesn't work properly because of changes in dialog that means my old method of using slashes in the station list no longer works. Since I found out that I've been developing soma in -current and then testing on 14.2.

The version in this thread ought to work. Please let me know.
 
Old 12-18-2017, 12:19 PM   #24
sunta
LQ Newbie
 
Registered: Nov 2017
Distribution: Slackware
Posts: 22

Rep: Reputation: Disabled
dive, what terminal are you testing soma on?
 
Old 12-18-2017, 12:21 PM   #25
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
sunta, in -current I'm using the plain linux console, ie without X. But it is utf8 enabled. In 14.2 I'm using terminator.

But, since your first post here I tested in rxvt and uxterm.
 
Old 12-18-2017, 12:24 PM   #26
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by dive View Post
This came in while I was typing to the previous Q.
No problem.

Quote:
Originally Posted by dive View Post
But you are using the soma in -current now, or the updated one that I posted in this thread. The version in -current doesn't work properly because of changes in dialog that means my old method of using slashes in the station list no longer works. Since I found out that I've been developing soma in -current and then testing on 14.2.

The version in this thread ought to work. Please let me know.
I talk about the one shipped by -current, not this 3.x series.

But how you are aware about issue, and hopefully is fixed into 3.x, I will upgrade it right now.
 
Old 12-18-2017, 12:26 PM   #27
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
It was posted on this forum when I announced it. I made a current VM and did some debugging. I wasn't even aware that dialog was still being developed, but it is, and has changed since 14.2.
 
Old 12-18-2017, 12:30 PM   #28
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
The 3.0.2 works fine in the now -current. Tested with BBC Radio 1

BUT no love for ambient music? You know, the thing for ambiance and relaxing, while you do something else, i.e. working.

Last edited by Darth Vader; 12-18-2017 at 12:32 PM.
 
Old 12-18-2017, 12:32 PM   #29
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
I had a 4 hour recording of rain and thunder filched from youtube. Bliss! I recommend it.

Well if you find any let me know. There may be something on that tunein website, but I haven't had time to explore it all yet.
 
Old 12-18-2017, 12:41 PM   #30
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Long story short, the SOMA is impressive! Congratulations!

But I am a bit disappointed that it refuse to work as root, that I consider a sign of Fortress Syndrome.

Come on! What thing you consider I do more dangerous in that computer? Building the Apache Tomcat and all the JAVAish suite or listening in the same time to BBC Radio in a pair of desktop cases about 1W each one?

Last edited by Darth Vader; 12-18-2017 at 12:56 PM.
 
  


Reply

Tags
internet, radio, soma, stations



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] Soma 2.13.0 dive Slackware 12 12-17-2017 07:06 PM
[ANN] Soma 2.10.6 dive Slackware 0 01-23-2016 12:48 AM
[ANN] Soma 2.8.1 dive Slackware 2 01-26-2012 01:55 AM
[ANN] Soma 2.7.5 dive Slackware 1 11-06-2011 08:06 PM
[ANN] Soma 2.7.1 dive Slackware 8 08-27-2011 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration