Results 1 to 5 of 5

Thread: VLC from Packman looks ugly in Gnome

  1. #1

    Default VLC from Packman looks ugly in Gnome

    Here we go again, same old, same old. This still seems to be unfixed.
    I installed VLC adding packman repo and the GUI looks awful in Gnome 3.26.2, pixelated and huge.

    Here are my repos:

    Code:
    epository priorities in effect:                (See 'zypper lr -P' for details)
          80 (raised priority)  :  1 repository  
          85 (raised priority)  :  1 repository  
          99 (default priority) :  4 repositories
    
    #  | Alias                     | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                | Service
    ---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------------+--------
     1 | dvd                       | dvd                                     | Yes     | (r ) Yes  | Yes     |   85     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.0/                                 |        
     2 | openSUSE-Leap-15.0-1      | openSUSE-Leap-15.0-1                    | No      | ----      | ----    |   99     | rpm-md | hd:///?device=/dev/disk/by-id/usb-0930_USB_Flash_Memory_0311267110336924-0:0-part2 |        
     3 | packman                   | packman                                 | Yes     | (r ) Yes  | Yes     |   80     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.0/                                   |        
     4 | repo-debug                | openSUSE-Leap-15.0-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/oss/                |        
     5 | repo-debug-non-oss        | openSUSE-Leap-15.0-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/non-oss/            |        
     6 | repo-debug-update         | openSUSE-Leap-15.0-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/oss/                           |        
     7 | repo-debug-update-non-oss | openSUSE-Leap-15.0-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/non-oss/                       |        
     8 | repo-non-oss              | openSUSE-Leap-15.0-Non-Oss              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/non-oss/                  |        
     9 | repo-oss                  | openSUSE-Leap-15.0-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/oss/                      |        
    10 | repo-source               | openSUSE-Leap-15.0-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/oss/               |        
    11 | repo-source-non-oss       | openSUSE-Leap-15.0-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/non-oss/           |        
    12 | repo-update               | openSUSE-Leap-15.0-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/oss/                                 |        
    13 | repo-update-non-oss       | openSUSE-Leap-15.0-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/non-oss/
    Code:
    Loading repository data...
    Reading installed packages...
    
    S  | Name                | Type        | Version         | Arch   | Repository            
    ---+---------------------+-------------+-----------------+--------+-----------------------
    i+ | VLC                 | application |                 | noarch | (System Packages)     
    i  | libvlc5             | package     | 3.0.2-lp150.3.2 | x86_64 | packman               
    i  | libvlccore9         | package     | 3.0.2-lp150.3.2 | x86_64 | packman               
    i+ | vlc                 | package     | 3.0.2-lp150.3.2 | x86_64 | packman               
    i  | vlc-codec-gstreamer | package     | 3.0.2-lp150.2.1 | x86_64 | openSUSE-Leap-15.0-Oss
    i  | vlc-noX             | package     | 3.0.2-lp150.3.2 | x86_64 | packman               
    i  | vlc-qt              | package     | 3.0.2-lp150.3.2 | x86_64 | packman
    Is there any package missing?

    Thanks.

  2. #2
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: VLC from Packman looks ugly in Gnome

    you seam to be missing the vlc-codecs package and are instead using vlc-codec-gstreamer from OSS which is restricted I'm amazed vlc even works for you
    you seam to have mixed vlc packages I'd recommend doing a full vendor change to packman
    do
    Code:
    zypper dup --from 3
    zypper in vlc-codecs
    after installing the vlc-codecs codecs package you should (it's up to you) remove vlc-codec-gstreamer as there is no need for vlc to use gstreamer as a backend
    Code:
    zypper rm vlc-codec-gstreamer
    what's your gpu if you have an nvida card you should also install vlc-vdpau what's the output of
    Code:
    sudo lspci | grep VGA
    vlc is a pure qt5 application it does not use any kf5 libraries and should work fine under gnome
    as I don't use gnome I have no idea how it is done but there should be an option for the look and feel of other tool kits in gnome control center
    maybe post a screenshot

  3. #3

    Default Re: VLC from Packman looks ugly in Gnome

    Hi,

    thanks for your help.
    I fixed the coded mess as you've said.

    My GPU is a HD Graphics 5500 Broadwell.

    The UI looks like this:



    Very out of proportions as you can see.

  4. #4
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: VLC from Packman looks ugly in Gnome

    as far as I can tell this is a qt5 issue with non qt5 Desktops (I only use plasma 5 and lxqt both are qt5 so I had no issue)
    the easiest solution would be to install qt5ct
    https://software.opensuse.org/package/qt5ct
    Code:
    zypper in qt5ct
    if you're using gnome's default adwaita theme don't forget to install the adwaita-qt5 theme
    Code:
    zypper in adwaita-qt5
    use qt5ct to configure the desired qt5 UI
    the more difficult way is to edit ~/.xprofile see these arch wiki pages
    https://wiki.archlinux.org/index.php...han_KDE_Plasma
    https://wiki.archlinux.org/index.php...K_applications

  5. #5
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: VLC from Packman looks ugly in Gnome

    I just read the qt5ct readne file and for it to take effect you have to manually edit ~/.profile
    Code:
    gedit ~/.profile
    and add the line
    Code:
    export QT_QPA_PLATFORMTHEME=qt5ct
    if you are using wayland instead of X
    you should add
    Code:
    export QT_QPA_PLATFORM=wayland
    export QT_QPA_PLATFORMTHEME=qt5ct
    for more information see the qt5ct README file located at
    /usr/share/doc/packages/qt5ct/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •