How to launch with specific window size commands

*nix specific usage questions
pwn3r
New Cone
New Cone
Posts: 3
Joined: 30 Aug 2023 03:35

How to launch with specific window size commands

Postby pwn3r » 30 Aug 2023 04:03

I'm running XFCE Arch, and I'm trying to do 2 separate things.

1) Edit the launcher to open VLC with a specific window size every time. Currently, VLC has an odd behavior of opening smaller and smaller vertically every time it is launched.

Presently, the launcher reads this in the command input: /usr/bin/vlc --started-from-file %U



2) Edit an xspf file to also launch at a specific window size. Not sure how to approach this.

Rémi Denis-Courmont
Developer
Developer
Posts: 15263
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to launch with specific window size commands

Postby Rémi Denis-Courmont » 30 Aug 2023 12:05

vlc --no-embedded-video --width 640 --height 480
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pwn3r
New Cone
New Cone
Posts: 3
Joined: 30 Aug 2023 03:35

Re: How to launch with specific window size commands

Postby pwn3r » 30 Aug 2023 18:19

This doesn't seem to change anything one way or the other. One other thing worth mentioning is that I have it started in "minimal view mode," the shrinking issue doesn't affect it if I start with menus but I never want any menus so that isn't a real option.

I also noticed I do have two files in ~/.config/vlc/

"vlc-qt-interface.conf" and "vlcrc" (no extension, but listed as "plain text document")

Also some other information:

Code: Select all

vlc --version VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2) VLC version 3.0.18 Vetinari (3.0.13-8-g41878ff4f2) Compiled by builduser on (Jul 16 2023 08:51:06) Compiler: gcc version 13.1.1 20230714 (GCC)

Code: Select all

pacman -Qi vlc Name : vlc Version : 3.0.18-13 Description : Multi-platform MPEG, VCD/DVD, and DivX player Architecture : x86_64 URL : https://www.videolan.org/vlc/ Licenses : LGPL2.1 GPL2 Groups : None Provides : None Depends On : a52dec libdvbpsi libxpm libdca libproxy lua52 libidn libmatroska taglib libmpcdec ffmpeg4.4 faad2 libmad libmpeg2 xcb-util-keysyms libtar libxinerama libsecret libupnp libixml.so=11-64 libupnp.so=17-64 libarchive qt5-base qt5-x11extras qt5-svg freetype2 fribidi harfbuzz fontconfig libxml2 gnutls libplacebo aribb24 Optional Deps : avahi: service discovery using bonjour protocol [installed] aom: AOM AV1 codec [installed] gst-plugins-base-libs: for libgst plugins [installed] dav1d: dav1d AV1 decoder [installed] libdvdcss: decoding encrypted DVDs [installed] libavc1394: devices using the 1394ta AV/C [installed] libdc1394: IEEE 1394 access plugin kwallet: kwallet keystore [installed] libva-vdpau-driver: vdpau backend nvidia libva-intel-driver: video backend intel libbluray: Blu-Ray video input [installed] flac: Free Lossless Audio Codec plugin [installed] twolame: TwoLAME mpeg2 encoder plugin [installed] libgme: Game Music Emu plugin vcdimager: navigate VCD with libvcdinfo libmtp: MTP devices discovery [installed] systemd-libs: udev services discovery [installed] smbclient: SMB access plugin libcdio: audio CD playback [installed] gnu-free-fonts: subtitle font [installed] ttf-dejavu: subtitle font [installed] libssh2: sftp access [installed] libnfs: NFS access [installed] mpg123: mpg123 codec [installed] protobuf: chromecast streaming [installed] libmicrodns: mDNS services discovery (chromecast etc) lua52-socket: http interface libdvdread: DVD input module [installed] libdvdnav: DVD with navigation input module [installed] libogg: Ogg and OggSpots codec [installed] libshout: shoutcast/icecast output plugin [installed] libmodplug: MOD output plugin [installed] libvpx: VP8 and VP9 codec [installed] libvorbis: Vorbis decoder/encoder [installed] speex: Speex codec [installed] opus: opus codec [installed] libtheora: theora codec [installed] libpng: PNG support [installed] libjpeg-turbo: JPEG support [installed] librsvg: SVG plugin [installed] x264: H264 encoding [installed] x265: HEVC/H.265 encoder [installed] zvbi: VBI/Teletext/webcam/v4l2 capture/decoding libass: Subtitle support [installed] libkate: Kate codec libtiger: Tiger rendering for Kate streams sdl_image: SDL image support [installed] srt: SRT input/output plugin [installed] aalib: ASCII art video output [installed] libcaca: colored ASCII art video output [installed] libpulse: PulseAudio audio output [installed] alsa-lib: ALSA audio output [installed] jack: jack audio server [installed] libsamplerate: audio Resampler [installed] libsoxr: SoX audio Resampler [installed] lirc: lirc control [installed] libgoom2: Goom visualization projectm: ProjectM visualisation ncurses: ncurses interface [installed] libnotify: notification plugin [installed] gtk3: notification plugin [installed] aribb25: aribcam support [installed] pcsclite: aribcam support [installed] live-media: streaming over RTSP Required By : None Optional For : obs-studio subtitleedit Conflicts With : vlc-plugin Replaces : vlc-plugin Installed Size : 58.16 MiB Packager : Antonio Rojas <arojas@archlinux.org> Build Date : Sun 16 Jul 2023 04:51:06 AM EDT Install Date : Sun 23 Jul 2023 07:00:24 PM EDT Install Reason : Explicitly installed Install Script : No Validated By : Signature

Rémi Denis-Courmont
Developer
Developer
Posts: 15263
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to launch with specific window size commands

Postby Rémi Denis-Courmont » 30 Aug 2023 21:08

You need to specify a media to play too
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pwn3r
New Cone
New Cone
Posts: 3
Joined: 30 Aug 2023 03:35

Re: How to launch with specific window size commands

Postby pwn3r » 31 Aug 2023 00:56

It plays the target file, but ignores the width/height numbers.

Ideally, I would like to play embedded, with the minimal interface enabled with a specific resolution.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests