March 11, 2011, 10:05:20 Last Edit: June 19, 2011, 21:39:17 by mgrubert
My first layout (inspiration : aboettger 's Arkanoid layout)

Updated : 3/13/2011
Updated : 3/18/2011 small corrections
Updated : 5/12/2011 unity-compatible (classical menu was deleted in previous version to optimise size, but, with unity, this menu is integrated in the top bar so it comes back in my layout) + fullscreen mode
Updated : 19/06/2011 small corrections


[Garage]
Author= MajorGrubert (with aboettger's help and inspiration)
Type=G+

# Major Grubert was a fictional character being used by Moebius in his comics from the 1970s.
# Major Grubert appeared in "Le Garage Hermétique"

Default = Window(size=90%x80%) HPMainPannel(size=100) HPCentreEtDroite(size=300) HPPanneaux(size=150)

VolumeScroll = VBVolume HPNowplaying


VBMain = HBMenu _VBMainContainer

HBMenu = _MBmenu

MBmenu = MainMenuItem LayoutItem PSortItem PFilterItem QueueItem

VBMainContainer = 3Filler1 _HPMainPannel 3Filler2

HPMainPannel = _VBMainGauche _HPCentreEtDroite

HPCentreEtDroite = _VPMainCentre _VPDroite




############################
# Left
############################

VBMainGauche =  HBSearchBar _FilterPane2(nb=1,hidetabs=0,hidebb=1,tabpos=left90,page=savedtree,pages=savedtree)

HBSearchBar = (minheight=34,maxheight=34)  ResetFilter2 2_SimpleSearch(noselector=1,suggest=0)   
 

############################
# Middle
############################

VPMainCentre = _HPPanneaux _VBSongtree


HPPanneaux = _HPAlbumArtist _HBGenre
HBGenre = _FilterPane5(nb=4,hidebb=1,pages=genre,page=genre,page_genre/mode=cloud,page_genre/cloud_min=8,page_genre/sort=alpha)
HPAlbumArtist = _HBArtist _HBAlbum
HBArtist = _FilterPane0(nb=2,\
                      hidebb= 1,\
      hidetabs= 1,\
      min= 1,\
      page= artist,\
page_artist/depth= 1,\
page_artist/lmarkup= 1,\
page_artist/lpicsize= '-1|16',\
      pages= artist)
HBAlbum = _FilterPane1(nb=3,\
hidebb= 1,\
      hidetabs= 1,\
      min= 1,\
      page= album,\
      page_album/lmarkup= 1,\
page_album/lpicsize= 64,\
page_album/mmarkup= below,\
page_album/mode=mosaic,\
page_album/sort= year,\
      pages=album)   

VBSongtree =  _SongTree HBTotal
   
HBTotal = -Total(size=small)



############################
# Right
############################

VPDroite =  HPNowplaying _VBListsETBoutons

############ Info artist, cover, volume, time bar zone ##########

HPNowplaying = VBCover _HBSongInfoEtControlsEtTimebarEtVolume
               
                VBCover = _Filler6 Cover(default=elementary/no-cover.svg,showcover=0,minsize=200,maxsize=400) Stars _Filler7

HBSongInfoEtControlsEtTimebarEtVolume = _VBSongInfoEtControlsEtTimebar VBVolume

VBVolume = VolumeIcon(button=1) _VolumeSlider(1,0)

VBSongInfoEtControlsEtTimebar = -HBControls _VBSongInfoEtTimebar

VBSongInfoEtTimebar = _Filler8 VBSongInfo _Filler9 -HBTimeBar

VBSongInfo =  \
    _HBInfoTitre \
    _HBInfoArtist \
    _HBInfoalbum \
_HBInfoGenre

HBInfoTitre = 2Filler10 _Title(minsize=0,markup="<big><big><big><b>%t</b></big></big></big>",click1="",yalign=0.5)
HBInfoArtist = 2Filler11 _Artist(yalign=1,minsize=0,markup="<big><big>par %a</big></big>",click1="")
HBInfoalbum = 2Filler12 _Album(minsize=1,expand_max=200,yalign=1,markup="dans %l",click1="") -2Filler13 -Date
HBInfoGenre = -2Filler20 -Title2(yalign=1,minsize=0,markup="<i>%g</i> ",click1="")
group
HBTimeBar = 2Filler14 _TimeBar 2Filler15

HBControls = \
_Filler16 \
Prev(size=large-toolbar,tip=_"Previous Song") \
Play(size=large-toolbar,tip=_"Play/Pause") \
Stop(size=large-toolbar,tip=_"Stop") \
Next(size=large-toolbar,tip=_"Next Song") \
_Filler17

############## Lists and bottom buttons ##################               

VBListsETBoutons = _NBSidebar1 HBBouton

NBSidebar1 = (tabpos=right90,typesubmenu='PC') \
                VBQueueList \
                VBPlayList

VBQueueList = (tabtitle=_"Queue") \
                    EditListButtons(group=2,small=1,relief=none) \
                    _QueueList(cols="queuenumber titleaa",colwidth="queuenumber 20",sort="path album:i disc track file",songtree=0,group=2) \
    HBQueueActions

                                HBQueueActions = Total1(size="small",group=2) -QueueActions

                VBPlayList = (tabtitle=_"Playlist") \
                            _SongList(cols="playandqueue titleaa",colwidth="queuenumber 20",sort="path album:i disc track file",mode=playlist,group=1,follow=1)

##############  Boutons ############################

HBBouton = \
Fullscreen(size=button,minwidth=34,maxwidth=34) \
Playlist(size=button,minwidth=34,maxwidth=34) \
ResetFilter \
HSeparator1 \
Sort(size=button,minwidth=34,maxwidth=34) \
10Filter(size=button,minwidth=34,maxwidth=34)  \
Queue(size=button,minwidth=34,maxwidth=34)  \

-Quit(size=button,minwidth=34,maxwidth=34,tip=_"Quit") \
-Pref(stock=gtk-preferences,size=button,minwidth=34,maxwidth=34) \
        -HSeparator2 \
#-MBLayouts \
-HSeparator3 \
-Button1(click1="RunPerlCode(::ChooseAddPath(0,1))",stock=gtk-add,size=button,minwidth=34,maxwidth=34,tip=_"Add folder ...") \
-Button2(click1="RunPerlCode(::IdleCheck)",stock=gtk-refresh,size=button,minwidth=34,maxwidth=34,tip=_"check now") \
-Button3(click1="RunPerlCode(::IdleScan)",stock=gtk-zoom-in,size=button,minwidth=34,maxwidth=34,tip=_"scan now")

#MBLayouts = (minwidth=34,maxwidth=34) \ LayoutItem


[Garage Fullscreen]

Author= MajorGrubert
Type=F
Window  = fullscreen=1,sticky=0
VBmain  = _HPContentFull -HBReplayButtonsFull
   HBReplayButtonsFull = Prev(size=menu) Play(size=menu) Next(size=menu) 20VSeparator 5_TimeBar(text="%t by %a (%m)",minwidth=240) 10-Stars

HPContentFull = _HBCoverFull _NBSidebarFull
   HBCoverFull = _Cover(click1="",reflection=1,overlay=6x6:778x778:awoken/overlay.png,default=awoken/no-cover.png,showcover=0)

NBSidebarFull = (tabpos=right90,typesubmenu='PC') \
               VBQueueList \
               VBPlayList

VBQueueList = (tabtitle=_"Queue") \
                   EditListButtons(group=2,small=1,relief=none) \
                   _QueueList(cols="queuenumber titleaa",colwidth="queuenumber 20",sort="path album:i disc track file",songtree=0,group=2) \
   HBQueueActions

                                HBQueueActions = Total1(size="small",group=2) -QueueActions

                VBPlayList = (tabtitle=_"Playlist") \
                            _SongList(cols="playandqueue titleaa",colwidth="queuenumber 20",sort="path album:i disc track file",mode=playlist,group=1,follow=1)


KeyBindings = Escape CloseWindow
VolumeScroll = VBmain


With some tabs and pictures personalisation :


Fullscreen mode :


Looks very good.


Of course, but I don't know how to do.
AND : I don't know how to put the default layout parameters to make it closed to the screen capture
(default panels options (picture, group, size, etc.) : I try without success).
Could you help me for those two things ?

And thanks for your Arkanoid layout which incitate me to try to make layout

Looks good!

What is

par?

dans?

(A bit Rhetorical)

I dev VSIDO

It's french (by = par, in = dans).
I can put it in england :)

Quote from: mgrubert on March 11, 2011, 23:12:26
It's french (by = par, in = dans).
I can put it in england :)

