Author Topic: [Layout] EeePC2 (+all Garages layouts)  (Read 2764 times)

mgrubert

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
[Layout] EeePC2 (+all Garages layouts)
« on: September 18, 2011, 18:57:12 »
Layout for poor resolution screen.
I base my layout on Shimmerdesktop layout (to get all garages layout, take the file under and put it in ~/.config/gmusicbrowser/layouts/).
Use settings buttons to show/hide pannels
Only tested with gmusicbrowser 1.1.7.
Note : the Songtree visualisation is include in shimmer.layout, include in gmb 1.1.7 on debian version (debian or LMDE, may be Ubuntu 11.10), but not include on fedora 15 ; ask if you want me to join his layout.

View : Library and Albums panels on





Code: [Select]
[EeePC2]
Type=G+
Title = "gmusicbrowser joue %t dans l'album %l (%Y) de %a"
#Title = "gmusicbrowser is playing %t from %l (%Y) by %a" #english
Category = "Garage"
DefaultFocus = SimpleSearch1
VolumeScroll = HBVolume
Default = Window(size=90%x80%)
Window = hidden=VBCover|Context|VBQueue|ABSearchBox2|HBSongPlaylist
Author = Major Grubert (Shimmer adaptation and Shimmer is [email protected])

### main window containers : main and buttons ###
HBMain = 1Filler1 _VBMain VBButtons

VBMain = 1Filler2 VBTop 1Filler3 _HBMain2

### top bar from left to right ###
VBTop = HBTop
HBTop = \
ABSearchBox \
_HBNowplaying
ABSearchBox = (yalign=0) SimpleSearch1(suggest=1)
HBNowplaying = 5_TimeBar(text="%t by %a in %l (%m)",minwidth=240)


### main : Filter Songlist, Queue, Context ###
HBMain2 = HBLeft _VBSongStatus 1Filler4 VBQueue Context 1Filler5

### Filter1
HBLeft = _VBLeft 2Filler6
VBLeft = \
_VPFilterCover \
HBStatus
VPFilterCover = _NBFilter1 VBCover
NBFilter1 = (tabpos="bottom") VBFilter10 VBFilter11 VBFilter12 VBFilter13 VBFilter14
VBFilter10 = (tabtitle=_"Filter") _FilterPane10(nb=2,hidebb=1,pages=filter,page_filter)
VBFilter11 = (tabtitle=_"List") _FilterPane11(nb=2,hidebb=1,pages=list)
VBFilter12 = (tabtitle=_"Genre")  _FilterPane13(nb=2,hidebb=1,pages=genre,page_genre/mode=cloud,page_genre/cloud_max=30,page_genre/cloud_min=12)
VBFilter13 = (tabtitle=_"Artists")  _FilterPane14(nb=2,hidebb=1,pages=artists,page_artists/lmarkup=1,hidetabs=1,lmarkup="<b>%a</b>%Y\x0a<small>%x / %s / <small>%l</small></small>")
VBCover = _Filler7 HBCover _Filler8
HBCover = _Filler9 Cover(overlay=6x6:350x350:elementary/overlay.png,default=elementary/no-cover.svg,showcover=0) _Filler10
HBStatus = \
ToggleButton1(icon=gmb-picture,relief=none,size=button,widget=VBCover,tip=_"Show/Hide Cover") \
-3Total(format=short,relief=none,button=1,mode=library,size="small")

### Songlist
VBSongStatus = (tabtitle=_"Playlist") _VBMosaicSongList HBTotal
VBMosaicSongList = VPMosaic _HBSongListtree
VPMosaic = _FilterPane1(nb=4,hidebb=1,pages=album,page_album/mode=mosaic,page_album/mmarkup=1,page_album/mpicsize=64,hidetabs=1)
HBSongListtree =  \
_SongTree(cols="playandqueueandtrack title length ratingpic",colwidth="artist 124 lastplay 107 length 49 playandqueue 19 playandqueueandtrack 20 playcount 22 ratingpic 100 title 390 titleaa 397 track 21",grouping="album|artistalbum_breadcrumbs(picsize=100)|disc|discleft(width=15)",follow=1,sort="year album disc track") \
_HBSongPlaylist
HBSongPlaylist = _SongList(cols="playandqueueandtrack title artist album year length playcount",sort=artist,colwidth="album 200 artist 200 file 400 lastplay 100 length 41 path 413 playandqueueandtrack 24 playcount 96 rating 80 title 270 track 21 year 31",follow=1,sort="year album disc track")
HBTotal = \
ToggleButton21(relief=none,size=button,icon=gmb-view-list,widget=HBSongPlaylist,togglegroup=1,tip=_"Simple List View") \
ToggleButton22(relief=none,size=button,icon=gmb-view-tree,widget=SongTree,togglegroup=1,tip=_"Songtree View") \
Sort(button=1,size=button,tip=_"Right-click to toggle shuffle/random") \
2Filter35(button=1,size=button,tip=_"Right-click to remove filters") \
-Total2(size=small)


### Queue
VBQueue = \
EditListButtons(group=3,small=1,relief=none) \
_QueueList(group=3,songtree=1,tabicon="",cols="queuenumber titleaa",colwidth="queuenumber 20 titleaa 248",showbb=1) \
HBQueueActions
HBQueueActions = -Total3(size="small",group=3)

### Buttons
VBButtons = VBPlayingControls _VBVolume VBPanelsControls

VBPlayingControls = Prev(size=button) Play(size=button) Next(click2=NextAlbum,size=button)
VBVolume = VolumeIcon(button=1,click2=mute,tip=_"Left-clic or scrollwheel to change, right-click to mute") _VolumeSlider(1,0)
VBPanelsControls = \
ToggleButton31(icon=gtk-about,relief=none,size=menu,widget=Context,tip=_"Context") \
-Quit2(size=button,minwidth=34,maxwidth=34,tip=_"Quit") \
-BMSettings \
-ExtraButtons(size=button)
BMSettings = (icon=gtk-preferences,size="button") \
SMLibrary \
LayoutItem \
PlayItem \
SMViews \
SeparatorMenuItem01 \
MenuItem11(click1=OpenCustom(Equalizer),label=_"Equalizer",icon=gmb-equalizer) \
SeparatorMenuItem20 \
MenuItem12(command=OpenPref,label=_"Settings",icon="gtk-preferences") \
MenuItem13(command=Quit,label=_"Quit",icon="gtk-quit")
SMLibrary = (label=_"Library") \
MenuItem21(command="RunPerlCode(::ChooseAddPath(0,1))",label=_"Add Music",icon="gtk-add") \
MenuItem22(command="RunPerlCode(::IdleScan)",label=_"Scan Collection",icon="gtk-refresh") \
MenuItem23(command="RunPerlCode(::IdleCheck)",label=_"Check Collection",icon="gtk-zoom-in")
SMViews = (label="Show/Hide") \
                            MenuItem31(togglewidget=HBLeft,label=_"Library",icon="gmb-library") \
                            MenuItem32(togglewidget=VBQueue,label=_"Queue",icon="gmb-queue") \
    MenuItem34(togglewidget=VPMosaic,label=_"Albums",icon="gmb-album") \
    MenuItem35(togglewidget=ABSearchBox,label=_"Search",icon="gtk-find")

### positioning and sizing ###
HSize0 = 300 VBQueue Context
HSize1 = 250 VBLeft ABSearchBox
VSize0 = 250 HBCover
VSize1 = 105 VPMosaic



#################################################################################