Image will say all:

When I maximize emacs in GNOME, KDE or other DE, I has this strange line at side of emacs window. How I could remove that line?
PS. In windowed mode all ok with any emacs window size.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t think you can.
This is due to the character-driven nature of the Emacs interface (even when windowed). Basically, the main view’s width can only vary by full character width increments, not pixel-by-pixel.
When the window is maximized, the view expands to as much multiples of the character width as it can (counting space allocated for the newline margins on the left and the right), and the remaining pixels are left as free space (the band on the right you want to get rid of).