You are not logged in.

#1 2013-11-28 11:32:23

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Vala GTK3 apps - Emendo, GMP Video, etc.

Programs bellow are written in Vala and GTK3 to be simple, lightweight but modern at the same time by following latest GTK3 design guidelines. Source code of all applications is available on github, page: https://github.com/alphaos/build in the sub-directory def-scripts/03_extra/.

Emendo
Text editor with syntax highlighting

It has tabs support, used GtkPopover for Find dialog and menu, includes syntax highlighting via GtkSourceView

emendo3.jpg

GMP Video
A GTK+ interface for mpv

This is a GTK3 front-end for command line player mpv, uses libmp-control, simple library which controls mpv through its slave mode.

PlayTV
Application that lets you watch live television over the Internet

alphaos_20140724155028.jpg

Simple Radio
Streaming player for listening to online radios

It provides notification update on song change.

Taeni
Multi-tabbed terminal emulator based on VTE
alphaos_20140724154708.jpg

Vestigo [ Discontinued ]
Modern, lightweight and simple file manager

Voyager
Fast and elegant image browser
alphaos_20140724154740.jpg

Wpset
A simple tool for changing your desktop wallpaper

Uses imlibsetroot as backend. To show wallpaper on window manager start, you would need to add

wpset-shell --init &

to your window manager's autostart script.

Last edited by simargl (2014-08-21 13:53:00)

Offline

#2 2013-11-28 11:46:58

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Perhaps something you might consider: upload the code to Git.

Last edited by Unia (2013-11-28 11:47:22)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#3 2013-11-29 22:10:57

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

All three AUR packages when building will use latest source from bitbucket, they are all in one same repository and I don't need to upgrade AUR scripts.

First post updated with a screen shot.

Cheers.

Offline

#4 2013-12-19 12:09:09

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Added Taeni

Taeni is a simple terminal emulator based on GTK+ and VTE

Offline

#5 2014-01-12 15:49:08

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Added GMP Video - MPlayer frontend in Vala and GTK3 and libmp-control - Library and Vala bindings to work with mplayer slave mode (used for gmp-video and simple-radio)

Offline

#6 2014-01-12 15:54:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

As the source changes without the PKGBUILD version increasing, you should append the package name with "-dev" or an appropriate vcs indicator.  You could also include a pkgver() function.  Check out *-git PKGBUILDs for examples.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2014-01-12 22:29:00

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Okay, I'll check that out, but as important to be correct is also to be easy for maintaining, and with this setup upgrading pkgbuilds with changing pkgver variables is not needed. Those packages wont have "official stable" releases, only direct build from bitbucket so I didn't add -hg extension. smile

---
Edit:
Fixed that problem, pkgver variables will now be dynamic as recommended in the Wiki

Last edited by simargl (2014-01-12 22:49:19)

Offline

#8 2014-01-17 15:31:15

nbvcxz
Member
From: Poland
Registered: 2007-12-29
Posts: 202

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Really admire your work - simple and useful. If you could add few features to programs - would be great.
1. GMP Video - work with other players eg. mpv vlc
2. Taeni - tabs ;-)
Also as Unia suggested it would be nice to have the code at Github - probably it could gain more attention and it would be easier to send you any issues.


Lenovo G50 | LXQT-git | compton | conky

Offline

#9 2014-01-19 18:15:03

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

When they add slave mode like in mplayer or something similar to mpv, then will probably switch to mpv as default, until then it's not possible to control mpv player from gtk window. For now latest changes are in GMP Video added volume control button, and wallpaper setter if someone is using it, complete UI redesign - which now reminds on nitrogen cool and save list of user added wallpaper's directories on program exit using Glib.Settings.

Offline

#10 2014-01-27 15:57:39

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Added new program PlayTV, a GTK3 based interface for playing on-line TV streams with mplayer
alphaos_20140127170012.jpg

Last edited by simargl (2014-01-27 16:01:40)

Offline

#11 2014-02-10 17:26:00

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Voyager is a Image browser in Vala and Gtk+3. It has support for slideshow, double click switch to full screen, browse previous/next image with keyboard keys, context menu items "set as wallpaper" if wpset is installed, "edit with gimp" if gimp is installed, zoom in and out with Gtk.Scale from its headerbar. By default image size on start is set according to width and height of the main window, except if image width is smaller than 400px - then it's loaded at 100%.

alphaos_20140210181101.jpg

Install with:

packer -S voyager

Depends only on Gtk3 and dconf for saving settings.

Last edited by simargl (2014-02-10 17:31:52)

Offline

#12 2014-02-10 22:12:39

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

