Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 19 Apr 2014, 02:36
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
veRTix
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
WarMocK


Joined: 05 Jul 2007
Posts: 169

PostPosted: Fri 13 Jul 2012, 12:59    Post subject:  veRTix
Subject description: a small starter panel for a BIG project
 

Heyho people,
time for me to show that I'm still alive and working on my linux projects (not only K-9 Linux, but also on a few related POC-Distros projects).
What I have here is one of the key components of Project veRTix: a Puppy-based distribution for games. Only the stuff you need for gaming, nothing more. Cool

--- How to start it: ---
The binary is /usr/local/vertix/vertix. WARNING! It will not be listed in the taskbar, shown on a pager, and requires a total of 200 px from the top border of the screen to be displayed. For the start, open it from a console just in case to see if it works properly.

--- What it does: ---
Technically: not much. It's supposed to be used on a very minimalistic desktop environment and on a system with only a few applications to be started, for example the gaming distro I'm working on. The panel takes a screenshot from the current desktop when it's being launched (therefore, keep the top 200 pixels free of any icons, widgets, and/or windows, as they'd be caught on the screenshot as well) and uses it for displaying a pseudeo-transparent panel comparable to a main menu from a game. It's not supposed to be a highly configurable jack-of-all-trades, I designed it to do a few things, and at least on my PC, it does them quite well. Very Happy

The veRTix panel sits on top of the screen powered by a minimalistic window manager (right now I'm using evilwm) and provides exactly FIVE buttons, all of them specialized on doing exactly one particular thing:

PLAY! - opens a list of executable binaries listed in /usr/local/vertix/config/config. IMPORTANT: the binary to be started needs to be named exactly as written in the config!!! Of course that means that you can't add fancy names in that config by default - unless you create a shellscript in /usr/sbin which starts the program/game you want, and rename it to sound cool, of course. Wink

BROWSE - opens the default web browser

MANAGE - opens /usr/local/vertix/scripts/filemanager (you can edit the file manager to be used by replacing "rox" in the script with the file manager of your choice).

SETTINGS - opens /usr/local/vertix/scripts/settingsmanager (same as above. You can edit the shellscript as you see fit).

QUIT - opens TinyLogout, which I included in the dotpet.

You can change the skin of veRTix by replacing the images in /usr/local/vertix/images. However you must stick to their dimensions, as they are hardcoded into the sourcecode file.

Last but not least, you can also find the source code file in the same directory as the binary if you want to make some adjustments. For compiling the code, I personally used the following, either in a terminal in /usr/local/vertix/ or in a shellscript in that directory:

Code:
g++ -Wall -pedantic -o ./vertix ./vertix.c `pkg-config --cflags --libs gtk+-2.0`


Feedback and constructive criticism is always welcome. Have fun with it! ^^

vertix-1.0.pet
Description 
pet

 Download 
Filename  vertix-1.0.pet 
Filesize  136.31 KB 
Downloaded  203 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0451s ][ Queries: 13 (0.0088s) ][ GZIP on ]