I already did in mine

;D
I dev VSIDO

@ aboettger : Each time I run GMB with my layout, HBArtist size is 0 and HBAlbum take all the pannel.
I try to put this line, at the beginning : HSize1 = HBArtist HBAlbum (and this line too : VSize1 = HPPanneaux VBSongtree)
But it has no effect.
Could you help me ?

May be it's better without those tabs, the user can add his personnal tab. I don't know.

Hi  :)

Based on your last version:
[Truc]
Author=aboettger & Mgrubert
Type=G+

Default = Window(size=90%x80%) HPMainPannel(size=100) HPCentreEtDroite(size=300) HPPanneaux(size=150)

VolumeScroll = VBVolume

# Filler for horizontal padding
VBMainContainer = 3Filler1 _HBMain 3Filler2

# Filler for vertical padding
HBMain = 3Filler3 _HPMainPannel 3Filler4

HPMainPannel = _VBGauche _HPCentreEtDroite

HPCentreEtDroite = VPMainCentre VPDroite




############################
# Gauche
############################

VBGauche =  HBSearchBar _NBSideBarLeft

HBSearchBar = (minheight=34,maxheight=34)  ResetFilter2 2_SimpleSearch(noselector=1,suggest=0)

NBSideBarLeft = (tabpos=left90,typesubmenu='PC') \
                FilterPane2(tabtitle=_"Playlists",nb=0,hidebb=1,tabpos=left90,page=savedtree,pages=savedtree) \
