BL4.5.0-32bit - How to start Billard-GL in fullscreen mode, please?
BodhiThis forum is for the discussion of Bodhi Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
BL4.5.0-32bit - How to start Billard-GL in fullscreen mode, please?
After installing Billard-GL I didn't find 1024x600, which is the screen resolution on my netbook, so I decided to start it in fullscreen mode at 800x600 (I have two black bars on each side, now, but that's ok for me, as long as I have a proper aspect ratio).
I also tried to start it in terminology with
Code:
billard-gl -f
which did work fine.
But then I wanted to edit the desktop file of that game.
I found it here:
Hoping this would affect the game's entry within the main menu, I added a -f at the end of the "EXEC="-line of that desktop file (as sudo, of course), but the game didn't start in fullscreen mode.
How can I make the game start in the way I want it to, please?
Just open the billiard program normally (from menu) then click on the 'edit icon' from the menu that comes when you click the tiny icon in the top left of your window. The command line comes up; add your -f there.
I just installed that game and you're right, the edit icon option isn't there. It's something about this app itself. It doesn't show it's icon in the corner or on taskbar either, is a white box with a question mark.
Anyway the right desktop file is in /usr/share/applications/billard-gl.desktop, and adding -f to the exec line does work.
And I learned a new german word. Sprog. (The game defaulted to german for me, I had to navigate german menu's to set it to english).
...is the path to the wanted desktop file.
Strange, the locate command didn't give me that path, neither did the whereis command.
Are you sure, you found the word Sprog in the game?
Actually, it should be Sprache (that's german for language)
You can find the pronunciation at Google, in case, you'd like to know.
Not in the game itself, in the setup menus, sprog is the option that sets the language. I didn't pay that much attention, just assumed it was german cuz I think I saw a .de link or something, but I went back and checked, looks like it was default in Danish. First time something didn't come up default in english or my system language tho.
I just installed that game and you're right, the edit icon option isn't there. It's something about this app itself. It doesn't show it's icon in the corner or on taskbar either, is a white box with a question mark.
Anyway the right desktop file is in /usr/share/applications/billard-gl.desktop, and adding -f to the exec line does work.
And I learned a new german word. Sprog. (The game defaulted to german for me, I had to navigate german menu's to set it to english).
OK briefly looked at this issue this morning. This application doesn't install a typical icons, it installs 2 X11 Pixel Map files and it installs them at /usr/share/pixmaps instead of /usr/share/icons. Looking at this it seems neither Moksha nor e22 support icons of this type. Sorta weird for e22 as e22 has support for this, seemingly in /src/bin/e_pixmap.c. Moksha lacks this file.
Unsure how many apps do something similar or whether it is worth investigating further and trying to fix the no icon issue. For the record LXDE also displays a 'generic' icon for it also instead of the x11 pixel map 'icon'.
As to -f option on the command line i haven't had time to look at it.
Strange, the locate command didn't give me that path, neither did the whereis command.
Yeah, that's not that strange. I've tried locate and whereis, and sometimes one might find what I'm looking for, sometimes neither does. I don't think either one is an exhaustive search. I'm sure there is some unix command that actually searches everything (similar to dos dir \filename.ext /s) but I dunno what it is. There is tools/find in pcmanfm too...
Unsure how many apps do something similar or whether it is worth investigating further and trying to fix the no icon issue.
There are lots and lots of people who've been using bodhi far longer than me, but this is the first app I'd ever noticed that behaved that way, so I don't think it's a major issue or you would have experienced it yourself or at least heard about it. When he said that he couldn't get the edit icon menu I was curious enough to install it, and sure enough, he's right as you've already confirmed. (That being said, the bigger issue to me is not the 'generic icon' in corner/taskman, it's the not allowing the normal moksha gui ways of editing the desktop file from that menu to work.)
Yeah, that's not that strange. I've tried locate and whereis, and sometimes one might find what I'm looking for, sometimes neither does. I don't think either one is an exhaustive search.
if locate can't find something that you know exist it means its database needs update:
Code:
sudo updatedb
Quote:
I'm sure there is some unix command that actually searches everything (similar to dos dir \filename.ext /s) but I dunno what it is.
After installing Billard-GL I didn't find 1024x600, which is the screen resolution on my netbook, so I decided to start it in fullscreen mode at 800x600 (I have two black bars on each side, now, but that's ok for me, as long as I have a proper aspect ratio).
I also tried to start it in terminology with
Code:
billard-gl -f
which did work fine.
But then I wanted to edit the desktop file of that game.
I found it here:
Hoping this would affect the game's entry within the main menu, I added a -f at the end of the "EXEC="-line of that desktop file (as sudo, of course), but the game didn't start in fullscreen mode.
How can I make the game start in the way I want it to, please?
OK this is a little weird, adding -f to the desktop file works for me. At first I thought maybe it was because I am using Moksha 3.1 .. that is unreleased as yet and is moksha in git in my ylee branch. But I reverted back to Moksha 3.0 and it still works.
Unsure why it is not working for you. Can someone else confirm this?
OK briefly looked at this issue this morning. This application doesn't install a typical icons, it installs 2 X11 Pixel Map files and it installs them at /usr/share/pixmaps instead of /usr/share/icons...
OK further examination reveals a few things of interest here:
First of all the source code to this program is in german or something. I can't easily read it well enough to see what it is doing and how it is doing it. Perhaps I could just open all the files and struggle thru it. Seems like too much work ...
Two, weirdly enough Moksha and e22 both display the icon fine in the menu and Ibar and so on. Just not in the window border.
Three the program is not following ICCCM standards as it should. In particular WM_CLASS Property and WM_NAME Property are not set altho THe Title is set properly. I would like to know what GUI toolkit this program is using as all the common ones would properly set all this ICCCM stuff. Perhap the developer(s) is winging it and doing it all old school using rare x11 code. Regardless, it is done wrong and this leads to Moksha, e22 and lxde and perhaps other WM not displaying the icon in the window border. And in Mokshas or e22s case, the Border menu is borked when it comes to editing the icon.
The application doesn't seem to know what display to open in. It opens in DISPLAY:0 even if opened in DISPLAY:1. First time i have ever saw an app do that.
OK now issue two, i consider a bug. Moksha and e22 both can display the icon despite the weird icon format( X11 Pixel Map) as demonstrated by the icon being displayed in the menu, but the icon is not displayed in the window border. So it is going on my list of bugs that need fixed. But as this is not a common occurance and an obscure app at that this issue is low priority to me.
This kinda stuff always happens. Y'know how I mentioned I'd never seen another app that did the white-box-? icon in taskman/corner until this one?
well I found another. Tuxboot. Not in repos, had to add ppa.
It's an app for creating clonezilla live usb. However it's not exactly the same as that billiards game, as it does allow me to 'create icon' whereas iirc billards didn't even have that. But yet again, can't edit desktop file thru GUI.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.