topic title: apt-get install doesn't work {Resolved}
-
Posts: 62
- Joined: 21 Jan 2009
#1
I used apt-get to install kdegames (what can I say, I like a couple of them), I update-menus, the games are listed in the menu, but when I click on one of the games, no joy - nothing happens. Thinking that I may have missed something, I tried Synaptic, and used the menu>Desktop>IceWm>update menus (auto) option - the games are listed in the menu, still no joy, even after rebooting ...... any ideas (other than"do something productive, and quit playing games __{{emoticon}}__ __{{emoticon}}__ )?
Last edited by mizpa on 01 Jan 2011, 01:34, edited 1 time in total.
-
Posts: 62
- Joined: 21 Jan 2009
#3
Thanks
How would I start a game - ktron for example - from the CLI? What command(s) do I use? I've never tried starting a game from the CLI.plvera wrote:try opening a terminal and starting them from the terminal. Look at the terminal messages for possible errors.
Thanks
-
Posts: 903
- Joined: 11 Oct 2008
#4
You should be able to start any program from the console. For example, one xmahjongg (one of the preloaded games) can be started from the terminal. I haven't tried ktron but you could just open a terminal and type ktron ?? You might get lucky. Since you said this is a kde game, does it need to have kde installed and running to start the game? You would think that synaptic would have pulled in kde if it needed but I don't know.
This does not really answer your initial question of why can't you start it from the menu. I was just suggesting that you try to start the game from the terminal to see if it runs at all or it runs into problems that prevent it from running.
You could also use control center to look at the actual menu commands and see how the menu is trying to start the game. Maybe you can fix that as well (if you get any clues from the terminal).
I hope others have some other suggestions for you. Good luck!
This does not really answer your initial question of why can't you start it from the menu. I was just suggesting that you try to start the game from the terminal to see if it runs at all or it runs into problems that prevent it from running.
You could also use control center to look at the actual menu commands and see how the menu is trying to start the game. Maybe you can fix that as well (if you get any clues from the terminal).
I hope others have some other suggestions for you. Good luck!
-
Posts: 62
- Joined: 21 Jan 2009
#5
Thanks for coming back so soon. This is what I got:
The game does come up so you can play the game.
This game also comes up so you can play the game.
It seems that any games that don't start with"k" are not found!
This was all done at the CLI, by the way!
Code: Select all
@antiX1:~$ ktron
ktron(3218): Failed to lock file"" , last result = 2
ktron(3218)/kdeui (KIconLoader): Unable to lock pixmap cache when trying to discard it
ktron(3218)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Code: Select all
@antiX1:~$ kbounce
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
kbounce(3374)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
It seems that any games that don't start with"k" are not found!
Code: Select all
@antiX1:~$ SameGame
bash: SameGame: command not found
Code: Select all
@antiX1:~$ Palapeli
bash: Palapeli: command not found
Code: Select all
@antiX1:~$ Shisen-Sho
bash: Shisen-Sho: command not found
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#6
For the games without a 'k' at the beginning, just type the name of the game in small letters eg palapeli
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#7
To play the games from the menu, you have to edit a file.
Open rox-filer or any other file manager, navigate to the icewm folder (Hidden in your home/username directory).
Open to file called 'application' and in the section titled"Games" remove all references to ' -caption'.
Save, logout/login and menu should work ok.
Open rox-filer or any other file manager, navigate to the icewm folder (Hidden in your home/username directory).
Open to file called 'application' and in the section titled"Games" remove all references to ' -caption'.
Save, logout/login and menu should work ok.
-
Posts: 62
- Joined: 21 Jan 2009
#8
Thanks anticapitalista, but that didn't work for accessing the games at the menu - I can still access some of them from the CLI, other than if I put palapeli in as lower case, it comes up, but shisen-sho didn't come up until I put in kshisen, nor did samegame come up until I put in ksame.
At the bottom of the verbiage, it seems to say that I'm missing some files
I don't know how this may have happened, since I haven't edited either one of those files, and the MD5sums were correct before burning the CD.
Any more ideas?
THX
Code: Select all
@antiX1:~$ palapeli
palapeli(2145)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
palapeli(2145)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
@antiX1:~$ shisen-sho
bash: shisen-sho: command not found
@antiX1:~$ samegame
bash: samegame: command not found
@antiX1:~$ kshisen
QFSFileEngine::open: No file name specified
kshisen(2064)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
An error occurred when loading the tileset"/usr/share/kde4/apps/kmahjongglib/tilesets/default.desktop" KShisen will continue with the default tileset.
QFSFileEngine::open: No file name specified
kshisen(2064)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
An error occurred when loading the background"/usr/share/kde4/apps/kmahjongglib/backgrounds/default.desktop" KShisen will continue with the default background.
kdeinit4: preparing to launch /usr/lib/kde4/libkdeinit/libkdeinit4_klauncher.so
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit4: preparing to launch /usr/lib/kde4/libkdeinit/libkdeinit4_kded4.so
kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
kbuildsycoca4 running...
kbuildsycoca4(2084) KConfigGroup::readXdgListEntry: List entry MimeType in"/usr/share/applications/leafpad.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2084) KConfigGroup::readXdgListEntry: List entry MimeType in"/usr/share/applications/gogglesmm.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2084) KConfigGroup::readXdgListEntry: List entry MimeType in"/usr/share/applications/abiword.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2084) KConfigGroup::readXdgListEntry: List entry Categories in"/usr/share/applications/pppoeconf.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2084) KConfigGroup::readXdgListEntry: List entry Categories in"/usr/share/applications/searchmonkey.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2084) KConfigGroup::readXdgListEntry: List entry Categories in"/usr/share/applications/rox-filer.desktop" is not compliant with XDG standard (missing trailing semicolon).
kdeinit4: preparing to launch /usr/lib/kde4/libkdeinit/libkdeinit4_kconf_update.so
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kshisen(2064)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
params.c:OpenConfFile() - Unable to open configuration file"/home/j*****/.smb/smb.conf":
No such file or directory
params.c:OpenConfFile() - Unable to open configuration file"/home/j******/.smb/smb.conf.append":
No such file or directory
@antiX1:~$ ksamegame
bash: ksamegame: command not found
@antiX1:~$ ksame
Code: Select all
/home/j*****/.smb/smb.conf
/home/j******/.smb/smb.conf.append
Any more ideas?
THX
-
Posts: 903
- Joined: 11 Oct 2008
#9
Mizpa:
Here's a link to all the games installed by the package kdegames. Most do have"k' in front of the titles. So type their names (as listed in the webpage) either in a terminal or edit the file that anticapitalista suggested with the appropriate name if you want to start them from the menu.
I hope this helps.
Here's a link to all the games installed by the package kdegames. Most do have"k' in front of the titles. So type their names (as listed in the webpage) either in a terminal or edit the file that anticapitalista suggested with the appropriate name if you want to start them from the menu.
I hope this helps.
-
Posts: 1,228
- Joined: 15 Jun 2008
#10
(complementing Pedro's advice)
Here you find the games installed by kdegames:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://packages.debian.org/sid/kdegames"
linktext was:"http://packages.debian.org/sid/kdegames"
====================================
Use their package names to run from the console (like the same game is just ksame).
Their desktop files (that should generate the menu entries) are in /usr/share/applications/kde4. Have a look in their contents to see the command used to run them (Exec key) and try from the terminal.
If they work then there's a problem with the menu. May be easy to fix but since I'm not running antiX here what I could suggest is for you to try the script at better-script-for-xdg-menu-in-icewm-t2822.html (to be used in the next antiX release, BTW).
Here you find the games installed by kdegames:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://packages.debian.org/sid/kdegames"
linktext was:"http://packages.debian.org/sid/kdegames"
====================================
Use their package names to run from the console (like the same game is just ksame).
Their desktop files (that should generate the menu entries) are in /usr/share/applications/kde4. Have a look in their contents to see the command used to run them (Exec key) and try from the terminal.
If they work then there's a problem with the menu. May be easy to fix but since I'm not running antiX here what I could suggest is for you to try the script at better-script-for-xdg-menu-in-icewm-t2822.html (to be used in the next antiX release, BTW).
-
Posts: 903
- Joined: 11 Oct 2008
#11
Secipolla,
thanks, I left out the link in the previous message.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://packages.debian.org/en/lenny/kdegames"
linktext was:"http://packages.debian.org/en/lenny/kdegames"
====================================
thanks, I left out the link in the previous message.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://packages.debian.org/en/lenny/kdegames"
linktext was:"http://packages.debian.org/en/lenny/kdegames"
====================================
-
mizpamizpaPosts: 62
- Joined: 21 Jan 2009
#12
As noted in my previous post, I did edit that file, and it didn't work for the menu option, I also noted that if I put a"k" in fron of the other names, it seems to want to work - I'm not too keen about playing these at the CLI, my intention is to use the menu option if I can.
Thanks
Hi plvera;plvera wrote:Mizpa:
Here's a link to all the games installed by the package kdegames. Most do have"k' in front of the titles. So type their names (as listed in the webpage) either in a terminal or edit the file that anticapitalista suggested with the appropriate name if you want to start them from the menu.
I hope this helps.
As noted in my previous post, I did edit that file, and it didn't work for the menu option, I also noted that if I put a"k" in fron of the other names, it seems to want to work - I'm not too keen about playing these at the CLI, my intention is to use the menu option if I can.
Thanks
-
Posts: 62
- Joined: 21 Jan 2009
#13
I will also take a look at the script - I'm not too good at scripts __{{emoticon}}__
Thanks for that file name .... I will take a look at it and see what it looks like .... I may post it, if possible.secipolla wrote:(complementing Pedro's advice)
Here you find the games installed by kdegames:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://packages.debian.org/sid/kdegames"
linktext was:"http://packages.debian.org/sid/kdegames"
====================================
Use their package names to run from the console (like the same game is just ksame).
Their desktop files (that should generate the menu entries) are in /usr/share/applications/kde4. Have a look in their contents to see the command used to run them (Exec key) and try from the terminal.
If they work then there's a problem with the menu. May be easy to fix but since I'm not running antiX here what I could suggest is for you to try the script at better-script-for-xdg-menu-in-icewm-t2822.html (to be used in the next antiX release, BTW).
I will also take a look at the script - I'm not too good at scripts __{{emoticon}}__
-
Posts: 62
- Joined: 21 Jan 2009
#14
As I mentioned before, I can run them in terminal if I put a"k" in front of them ( I assume that's the Exec key you were talking about) ..... I'd like to fix the menu, if possible.
Thanks
Hi secipolla;secipolla wrote: Their desktop files (that should generate the menu entries) are in /usr/share/applications/kde4. Have a look in their contents to see the command used to run them (Exec key) and try from the terminal.
As I mentioned before, I can run them in terminal if I put a"k" in front of them ( I assume that's the Exec key you were talking about) ..... I'd like to fix the menu, if possible.
Thanks
-
Posts: 1,228
- Joined: 15 Jun 2008
#15
Hello mizpa.
"key" is just the technical name for the entry in the desktop file.
I don't have kdegames installed here but I'll give an example with a game I have here. The contents of /usr/share/applications/numptyphysics.desktop:
The"Exec" key's value is"/usr/games/numptyphysics" so that's the command run by the desktop file (some menus use these files). I could run /usr/games/numptyphysics or just numptyphysics in the terminal.
Actually you will find most or all the executables from your games also in /usr/games.
It's just a guess of mine, but it's possible that the script that generates the applications menu in antiX 8.5 can't read properly the files that are in /usr/share/applications/kde4. The other script that I pointed you to should work fine.
For you to have it working, download icewm-xdg-menu.tar.gz (from the other thread), extract it, make sure it's executable (right-click it and check if it has permission to be executed) and put it in /usr/local/bin. Then backup ~/.icewm/menu (just rename it to menu.old) and run
Then you should have a brand new menu, but you will lose the other custom entries from antiX's original menu. No worries, if it works, then ask here so we tell you how to use the original menu and this new script just for the"Applications" submenu.
You may also want to delete or comment the line regarding the old menu script in ~/.icewm/startup.
Another thing that may interest you is to use PCManfFM to manage your desktop icons. Then you could copy the desktop files from /usr/share/applications/kde4 (or any other that you want from /usr/share/applications) to your desktop and have desktop shortcuts.
ROX and iDesk also allow you to put launchers on your desktop but they work differently (well explained in the antiX FAQ).
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://sblinux.org/antix/index.html#icewm"
linktext was:"http://sblinux.org/antix/index.html#icewm"
====================================
"key" is just the technical name for the entry in the desktop file.
I don't have kdegames installed here but I'll give an example with a game I have here. The contents of /usr/share/applications/numptyphysics.desktop:
Code: Select all
[Desktop Entry]
Version=1.0
Type=Application
Name=Numpty Physics
Categories=Game;LogicGame;
Exec=/usr/games/numptyphysics
StartupWMClass=NPhysics
Icon=numptyphysics
X-Icon-path=/usr/share/pixmaps
X-Window-Icon=numptyphysics
X-Window-Icon-Dimmed=numptyphysics
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
X-Osso-Service=org.maemo.garage.numptyphysics
MimeType=application/x-numptyphysics-level;application/x-numptyphysics-collection;application/x-numptyphysics-demo;
[X-Osso-URI-Actions]
http=X-Osso-URI-Action-Open;
nptp=X-Osso-URI-Action-Open;
[X-Osso-URI-Action-Open]
Method=mime_open
Name=uri_link_play
TranslationDomain=osso-uri
Actually you will find most or all the executables from your games also in /usr/games.
It's just a guess of mine, but it's possible that the script that generates the applications menu in antiX 8.5 can't read properly the files that are in /usr/share/applications/kde4. The other script that I pointed you to should work fine.
For you to have it working, download icewm-xdg-menu.tar.gz (from the other thread), extract it, make sure it's executable (right-click it and check if it has permission to be executed) and put it in /usr/local/bin. Then backup ~/.icewm/menu (just rename it to menu.old) and run
Code: Select all
icewm-xdg-menu --terminal"roxterm -e %s" --default-entry-icon /usr/share/icons/Buuf-Deuce/128x128/apps/alacarte.png --with-theme-paths --theme Buuf-Deuce --entire-menu > ~/.icewm/menu
You may also want to delete or comment the line regarding the old menu script in ~/.icewm/startup.
Another thing that may interest you is to use PCManfFM to manage your desktop icons. Then you could copy the desktop files from /usr/share/applications/kde4 (or any other that you want from /usr/share/applications) to your desktop and have desktop shortcuts.
ROX and iDesk also allow you to put launchers on your desktop but they work differently (well explained in the antiX FAQ).
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://sblinux.org/antix/index.html#icewm"
linktext was:"http://sblinux.org/antix/index.html#icewm"
====================================