LinuxQuestions.org
Visit Jeremy's Blog.
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 01-05-2019, 10:25 AM   #1
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
-current recent update xterm broken, mc poorly configured


Hi,

Xterm has no more fullscreen capability, trying to turn on fullscreen using xterm menu - at least under twm. Not mention default font make eyes very fast tired. Xterm looks now like xfce-terminal. Mc (midnight commander) opens *.ogg file with mplayer or gmplayer - I would say it is like shoot a fly with cannon. As I remember previously it used xmms. Will xmms be dropped from Slackware?
 
Old 01-05-2019, 11:22 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
Quote:
Originally Posted by igadoter
Mc (midnight commander) opens *.ogg file with mplayer or gmplayer
That's not what I see in the source file (of mc-4.8.22) misc/ext.d/sound.sh:
Code:
 
do_open_action() {
    filetype=$1

    case "${filetype}" in
    common)
        if [ -n "$DISPLAY" ]; then
            (xmms  "${MC_EXT_FILENAME}" >/dev/null 2>&1 &)
        else
            play "${MC_EXT_FILENAME}"
        fi
        ;;
    mod)
        mikmod "${MC_EXT_FILENAME}"
        #tracker "${MC_EXT_FILENAME}"
        ;;
    wav22)
        vplay -s 22 "${MC_EXT_FILENAME}"
        ;;
    mp3)
        if [ -n "$DISPLAY" ]; then
            (xmms "${MC_EXT_FILENAME}" >/dev/null 2>&1 &)
        else
            mpg123 "${MC_EXT_FILENAME}"
        fi
        ;;
    ogg)
        if [ -n "$DISPLAY" ]; then
            (xmms "${MC_EXT_FILENAME}" >/dev/null 2>&1 &)
        else
            ogg123 "${MC_EXT_FILENAME}"
        fi
        ;;
    midi)
        timidity "${MC_EXT_FILENAME}"
        ;;
    wma)
        mplayer -vo null "${MC_EXT_FILENAME}"
        ;;
    playlist)
        if [ -n "$DISPLAY" ]; then
            (xmms -p "${MC_EXT_FILENAME}" >/dev/null 2>&1 &)
        else
            mplayer -vo null -playlist "${MC_EXT_FILENAME}"
        fi
        ;;
    *)
        ;;
    esac
}
Looks like only the playlists are opened in mplayerm and only if DISPLAY is not set, i.e. if X is not started.

Last edited by Didier Spaier; 01-05-2019 at 11:56 AM. Reason: file name corrected
 
Old 01-05-2019, 05:21 PM   #3
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
@Didier: You see what you see. I posted how it works on my computer. I opened mc in xterm, bar was on ogg file, I pressed enter which caused gmplayer to start to play the file. That's all.
 
Old 01-05-2019, 07:06 PM   #4
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by Didier Spaier View Post
Code:
    wma)
        mplayer -vo null "${MC_EXT_FILENAME}"
        ;;
Looks like only the playlists are opened in mplayer and only if DISPLAY is not set, i.e. if X is not started.
And, so to see, wma files always (no if in this case), but without video (-vo).
 
Old 01-06-2019, 06:34 AM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,910

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
As best I remember, twm doesn't support the _NET_WM_STATE_FULLSCREEN hint. Using 'cwm' I can toggle fullscreen xterm either with alt-return, a window manager operation, or via xterm's pop-up menu, so I believe your choice of window-manager is the cause.


As for the font making your eyes tired, many people use the terminus font specifically because as a bitmap font it doesn't have any anti-alias shenanigans that would do that. Or, it could just be that your eyes react better to black-on-white (mine don't).

If you don't get on with the defauts you can always reconfigure xterm to use something else.

Last edited by GazL; 01-06-2019 at 06:56 AM.
 
Old 01-06-2019, 07:12 AM   #6
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Thanks @GazL: I can confirm that 'fullscreen' is working eg. under KDE. But fonts are poorly chosen. There is almost no vertical space between chars, signs. Signs are of different width. Horizontal space comparing to font size is also too small. If xterm is fully filed - is almost unreadable. So as it is now is OK for casual user. Say to input couple of commands or run inside mc. Have no idea why actually to configure xterm default to look and feel like xfce-terminal.
 
Old 01-07-2019, 04:02 AM   #7
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,910

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
Being a bitmapped font, some sizes will look better than others. The readme recommends avoiding the 6x12, 11x22, 14x28-bold and 16x32-normal variants, and the 8x14 does seem to lack vertical spacing in xterm. 8x16 and upwards look pretty good to me however.
 
  


Reply



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
LXer: Google's Fuchsia OS to Support Android Apps, Linux Servers with Poorly Configured IPMI Cards Prone to Attack, LinuxGizmos' 2019 SBC Ca LXer Syndicated Linux News 0 01-05-2019 04:34 AM
LXer: Poorly Configured DNSSEC = Potential DDoS Weapon LXer Syndicated Linux News 0 08-17-2016 05:28 PM
puppy thoughts after having a recent look see -- given recent developments .. jonyo Puppy 0 11-29-2011 08:45 PM
recent mplayer update in -current - cache issues mrclisdue Slackware 1 07-12-2011 10:18 PM
packages "not configured" after recent upgrade to Breezy Jessehk Ubuntu 4 06-04-2006 04:59 PM

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

All times are GMT -5. The time now is 07:58 AM.

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