[SOLVED] dmenu issue upgrading from wheezy to jessie

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
davenull
Riesenpenis
Posts: 30
Joined: Wed Apr 29, 2015 4:31 pm
Location: Taranto, Italia

[SOLVED] dmenu issue upgrading from wheezy to jessie

Unread post by davenull » Wed Apr 29, 2015 5:03 pm

hi, i don't know if this is the appropriate section, i'm a dwm and debian user, and i upgraded my debian wheezy to jessie and dwm stops to work...
the most problem is dmenu, when i type ALT+P dmenu doesn't open...

i thought that was an upgrade problem, and i reinstalled debian jessie from netinst ISO.

typically i do a normal ncurses netinstall and at the and of the installer i select only the base system. after that i install all the components that i need (sudo, lshw, alsa-base, alsa-oss, moc, make, gcc, g++, git, git-core, ecc...) and i proceed to install the dwm dependences in this way:

Code: Select all

# apt-get install xorg build-essential libxinerama-dev libx11-dev libxft-dev git git-core suckless-tools gpm
then i download the dwm source typing:

Code: Select all

$ git clone http://git.suckless.org/dwm
$ cd dwm
$ cp config.def.h config.h
$ make
# make clean install
i create this .xinitrc file in the home's user directory:

Code: Select all

xset s off &
xset -dpms &
exec dwm
i add this line to /etc/default/keyboard (usefull to close xorg)

Code: Select all

XKBOPTIONS="terminate:ctrl_alt_bksp"
and finally i can type startx from user session... ok dwm can run, but i have the same's upgrade problem: dmenu doesn't work!!! :'(

i tried to replace systemd with our beloved sysvinit, but i have the same problem...

if i close xorg i don't find any error... how can i do??? help please... :'( :'( :'(

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: dwm issue upgrading from wheezy to jessie

Unread post by GekkoP » Wed Apr 29, 2015 5:15 pm

So, is the issue with dwm or dmenu? Because topic title says "dwm", but then you're saying that dmenu is the problem. I'm confused. :)

Is ALT+P bound to dmenu_run?

For instance, this how I setup dmenu in ratpoison:

Code: Select all

definekey top s-p	exec dmenu_run -fn "-*-termsyn-medium-r-*-*-13-*-*-*-*-*-*-*" -nb "#073642" -nf "#FDF6E3" -sb "#EEE8D5" -sf "#657B83"
/
moved to support section

User avatar
davenull
Riesenpenis
Posts: 30
Joined: Wed Apr 29, 2015 4:31 pm
Location: Taranto, Italia

Re: dwm issue upgrading from wheezy to jessie

Unread post by davenull » Wed Apr 29, 2015 5:22 pm

GekkoP wrote:So, is the issue with dwm or dmenu? Because topic title says "dwm", but then you're saying that dmenu is the problem. I'm confused. :)

Is ALT+P bound to dmenu_run?
yes, i was wrong, the real problem is dmenu on dwm... yes the dwm's default command to call dmenu is ALT+P.
i think that is an issue with debian suckless-tools, because if i type SHIFT+ALT+ENTER doesn't open st terminal...

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: dwm issue upgrading from wheezy to jessie

Unread post by GekkoP » Wed Apr 29, 2015 5:22 pm

What happens if you try running dmenu_run from a terminal?

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: dwm issue upgrading from wheezy to jessie

Unread post by GekkoP » Wed Apr 29, 2015 5:24 pm

Be aware that in jessie suckless-tools does not include st: https://packages.debian.org/jessie/suckless-tools

User avatar
davenull
Riesenpenis
Posts: 30
Joined: Wed Apr 29, 2015 4:31 pm
Location: Taranto, Italia

Re: dwm issue upgrading from wheezy to jessie

Unread post by davenull » Wed Apr 29, 2015 5:28 pm

i can't open a terminal in dwm with this issue... i can type only the view shortcuts (monocle, tiled and floating)... the same dwm works on debian wheezy... i tried to use the dwm in the jessie repository but i have the same problem...

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: dwm issue upgrading from wheezy to jessie

Unread post by GekkoP » Wed Apr 29, 2015 5:30 pm

^ Read what I wrote above. In Jessie suckless-tools does not include st.

Try:

Code: Select all

sudo apt-get install stterm
before starting X.

User avatar
davenull
Riesenpenis
Posts: 30
Joined: Wed Apr 29, 2015 4:31 pm
Location: Taranto, Italia

Re: dwm issue upgrading from wheezy to jessie

Unread post by davenull » Wed Apr 29, 2015 5:37 pm

