Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
... not 4 as is default.
Having searched all X-related textfiles I could find, none had any setting for amount of desktops?
The computer in question runs Libranet 2.8, only epiphany is to be used, wm is Icewm.
Kde and Gnome are not installed (well, some gnome to get ice running)
You don't need to edit any X files...you want to edit the wm files. Having never worked with gnome or ice, I'd suggest poking around your home directory. I think ~/.gnome or ~/.ice should suffice.
Can't find anything there either.
Well I disabled shortcuts for desktop-switching, and don't show desktops on taskbar so effectively user can't change desktop.
I would like to disable the extra desktops completely though?
Well, this is at a school, we have 3 computers in the library which are only to be used for searching books at a specific URL. So 'epiphany' is the only app in the menu, and I don't want several instances of it running. Also I don't want students to get confused when they accidentally switch desktop.
It's not a big thing really, it works fine as it is - but I still would like to know where it's controlled from?
I would also be happy to have a tweak to reduce to 2 the workspaces. If any icewm guru could help us...
This is easy:
Code:
WorkspaceNames=" 1 ", " 2 "
Quote:
/etc/X11/icewm/preferences
Every distro seems to put that in different place. The standard-compliant location is /usr/share/icewm. Anyway, don't edit the global configuration files, but copy them to ~/.icewm/ and make changes to these copies.
If I understand you right you just want to have one desktop to choose from.
You can right click over the desktops in Mandriva and change the number of active desktops to one.
This isn't a permanent change but as long as the users aren't aware of how to change this it should stay that way.
theYinYeti Kiosk-like??
Never heard of that, nor of Matchbox. Took a quick look at Matchbox now, interresting! Will try it out during the summer, thanks for that!
Harmaa Kettu "WorkspaceNames" ! I saw it, but didn't realize it actually turned unnamed desktops off!
So problem is solved, and got some extra ideas as well!
Thanks, folks!
... problem is not completely solved...
Or rather, I forgot one related thing: It is still possible to switch to a terminal with <ctrl><alt><F#>
Disabling these terminals in /etc/inittab only means they can't be used - all you get is a blinking cursor on a black screen, students will believe computer crashed!
So I need to block that, locking users to graphical desktop. Any ideas - maybe that "kiosk" or Matchbox, but I'm pretty short of time right now.
Thanks!
Haven't had time to search a solution myself yet, I really appreciate your help!
What I have been busy with is ... you don't happen to know why shutdown/logout/reboot doesn't work?
In /home/linne/.icewm/preferences I have:
#Command to reboot the system
RebootCommand="/sbin/shutdown -r now"
From terminal, as user linne, '/sbin/shutdown -r now' works fine (shutdown is x for all, and suid)
so I believe menu-choice "Reboot" isn't properly related to that preferences-setting.
I added the same line to /etc/icewm/preferences too, no luck. I can't find where that menu-choice "Logout" is defined? Not in any text-file in /etc/icewm /usr/share/icewm /home/linne/.icewm
Maybe I'll do a quick fix, just add a menuentry with these commands...
If you have something in this, the command is run instead of the normal icewm logout procedure. So, if the command does not kill icewm, it disables logout. Shutdown and reboot do a logout first, so they get disabled as well.
This looks like a bug or misfeature. It would be more logical to use the exit status of LogoutCommand to decide whether or not to quit icewm.
I did change that, tried both "logout" and "exit", but didn't disable it...
Anyway, I fixed it by removing "Logout" from menu and write my own menu-entry.
Now it runs as I want, a nice Debian-picture on the only desktop, one application plus logout on menu.
These 3 computers are running W2K until now, they haven't worked well at all. So the library-staff will be pleased!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.