Tag Info

Hot answers tagged

11

Here are some points you could start with: Have a look at the packages installed on your system with pacman -Q and remove the ones you don't need. A good start may be to append the -t switch: Restrict or filter output to packages not required by any currently installed package. Clean the package cache of pacman with pacman -Sc Always use pacman ...


6

Edit ~/.config/openbox/lxde-rc.xml with your favorite text editor and then, within the existing <keyboard> element, add the following lines: <keybind key="Print"> <action name="Execute"> <command>scrot</command> </action> </keybind> Use the openbox --reconfigure command to use the new settings. ...


4

I have used arandr, this utility allows to save a script configuring your two screens. (I know there is also the utilityxrandr but I have not used it.) I have added this script to my startup in fluxbox (I don't know where to put it for openbox) so each time a session is started, my two monitors get configured. I don't understand what you mean with desktop ...


4

I think you would be better off just removing libnotify and notify-send from the equation, given your stated requirements they do not provide any additional flexibility of functionality. If you are looking for a minimal status bar, conky has a comprehensive amount of functionality, all of which can be updated in real time (depending upon how resource ...


4

Are you actually asking about having 'desktop icons', because it seems to be the situation. I'll go with the assumption that you want 'desktop' style icons, and still use the *box style right click menu. Yes it is possible, and some good guides already exist. Although Fluxbox is different from Openbox, the minimal environment is similar. The are quality ...


4

The simplest is slock, the suckless screen locker. You could combine this with xautolock if you wanted to automate it after a period of inactivity. If you want something more "featurefull" you could install xscreensaver. Of course, gnome-screensaver is an option as well...


3

Almost certainly feh is loading the background, then something else is resetting the X background during the rest of the startup process. I suspect this has to do with the fact that you are firing up the gnome-settings-daemon. This starts a whopping chain of things that will include setting the background and other desktop settings like font rendering. You ...


3

(I assume you mean after a certain amount of time with no activity) slock doesn't have that capability built-in; you have to use another tool that watches X and tracks how long there's been no activity. For example, using xautolock with a delay of 15 minutes: $ xautolock -time 15 -locker slock


3

Alt+Space, x is the default shortcut for maximize/unmaximize in most window managers. Does that work? Or maybe it's Alt+F6 and Alt+F7 as suggested in the Actions Documentation. If not, you can add a binding using the information in the Openbox Bindings Documentation, but it sounds like you can only set shortcuts for all windows, not just for one program. ...


3

As far as I can tell, adding these lines to ~/.config/openbox/autostart should work. Unfortunately, I don't have openbox installed so I can't check. However, I can tell you why it does not work with ~/.xinitrc. ~/.xinitrc is only read when you are launching X manually from a tty using startx or xinit (see here). When you log in from a graphical loigin ...


2

Xfree86 (http://www.xfree86.org/) includes "tiny" X servers in their build. I believe they are video-card-specific, in that there's an MGA server, and an ATI server, etc etc. No loadable modules. I have built XFree86 from source a coule of years ago (under Slackware 3.2!) but I don't think I tried the "tiny" servers to see if they worked. The rest of the ...


2

Have you tried Avant Window Navigator / AWN? It has the pinning feature you're after and does not require compositing although doesn't work well without it (for example you can't customise the theme). So far it's the best panel I've come across, mainly because of the pinning feature :)


2

In that case, I'd suggest using xbindkeys and wmctrl. I've googled for "wmctrl examples" and I found http://spiralofhope.com/wmctrl-examples.html#s12 So I added the following lines to my openbox configuration: <keybind key="C-F1"> <action name="Execute"> <execute>wmctrl -x uzbl-tabbed -a uzbl-tabbed.Uzbl-tabbed -b ...


2

If you are talking about icons in your panel (like tint2, for example), then you can use xseticon (there is a PKGBUILD in AUR). You can set an icon for an application like so: xseticon -id "$WINDOWID" path/to/icon.png


2

Like a user said in the comments, wmctrl hasn't been touched since October 2005. Its very possible that the featured worked at the time, and has since been made broken due to packages changing around it. Here's the wmctrl changelog


2

Here's the answer http://ubuntuforums.org/showthread.php?t=1920761&highlight=double+click It's a separate setting for java programs (netbeans for example). For that create a file called .Xresources and/or .Xdefaults. Add to both of them this line *.multiClickTime: 750. 750ms is the double click speed. You're welcome.


2

Why don't you just split it in the files you propose and then just cat them all together? cat rc-something.xml rc.keyboard.xml rc.mouse.xml > rc.xml The only problem is that you will need to cat them each time you modify one of the individual files, but that should be trivial..


2

I have implemented this function by using wmctrl. The relevant part in rc.xml of openbox: <keybind key="A-space"> <action name="execute"> <execute>wmctrl-switch-by-application</execute> </action> </keybind> below is the code in wmctrl-switch-by-application: # taken from: http://www.st0ne.at/?q=node/58 # get ...


2

Yeah... CrunchBang Linux uses .debs, not .rpms. Try the linux-headers-2.6-686 package or some variant thereof (e.g. linux-headers-2.6-amd64 on a 64-bit installation). And you don't actually need the source code, you just need the externally-visible headers. And beware 10-year-old instructions.


2

As warl0ck noted, LXDE uses openbox as the WM, so you may just have a problem in your configuration settings. Hopefully these LXDE file locations should get you back on course: The config files of LXPanel are stored in ~/.config/lxpanel/. Under LXDE, we use a different profile name - LXDE. So it's in ~/.config/lxpanel/LXDE. In this way, if you changed the ...


2

First off, why are you running X as root? That's a really bad idea considering all of the security implications. Secondly, binding a key to a script that outputs "ñ" is not the same as giving that to a program (on the contrary, it likely just goes straight to /dev/null). You need to look into using something like xdotool.


2

It looks like a badly configured X server. Try the following: Boot normally. When you are at the login screen hit Ctrl+Alt+F2 (or any other F1-6 key) to drop to a CLI login screen. Login as root and stop the Display Manager. If you are using gdm: service gdm stop Generate a default xorg.conf file and copy it to /etc/X11: Xorg -configure cp xorg.conf.new ...


2

Difficult to answer without seeing your .xinitrc, but assuming you're just calling the Openbox binary at the end, try this: exec /path/to/wm & WMPID=$! /path/to/tint2 --options & # other bits wait $WMPID I use dbus to launch my WindowManager these days because of all that tight systemd integration, the above works nicely too.


2

You should be able to disable PrntScr on the console with a custom keymap. I'm using Archlinux and the procedure is described here: Configuring the Console Keymap (it should be similar for other distros). Now, at step 4, edit your personal.map: Switch to a tty, run showkey and press PrntScr to get the key code. On my system the output is: keycode 99 press ...


1

There is already a file called /home/alessiomtx/.config/tint2, but it is not a directory. Maybe you meant to edit /home/alessiomtx/.config/tint2? If you really need a file called /home/alessiomtx/.config/tint2/tint2rc, move the existing file /home/alessiomtx/.config/tint2 out of the way. mv /home/alessiomtx/.config/tint2 /home/alessiomtx/.config/tint2.old ...


1

You can find key binding definitions here, And window actions here. An example here to set Ctrl + Shift + A for toggling window maxmize state: edit your ~/.config/openbox/rc.xml, put in these lines: <keybind key="C-S-a"> <action name="ToggleMaximize"> </action> </keybind>


1

I don't think openbox can do exactly that, at least not yet, but would a quake-like drop-down style terminal that you can show/hide with a hotkey be an acceptable subsitute? Some like Tilda, Yakuake, Guake, etc. are terminal emulators especially designed to have the quake-like ability. In addition (shameless plug), there's this little script that I wrote ...


1

By your description, it looks like the openbox package doesn't operate correctly if the menu package is not installed before it. The easy fix would be for it to Depend: on menu. As Openbox is a light-weight window manager intended for small systems that may not want menu, it would be better to fix Openbox's configuration. Please check whether you can ...


1

See this post. You have to modify /etc/xdg/openbox/rc.xml and "smartly" remove all the tags matching a "ShowMenu" command. This will completely disable the OpenBox menus (all of them), but you can adapt it to your needs, as the file contents are pretty intuitive. You can also modify a copy of this file under ~/.config/openbox/rc.xml to make the changes only ...


1

I've used dwm for a long time on my netbook. Its a tiling window manager written in about 2k lines of C. Configuration is done through rewriting config.h and making a changes here & there to suit your needs, build again and install. Its very very light weight. snapshot netbook attached on 22". Take a look at DWM showoff on Arch BBS. My Dwm config - ...



Only top voted, non community-wiki answers of a minimum length are eligible