LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2009, 06:00 PM   #1
aero_z
Member
 
Registered: Dec 2008
Posts: 30

Rep: Reputation: 16
Managing apps and restoring crashed apps in GNU/Linux


Hi,

I'm using Linux for some years now (Fedora) and would like to know some tricks for Linux (especially KDE).

You know the overused task-manager (CTRL-ALT-DELETE) in Windows?
Sometimes it's quite helpful. But I don't know of any in Linux. (CTRL-ESC doesn't work if you are fullscreen)

I use Fedora 10 with KDE.

So far as I know, there is no global key combination in KDE that can minimize a full screen window. What do you do if you want to quickly switch from a full screen game to your browser or messenger to look up something? I never found out how to do that. I'm captured inside the game and have to quit. And what to do if the game crashes in full screen? I can't return to the desktop... What I do is press CTRL-ALT-F[#] to change to text mode. I log in, top, and kill the app. Is there an easier way?

Another thing that happens a lot with me is that games crash and the resolution does not change back to the desktop resolution. Maybe you know a fast command to reset instead of going to the System Settings and changing the resolution to something different and changing back.

Or how to reset the mouse? (when games crash the mouse is frozen sometimes)

Hope this questions are not too stupid...
Thank you very much!

aero_z
 
Old 01-18-2009, 06:49 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
use gnome-terminal

Code:
killall process_name
or

lookup the pid:
Code:
ps aux | grep process_name
and then kill:
Code:
kill -9 process_id
CTRL-ALT-BACKSPACE restarts X
 
Old 01-19-2009, 11:14 AM   #3
aero_z
Member
 
Registered: Dec 2008
Posts: 30

Original Poster
Rep: Reputation: 16
Thank you for the commands! (killall was something that I didn't know)

The thing that I want to know most of all is whether you can return to the desktop from a full screen app. As the OS is very stable it would be a pity if you had to restart X just because a full screen application hangs.

Thx
 
Old 01-19-2009, 11:35 AM   #4
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
alt-tab should scroll through all windows even if a full screen window is up. Or you could just hit ctrl-alt-F1 to go to a command console then kill the app that has the full screen window.
 
Old 01-19-2009, 02:28 PM   #5
aero_z
Member
 
Registered: Dec 2008
Posts: 30

Original Poster
Rep: Reputation: 16
Alt-tab doens't work with me. It switches between apps when not on full screen.
But when a full screen game is open it has no effects. (is this KDE specific? I think in GNOME alt-tab doesn't work too)
The full-screen app has control over the alt-tab combination, hasn't it?
I don't want to kill the app, I just want do go back to the desktop...

Thank you nevertheless!
 
Old 01-19-2009, 03:24 PM   #6
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by aero_z View Post
Alt-tab doens't work with me. It switches between apps when not on full screen.
But when a full screen game is open it has no effects. (is this KDE specific? I think in GNOME alt-tab doesn't work too)
The full-screen app has control over the alt-tab combination, hasn't it?
I don't want to kill the app, I just want do go back to the desktop...

Thank you nevertheless!
Whether you can go back to the desktop or not depends on how the game is written. if it takes over the entire raster, then you can't do that because it has effectively killed the desktop. If it cooperates with the windowing mechanisms of X then you should be able to get it to behave like a window.

Sadly, many game writers do not cooperate with windowing mechanisms because of the overhead associated with that.
 
Old 01-19-2009, 03:43 PM   #7
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
in KDE ctrl-tab will switch betwen desktops!
 
Old 01-19-2009, 03:50 PM   #8
aero_z
Member
 
Registered: Dec 2008
Posts: 30

Original Poster
Rep: Reputation: 16
If this is true then I changed the defaults... When I press Ctrl-Tab it switches to the next firefox tab.
But also a key for changing desktop (I configured it as Ctrl-Alt-Right/Left like in GNOME) doesn't has any effect when a program is full-screen...
 
Old 01-19-2009, 04:06 PM   #9
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
go to Kmenu>controle center>reganal&acsesabilty>keybord shortcuts

at the top of the list is navagation expand it if it's colapsed find -walk thrue desktop list-click it and set it.

I'm not into gaming to mutch but runing xine in full screen this still works...........for me.
 
Old 01-19-2009, 05:49 PM   #10
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Quote:
The thing that I want to know most of all is whether you can return to the desktop from a full screen app.
In gnome, for me, the "leave fullscreen" shortcut is <F11>. Could be with KDE, too - give 'er a try.
 
Old 01-19-2009, 06:00 PM   #11
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
Quote:
Originally Posted by jhwilliams View Post
In gnome, for me, the "leave fullscreen" shortcut is <F11>. Could be with KDE, too - give 'er a try.
is that a gnome swich or the apps?

eney app. I use fullscreen usualey has it's own switch
like in xine f togels betwen full or not.

even world of warcraft had it's own fulscreen togel?
 
Old 01-20-2009, 02:10 PM   #12
aero_z
Member
 
Registered: Dec 2008
Posts: 30

Original Poster
Rep: Reputation: 16
hi,

@vinnywrite: The "walk trough desktops" key is not working. Sorry if my question was unspecific all the time: in normal windows the desktop switch or Alt-Tab work, but in games it doesn't. (e.g. fullscreen firefox or gwenview => work, xmoto or TnL => don't work)

Well, it's not tragic if the keys don't work in games, but I would like to know the reason... Is SDL maybe the cause of this? That it takes all priority?

If a global key is not implemented yet, I would really like one for switching to the desktop... (global like Ctrl-Alt-Backspace)

@jhwilliams: as far as I know this is just app specific. Most applications have this shortcut, but this is nothing from the system or window manager or desktop environment.

Thank you for your help!
I would still be happy if somebody has more info on that...

Last edited by aero_z; 01-20-2009 at 02:11 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cool Command Line Apps for GNU/Linux and other Unix Systems LXer Syndicated Linux News 0 11-29-2008 10:50 AM
GNU/Linux Desktop: The Case Against Running Windows Apps DragonSlayer48DX Linux - News 0 02-27-2008 06:42 PM
Web-based apps: ActiveX/Java:Windows <--> ${???}:GNU/Linux johnMG Programming 3 12-03-2004 08:37 PM
installing and managing new apps. good practice! bikov_k Linux - Newbie 4 10-02-2004 04:23 PM
Menu troubles: apps do not launch; unable to add apps hfinger Mandriva 1 08-22-2003 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration