Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Bspwm on Debian

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

[SOLVED] Bspwm on Debian

#1 Post by pawRoot »

I decided to give bspwm a try but when i run startx
there is black screen and no mouse.

I know black screen is ok but no mouse worries me.

Do i need config files or it should work anyway?

All i installed is xorg and bspwm from deb repos.
Last edited by pawRoot on 2018-01-14 10:33, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Bspwm on Debian

#2 Post by Head_on_a_Stick »

Add this line to your ~/.config/bspwm/bspwmrc:

Code: Select all

xsetroot -cursor_name left_ptr
Here's my old file: https://github.com/Head-on-a-Stick/conf ... spwmrc#L29
deadbang

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: Bspwm on Debian

#3 Post by pawRoot »

Still the same (i copied your config).

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Bspwm on Debian

#4 Post by debiman »

pawRoot wrote:Still the same
this is not a valid reply.
additional information is required.

________________________________________

i see you opened quite a few new threads about all sorts of system customisations/modifications, and it seems most of them remain unsolved.
it seems like you drop everything as soon as it doesn't "Just Work".
i suggest you stay with one thing long enough to wrap your head around it.

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: Bspwm on Debian

#5 Post by pawRoot »

debiman wrote: this is not a valid reply.
additional information is required.
Like what kind of informations?
debiman wrote: it seems like you drop everything as soon as it doesn't "Just Work".
Can you give me example

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: Bspwm on Debian

#6 Post by pawRoot »

Ok i solved it by copying example config files and adding

Code: Select all

xsetroot -cursor_name left_ptr
to bspwmrc.
Thanks HOAS.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

Re: [SOLVED] Bspwm on Debian

#7 Post by None1975 »

Did you read bspwm for dummies? Did you?
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: [SOLVED] Bspwm on Debian

#8 Post by pawRoot »

None1975 wrote:Did you read bspwm for dummies? Did you?
Did you read my first post?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Bspwm on Debian

#9 Post by Head_on_a_Stick »

Just for the record:
pawRoot wrote:(i copied your config).
^ I think this didn't work because bspwmrc needs to be executable:

Code: Select all

chmod +x ~/.config/bspwm/bspwmrc
The example file already has this set, which is why that worked for you.
deadbang

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: [SOLVED] Bspwm on Debian

#10 Post by pawRoot »

I also think so, but the point is that at the beggining i thought it will be like with Openbox or i3, meaning that it will work without copying config files, basically doing anything.
Thats why i asked that in first post.

Anyway this is needed to make the mouse work

Code: Select all

xsetroot -cursor_name left_ptr

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

Re: Bspwm on Debian

#11 Post by None1975 »

Head_on_a_Stick wrote:^ I think this didn't work because bspwmrc needs to be executable:
Do not be afraid of him. He has not even read bspwm for dummies. If he had read, he would not ask the dumb questions.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: [SOLVED] Bspwm on Debian

#12 Post by pawRoot »

Or maybe you are dumb if you can't read with understanding, i thought it's gonna work without copying configs same as Openbox or i3.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: [SOLVED] Bspwm on Debian

#13 Post by GarryRicketson »

Yes, but if you had read even a little documentation first, you would have seen
it is not at all like OpenBox. I thought about installing 'bspwm' but after I read
some of the documentation I changed my mind, to complicated for me.

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: [SOLVED] Bspwm on Debian

#14 Post by pawRoot »

GarryRicketson wrote:Yes, but if you had read even a little documentation first, you would have seen
it is not at all like OpenBox. I thought about installing 'bspwm' but after I read
some of the documentation I changed my mind, to complicated for me.
I did and it doesnt state anywhere that you have to do these things, same as it doesnt in Openbox docs.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: [SOLVED] Bspwm on Debian

#15 Post by GarryRicketson »

It is pointless to argue with you,
None1975 wrote:Did you read bspwm for dummies? Did you?
The tutorial mentioned by None1975, does go into the details, about what is involved in installing it.

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: [SOLVED] Bspwm on Debian

#16 Post by pawRoot »

Then don't argue 8)

LiamF
Posts: 11
Joined: 2018-08-06 10:54

Re: [SOLVED] Bspwm on Debian

#17 Post by LiamF »

I think the problem here is that bspwm is [now] a Debian package. Anyone can quickly install it via apt-get and that is that. Being such an easy install, there's an expectation that it will also be "easy to run." On the package's page, there's no documentation to even hint that bspwm isn't functional "out of the box." When you do a web search for setting up bspwm, you get a lot of pages dedicated to downloading sources, building, and performing a manual install. This is very off-putting for anyone - regardless of Linux experience - who expected the WM to be a simple "atp install" and go ... like i3.

That said, the aforementioned "bspwm for dummies" is ... informative ... but lacking any guidance for the installed-by-package user. I, too, installed bspwm via apt-get and likewise got a "blank screen" on startup. That led to a web search frenzy. Eventually I found this thread which led me to the "... dummie" page. What's a panel? Why am I being told to download a lot of stuff with git - xdo, sutils, xtitle, bar ... ? Three of those are also Debian packages no longer requiring download/build/install. The article also tells me to copy RC files from example directories without any explanation. A quick peek inside bspwm/examples/bspwmrc shows things like Gimp, Chromium, mplayer2, Kupfer.py ... what's that all about? (Yes; I know what these things are; I don't have them installed. My point is, I'm being told to install someone else's config without the slightest explanation.)

So now I find myself struggling to piece together a working bspwm setup with bits o' information culled from "... dummies" as well as https://github.com/baskerville/bspwm where the latter's most insightful note was "It only responds to X events ..." and "... bspwm doesn't handle any keyboard or pointer inputs ... sxhkd ... is needed ..."

So while I greatly appreciate Joseph George's efforts with "... dummies," there are a lot of assumptions made in the document with details that are confusing - nay, pointless - for a person who installed bspwm as a package.
I understand the OP's frustration.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: [SOLVED] Bspwm on Debian

#18 Post by debiman »

^ well said, and welcome to fdn!
yes, a window manager does very little by definition - it manages windows, nothing else.
the fact that many window managers take on other tasks as well can be misleading (e.g. thinking that the keyboard/mouse actions are somehow part of the window managing).

Post Reply