@simargl

Amazing job! Planning to release a lightweight GTK3 IRC client?

Offline

#13 2014-03-21 17:12:26

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

gmp-video, playtv, simple-radio instead of mplayer2, are now based on its successor - mpv which is in active development. libmp-control is library used from all 3 programs to send commands to mpv in slave mode, so install that first.

Offline

#14 2014-03-22 10:28:52

nbvcxz
Member
From: Poland
Registered: 2007-12-29
Posts: 202

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Great - really great !!! You do really a great work. Have you considered writing something like lxpanelx (but with gtk3, no gnome deps)? The lightweight gtk3 panel is probably last piece to make (based on LXDE) full light DE in gtk3 (as spacefm is already great desktop manager). You created most of other base gtk3 apps - so you are close to have your own DE :-)

Last edited by nbvcxz (2014-03-22 10:53:52)


Lenovo G50 | LXQT-git | compton | conky

Offline

#15 2014-03-22 11:01:55

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

@nbvcxz

I think he is already working towards that wink

http://alphaos.tuxfamily.org/

Offline

#16 2014-03-23 18:55:15

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Thank you nbvcxz cool I'm glad someone is using those programs, for making panel there is no plan for that currently because I use tint2 and like it more then traditional panels. Will probably add some new widgets from Gtk+ 3.12 after its release, for example popover menu seems interesting.

Offline

#17 2014-04-17 16:55:38

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Taeni has got tabs support! And the App Menu...
https://wiki.gnome.org/Projects/GnomeSh … ds/AppMenu

Some other changes:
- Use Gtk.Application class in all apps, with Gnome like App Menu, and single window mode - for example when you have video playing in GMP Video, then click on new video file in File manager it will open new file in that same window.
- Voyager and playtv: replaced Gtk.Grid with Gtk.Paned,
- Gmp-video: keyevents Page_Up, Page_Down for fast forward/backward,
- Simple radio: control volume level with scroll wheel,
- Emendo: Ctrl+Wheel change font size.

Offline

#18 2014-06-06 14:20:26

bykfiend42
Member
Registered: 2014-06-06
Posts: 1

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Gmp video seems to leave mpv processes running every time I watch a video.

Offline

#19 2014-06-10 18:20:37

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

I've noticed that too, it doesn't happen always but occasionally mpv remains active even after program is closed, unfortunately I don't know how to fix it. On exit gmp-video sends stop command to fifo file, that should first stop the video then delete fifo and output file. And it always stops video playback, but mpv for some reason remains in memory. What's interesting when you click the Stop button in the middle of a video, then check for activity with pidof mpv it will in that case exit properly, not remain active. In both ways command sent to fifo is the same but result is different. Probably I did something wrong...

In case someone is willing to check the method it's here:
https://github.com/simargl/alphaos/blob … .vala#L130

Last edited by simargl (2014-06-10 18:25:14)

Offline

#20 2014-06-12 09:49:25

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

bykfiend42 wrote:

Gmp video seems to leave mpv processes running every time I watch a video.

I think this problem is fixed now, please try installing again. First you'll need to install package libmp-control then gmp-video. Also menu now uses GtkPopover, and looks great. Cheers!

Offline

#21 2014-06-12 12:57:45

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

@simargl

In line with your other great and simple applications, how about a calendar app that gives a simple overview of the days and weeks?

Offline

#22 2014-06-12 17:46:56

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Thanks orschiro, I'm glad if you find these apps useful. For calendar I have installed gsimplecal, works nice with tint2 it doesn't show weeks but it's doubtful I could make something better.

Offline

#23 2014-06-12 19:49:37

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

@simargl

Thanks for the suggestion. Didn't know about this one. Great piece of software although a bit odd to have no window borders:

XPqOrC0.png

Offline

#24 2014-07-13 17:33:12

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

GMP Video is now compatible with mpv version 0.4.x. Some more options are added, for example taking screenshot and volume control using keyboard shortcuts. dconf-editor is still required to change preferences.

Offline

#25 2014-07-21 17:12:12

simargl
Member
Registered: 2013-02-13
Posts: 51
Website

Re: Vala GTK3 apps - Emendo, GMP Video, etc.

Vestigo
File manager in Vala and GTK3

https://github.com/simargl/vestigo

Features:
- look close to nautilus
- minimal dependencies
- shows image thumbnails
- pdf preview also supported
- file operations are done with coreutils commands in the background
- those commands are executed synchronously
- adjusting settings with dconf-editor and path /org/alphaos/vestigo/preferences/

Testers are welcome!

Offline

Board footer

Powered by FluxBB