FilterPane3(tabtitle=_"Artist",\
                        group=99,\
                        nb=0,\
                        hidebb=1,\
tabpos=left90,\
                        pages=artist,\
                        page=artist,\
                        page_artist/depth=1,\
                        page_artist/lmarkup="0|<b>%a</b>%Y <small>%s <small>%l</small></small>",\
                        page_artist/lpicsize='0|32',\
                        page_artist/noall=1,\
                        page_artist/sort=default|default,\
                        page_artist/type=artist|album\
                    ) \
                FilterPane4(tabtitle=_"Files",nb=0,hidebb=1,tabpos=left90,page=folder,pages=folder)\
FilterPane5(tabtitle=_"Year",\
                        group=99,\
                        nb=0,\
                        hidebb=1,\
tabpos=left90,\
                        page=year,\
                        pages=year,\
                        page_year/mode=cloud,\
page_year/cloud_min=10,\
page_year/cloud_max=30\
                    ) \
FilterPane6(tabtitle=_"Genre",\
nb=0,\
hidebb=1,\
tabpos=left90,\
pages=genre,\
page=genre,\
page_genre/mode=cloud,\
page_genre/cloud_min=8,\
page_genre/cloud_max=20,\
page_genre/sort=alpha\
   )







############################
# Milieu
############################

VPMainCentre = HPPanneaux VBSongtree


HPPanneaux = HBArtist HBAlbum


HBArtist = _FilterPane0(nb=3, hidebb=1,pages=artist,page=artist,page_artist/lmarkup=1)
HBAlbum = _FilterPane1(nb=5,hidebb=1,pages=album,page=album,page_album/mode=mosaic,page_album/lpicsize=64,page_album/lmarkup=1,page_album/mmarkup=right)

VBSongtree = _SongTree 3Filler9 HBTotal

HBTotal = -Total(size=small)



############################
# Droite
############################

VPDroite =  HPNowplaying _VBListsETBoutons

HPNowplaying = VBCover _HBSongInfoEtControlsEtTimebarEtVolume

                VBCover = _Filler888 Cover(default=elementary/no-cover.svg,showcover=0,minsize=200,maxsize=400) _Stars _Filler889

HBSongInfoEtControlsEtTimebarEtVolume = _VBSongInfoEtControlsEtTimebar VBVolume

VBVolume = VolumeIcon(button=1) _VolumeSlider(1,0)

VBSongInfoEtControlsEtTimebar = -HBControls _VBSongInfoEtTimebar

VBSongInfoEtTimebar = _Filler22 VBSongInfo _Filler23 -HBTimeBar

VBSongInfo =  \
    _HBInfoTitre \
    _HBInfoArtist \
    _HBInfoalbum

