Set skintype on startup

need a feature, suggest here

Set skintype on startup

Postby Broomy » Sun Dec 20, 2015 1:24 pm

Just updated to the latest Git version and checked out the new lay-out, which I like!

I like the "dark"-skin the best because I can still read all the values when there is not so much light.
When starting again it set sets back to the default skin.
Is it possible to set another skin as default?
Is it a good idea to make a commandline option, for instance: guitarix -s dark to set a skin?

While typing, can this also be done with the screen size, I would love guitarix to open with a maximized window.

Thanks,

Hans
User avatar
Broomy
 
Posts: 145
Joined: Thu Apr 24, 2014 7:53 am

Re: Set skintype on startup

Postby brummer10 » Sun Dec 20, 2015 2:14 pm

Hi Hans

Usually guitarix should start with the latest used skin.
If not, something is wrong.

Maybe you've fragments left from the previous version.
Best is to delete them by hand by run as root
Code: Select all
rm -rf /usr/share/gx_head/skins/

Code: Select all
rm -rf /usr/local/share/gx_head/skins/

and after that, just install guitarix again.

Broomy wrote:Is it a good idea to make a commandline option, for instance: guitarix -s dark to set a skin?


Oh, there is,
Code: Select all
guitarix --help-style
GTK style configuration options
  -c, --clear                          Use 'default' GTK style
  -r, --rcset=STYLE                    Style to use, 'Aluminium', 'Burl', 'Copper', 'Dark', 'Guitarix', 'Guitarix_Oak', 'Lavender', 'Oak', 'Olive', 'Sky', 'White_Oak'


Broomy wrote:While typing, can this also be done with the screen size, I would love guitarix to open with a maximized window.

No, guitarix is configured to use the smallest possible size. Full size is only available within the live mode.
User avatar
brummer10
Site Admin
 
Posts: 714
Joined: Thu Mar 26, 2009 6:57 pm

Re: Set skintype on startup

Postby Broomy » Sun Dec 20, 2015 3:41 pm

Thanks,

I've deleted the files and re-installed Guitarix.

I started Guitarix and changed to "dark", shut it down and restarted, it went back to the default.

btw the "-r Dark" works great!

Greets,

Hans
User avatar
Broomy
 
Posts: 145
Joined: Thu Apr 24, 2014 7:53 am

Re: Set skintype on startup

Postby brummer10 » Sun Dec 20, 2015 4:39 pm

Broomy wrote:I've deleted the files and re-installed Guitarix.

I started Guitarix and changed to "dark", shut it down and restarted, it went back to the default.


That's bad, means guitarix didn't save it's state on shutdown as it shut to be. When you run guitarix in a terminal, do you get any message when you shut down guitarix?
User avatar
brummer10
Site Admin
 
Posts: 714
Joined: Thu Mar 26, 2009 6:57 pm

Re: Set skintype on startup

Postby Broomy » Sun Dec 20, 2015 5:50 pm

This what I get when I quit Guitarix:
Code: Select all
Segmentation fault
User avatar
Broomy
 
Posts: 145
Joined: Thu Apr 24, 2014 7:53 am

Re: Set skintype on startup

Postby brummer10 » Sun Dec 20, 2015 6:08 pm

Broomy wrote:This what I get when I quit Guitarix:
Code: Select all
Segmentation fault



Well, that explain why guitarix didn't save it's state, it crash on exit.
Do you have any external plugins loaded?
User avatar
brummer10
Site Admin
 
Posts: 714
Joined: Thu Mar 26, 2009 6:57 pm

Re: Set skintype on startup

Postby Broomy » Sun Dec 20, 2015 6:50 pm

This is what I get when opening Guitarix.
Code: Select all
lilv_world_add_plugin(): error: Duplicate plugin <http://hippie.lt/lv2/gate>
lilv_world_add_plugin(): error: ... found in file:///usr/lib/lv2/abGate.lv2/
lilv_world_add_plugin(): error: ... and      file:///usr/lib/lv2/abGateBroom.lv2/


Does that make sense?
And what to do?
User avatar
Broomy
 
Posts: 145
Joined: Thu Apr 24, 2014 7:53 am

Re: Set skintype on startup

Postby brummer10 » Sun Dec 20, 2015 7:22 pm

Well, that could be the issue.
Best would be to remove one of those plugs from your system, ether the abGate.lv2 or your forked abGateBroom.lv2.
User avatar
brummer10
Site Admin
 
Posts: 714
Joined: Thu Mar 26, 2009 6:57 pm

Re: Set skintype on startup

Postby Broomy » Thu Dec 24, 2015 8:31 pm

Removed the files, pulled the newest version of Guitarix (Layout is getting nicer everytime! ;-)).

There are no error messages but there is still a segmentation error when closing down.
Code: Select all
broomy@broomy-HP-Pavilion-Sleekbook-15-PC:~$ guitarix
Segmentation fault
broomy@broomy-HP-Pavilion-Sleekbook-15-PC:~$ guitarix
Segmentation fault
broomy@broomy-HP-Pavilion-Sleekbook-15-PC:~$ guitarix -r Dark
Segmentation fault
broomy@broomy-HP-Pavilion-Sleekbook-15-PC:~$


It is not a big issue, I have added "-r Dark" in NSM, so every sessions starts "Dark".

Hans
User avatar
Broomy
 
Posts: 145
Joined: Thu Apr 24, 2014 7:53 am

Re: Set skintype on startup

Postby brummer10 » Fri Dec 25, 2015 7:21 am

Broomy wrote:It is not a big issue,

Oh, it is.
Unfortunately I can't reproduce it here, but we surely need to fix that.
Could you please run a gdb session with guitarix and post the back-trace?
For the case you haven't gdb installed, please run
Code: Select all
sudo apt-get install gdb


when installed, run
Code: Select all
gdb guitarix

next, on the prompt you've to type
Code: Select all
run

the start from guitarix will be very low, and a couple of xruns will happen, that's normal when run a gdb session. Wait that guitarix is started up, and close it again. You will get a couple of messages in the terminal, and next, when guitarix segfault, you've to type
Code: Select all
bt full

again a couple of messages will appear, please, copy the complete output from the terminal after the run command and paste it to
http://pastebin.com/

to close the debug session, type
Code: Select all
quit

and hit enter.

Hopefully I could find out what happens on your PC, and why guitarix crashed.

regards
hermann
User avatar
brummer10
Site Admin
 
Posts: 714
Joined: Thu Mar 26, 2009 6:57 pm

Next

Return to Suggestion Box

Who is online

Users browsing this forum: No registered users and 1 guest