GekkoP wrote:Be aware that in jessie suckless-tools does not include st: https://packages.debian.org/jessie/suckless-tools
WOOOOOOOOOOOOOOOOW THANX A LOT!!!! (sorry for the caps lock)
i removed the jessie's suckless-tools and i installed the wheezy's and all work fine!!! :D

THANX THANX THANX!!! :)

you can mark this topic as solved! :)

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: dwm issue upgrading from wheezy to jessie

Unread post by GekkoP » Wed Apr 29, 2015 5:38 pm

Glad everything's solved.

User avatar
davenull
Riesenpenis
Posts: 30
Joined: Wed Apr 29, 2015 4:31 pm
Location: Taranto, Italia

Re: [SOLVED] dmenu issue upgrading from wheezy to jessie

Unread post by davenull » Wed Apr 29, 2015 5:44 pm

i suggest to mark as hold the suckless-tools after the downgrade typing:

Code: Select all

# apt-mark hold suckless-tools

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: [SOLVED] dmenu issue upgrading from wheezy to jessie

Unread post by GekkoP » Wed Apr 29, 2015 5:50 pm

^ Well, yes, but one can also build st from source just as you did with dwm, I suppose :)

User avatar
davenull
Riesenpenis
Posts: 30
Joined: Wed Apr 29, 2015 4:31 pm
Location: Taranto, Italia

Re: [SOLVED] dmenu issue upgrading from wheezy to jessie

Unread post by davenull » Wed Apr 29, 2015 5:56 pm

GekkoP wrote:^ Well, yes, but one can also build st from source just as you did with dwm, I suppose :)
i tried to install stterm and i created a symlink to it:

Code: Select all

# apt-get install stterm
# cd /usr/bin
# ln -s /usr/bin/stterm st
but there is the same issue... booooohhh!!! :D
with the wheezy's suckless-tools all work fine!!! :)

User avatar
stark
MILF
Posts: 521
Joined: Sat Sep 27, 2014 6:38 pm
Location: Arpanet
Contact:

Re: [SOLVED] dmenu issue upgrading from wheezy to jessie

Unread post by stark » Wed Apr 29, 2015 6:55 pm

I know the thread title says [SOLVED] but for future reference, dwm's default config.h's dmenu command is a bit whacky so replace it with the following:

Code: Select all

static const char *dmenucmd[] = { "dmenu_run", "-p", ">", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
Also please consider using the Super / Windows / MOD4 key as your primary modkey :)
So change this:

Code: Select all

#define MODKEY Mod1Mask
To this:

Code: Select all

#define MODKEY Mod4Mask
Last edited by stark on Thu Apr 30, 2015 6:45 am, edited 1 time in total.
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: [SOLVED] dmenu issue upgrading from wheezy to jessie

Unread post by rhowaldt » Wed Apr 29, 2015 7:41 pm

on top of all that, davenull: Y U NO MAKE INTROTHREAD!?
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
davenull
Riesenpenis
Posts: 30
Joined: Wed Apr 29, 2015 4:31 pm
Location: Taranto, Italia

Re: [SOLVED] dmenu issue upgrading from wheezy to jessie

Unread post by davenull » Wed Apr 29, 2015 8:41 pm

rhowaldt wrote:on top of all that, davenull: Y U NO MAKE INTROTHREAD!?
i don't understand your question... thanx @stark i will try your suggestion :)

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: [SOLVED] dmenu issue upgrading from wheezy to jessie

Unread post by rhowaldt » Wed Apr 29, 2015 8:51 pm

^ introthread. a thread where you introduce yourself to the community. you would make it in the /dev/null subforum. tell a bit about yourself. this is a BBQ, so instead of having some people hang around who we don't really know, it's much nicer to get to know eachother a bit, no?
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
davenull
Riesenpenis
Posts: 30
Joined: Wed Apr 29, 2015 4:31 pm
Location: Taranto, Italia

Re: [SOLVED] dmenu issue upgrading from wheezy to jessie

Unread post by davenull » Wed Apr 29, 2015 9:22 pm

rhowaldt wrote:^ introthread. a thread where you introduce yourself to the community. you would make it in the /dev/null subforum. tell a bit about yourself. this is a BBQ, so instead of having some people hang around who we don't really know, it's much nicer to get to know eachother a bit, no?
oh yes, you're right!!! :) i thought that /dev/null was the forum's recycle bin!!! :D

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: [SOLVED] dmenu issue upgrading from wheezy to jessie

Unread post by rhowaldt » Wed Apr 29, 2015 9:54 pm

^ that's /tmp/dumpster :D

however, there is something close to it inside /dev/null, which is another thread in there called /dev/null, which is basically for all the shit you need to say, whatever the fuck it is, that has no other useful place on the forums, and is just random shit you wanna post and that can go down the dumpster after that :)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

Post Reply