HBInfoTitre = 2Filler38 _Title(minsize=0,markup="<big><big><big><big><b>%t</b></big></big></big></big>",click1="",yalign=0.5)
HBInfoArtist = 2Filler40 _Artist(yalign=1,minsize=0,markup="<big><big>par %a</big></big>",click1="")
HBInfoalbum = 2Filler39 _Album(minsize=1,expand_max=200,yalign=1,markup="dans %l",click1="") -2Filler56 -Date

HBTimeBar = 2Filler37 _TimeBar 2Filler25

HBControls = \
_Filler58 \
Prev(size=large-toolbar,tip=_"Previous Song") \
Play(size=large-toolbar,tip=_"Play/Pause") \
Stop(size=large-toolbar,tip=_"Stop") \
Next(size=large-toolbar,tip=_"Next Song") \
_Filler59





VBListsETBoutons = _NBSidebar1 HBBouton

NBSidebar1 = (tabpos=right90,typesubmenu='PC') \
                        VBQueueList \
                        VBPlayList

VBQueueList = (tabtitle=_"Queue") \
                            EditListButtons(group=2,small=1,relief=none) \
                            _QueueList(cols="queuenumber titleaa",colwidth="queuenumber 20",sort="path album:i disc track file",songtree=0,group=2) \
    HBQueueActions

                                HBQueueActions = -QueueActions #MBQueue

    #MBQueue = QueueItem


                VBPlayList = (tabtitle=_"Playlist") \
                            _SongList(cols="playandqueue titleaa",colwidth="queuenumber 20",sort="path album:i disc track file",mode=playlist,group=1,follow=1)

############################
# Boutons
############################

HBBouton = \
Fullscreen(size=button,minwidth=34,maxwidth=34) \
Playlist(size=button,minwidth=34,maxwidth=34) \
ResetFilter \
HSeparator3 \
Sort(size=button,minwidth=34,maxwidth=34) \
10Filter(size=button,minwidth=34,maxwidth=34)  \
Queue(size=button,minwidth=34,maxwidth=34)  \

                -Quit(size=button,minwidth=34,maxwidth=34,tip=_"Quit") \
-Pref(stock=gtk-preferences,size=button,minwidth=34,maxwidth=34) \
                -HSeparator4 \
-MBLayouts \
-HSeparator5 \
                -Button1(click1="RunPerlCode(::ChooseAddPath(0,1))",stock=gtk-add,size=button,minwidth=34,maxwidth=34,tip=_"Add folder ...") \
-Button2(click1="RunPerlCode(::IdleCheck)",stock=gtk-refresh,size=button,minwidth=34,maxwidth=34,tip=_"check now") \
-Button3(click1="RunPerlCode(::IdleScan)",stock=gtk-zoom-in,size=button,minwidth=34,maxwidth=34,tip=_"scan now")

MBLayouts = (minwidth=34,maxwidth=34) \
     LayoutItem

Quote from: mgrubert on March 11, 2011, 15:27:54
Of course, but I don't know how to do.

Quote from: mgrubert on March 11, 2011, 15:27:54
AND : I don't know how to put the default layout parameters to make it closed to the screen capture
(default panels options (picture, group, size, etc.) : I try without success).
Could you help me for those two things ?
Concerns the problem of what I have posted you a change?

Quote from: mgrubert on March 11, 2011, 15:27:54
And thanks for your Arkanoid layout which incitate me to try to make layout
With pleasure.

#11 March 13, 2011, 18:37:26 Last Edit: March 13, 2011, 18:49:40 by mgrubert
I don't know how "add your changes"
I have to use git commands in a shell or I can do that in my internet browser ?


Default panel : I find some parameters in your Exaile-like layout. Could I find a notice somewhere on the Net with all existing parameters ?

Edit : I haven't see that :
Quote from: aboettger on March 13, 2011, 17:48:39
Hi  :)

Based on your last version:

I'm going to study that

Quote from: mgrubert on March 13, 2011, 18:37:26
I don't know how "add your changes"
I have to use git commands in a shell or I can do that in my internet browser ?
You need a shell:
$ git commit -a
$ git push origin master

Quote from: mgrubert on March 13, 2011, 18:37:26
Default panel : I find some parameters in your Exaile-like layout. Could I find a notice somewhere on the Net with all existing parameters ?
No, there is no list.
But you can look into your .gmbrc

Quote from: aboettger on March 13, 2011, 20:08:36
No, there is no list.
But you can look into your .gmbrc
OK thx